[Erp5-dev] Conversion applied consistency class

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Thu May 29 16:16:12 CEST 2008



Łukasz Nowak wrote:
> Hello,
> 
> Long time ago, in not so far away galaxy we've got problem with
> accounting and unconverted transactions.[1]
> 
> Today we know, that using good combination of supported accounting
> simulation states in preferences, we are able to filter out
> transactions, which aren't converted.
> 
> To force users to do conversion, I've created ConversionApplied
> Constraint. Attached. Feel free to commit it to repository, if you like
> to.
> 
> Any comments welcome about this class.
> 
> BTW: Are there any guidelines about how to create best Constraints? Or
> which Constraint class from core is good to write such guideline?

There is a nice Interface ( 
http://svn.erp5.org/erp5/trunk/products/ERP5Type/Interface/Constraint.py?view=markup 
) which is a first reference, then there's a guide at 
http://www.erp5.org/HowToUseConstraints.

And I'm planning to write any day now a nice guide through existing 
Constraint Classes with examples :)

Mikolaj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080529/f22b9ccf/attachment.bin>


More information about the Erp5-dev mailing list