Łukasz Nowak
2008-05-29 12:38:59 UTC
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?
Regards,
Luke
[1]http://mail.nexedi.com/pipermail/erp5-dev/2007-September/001364.html
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConversionApplied.py
Type: text/x-python
Size: 2867 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080529/6e5cc10d/attachment.py>
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?
Regards,
Luke
[1]http://mail.nexedi.com/pipermail/erp5-dev/2007-September/001364.html
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConversionApplied.py
Type: text/x-python
Size: 2867 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080529/6e5cc10d/attachment.py>