[Erp5-dev] TaskConstraint proposition

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Wed May 21 14:19:10 CEST 2008



Romain Courteaud wrote:
> * Mikolaj Antoszkiewicz [2008-05-16 19:18:47 +0200]:
> 
> 
>> TaskLineCategoryExistence constraint class handles the more complicated 
>> check for existence of specific category ('reference' in our case) on 
>> all contained Task Lines.
> 
> I don't understand why such Constraint class is required.
> It seems easier to configure a PropertySheet on the Task Line Level
> which uses CategoryExistence constraint, isn't it?
> 
Ok, Somehow I missed the fact that lines get consistency check along 
with parent object.
But now I'm attaching the two fixed Constraint Property Sheets.

Mikolaj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TaskConstraint.py
Type: text/x-python
Size: 3224 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080521/f5a9cd39/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TaskLineConstraint.py
Type: text/x-python
Size: 1803 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080521/f5a9cd39/attachment-0001.py>


More information about the Erp5-dev mailing list