[Erp5-dev] TaskConstraint proposition
Romain Courteaud
romain at nexedi.com
Mon May 19 18:21:37 CEST 2008
* Mikolaj Antoszkiewicz [2008-05-19 12:43:01 +0200]:
> >
> > 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?
>
> And check each line's consistency on the workflow script level, right?
> That is in the script that conducts consistency check for the Task.
The checkConsistency method is called automatically on Task Lines.
>
> Well, I used T which was to mean T(ranslate), and I couldn't find the
> convention about that.
> Why N_ then?
Because of:
http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/ERP5Site_getToBeTranslatedMessageListFromEntireSystemAsPot.xml
But, as Jean-Paul said, it is better to use 'translateString' variable.
Regards,
Romain
More information about the Erp5-dev
mailing list