[Erp5-report] r11639 - in /erp5/trunk/bt5/erp5_accounting: ActionTemplateItem/portal_types/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 7 16:20:41 CET 2006
Author: jerome
Date: Thu Dec 7 16:20:39 2006
New Revision: 11639
URL: http://svn.erp5.org?rev=11639&view=rev
Log:
The action to create a related payment transaction will always be available on invoices, unless a workflow manages this invoice's payment state.
Modified:
erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/create_related_payment.xml
erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_related_payment.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/create_related_payment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%2520Invoice%2520Transaction/create_related_payment.xml?rev=11639&r1=11638&r2=11639&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/create_related_payment.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Purchase%20Invoice%20Transaction/create_related_payment.xml Thu Dec 7 16:20:39 2006
@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python: not object.getCausalityRelatedValueList(portal_type=\'Payment Transaction\')</string> </value>
+ <value> <string>python: object.getProperty(\'payment_state\') != \'cleared\'</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_related_payment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Sale%2520Invoice%2520Transaction/create_related_payment.xml?rev=11639&r1=11638&r2=11639&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_related_payment.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/ActionTemplateItem/portal_types/Sale%20Invoice%20Transaction/create_related_payment.xml Thu Dec 7 16:20:39 2006
@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
- <value> <string>python: not object.getCausalityRelatedValueList(portal_type=\'Payment Transaction\')</string> </value>
+ <value> <string>python: object.getProperty(\'payment_state\') != \'cleared\'</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=11639&r1=11638&r2=11639&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Thu Dec 7 16:20:39 2006
@@ -1,1 +1,1 @@
-142
+143
More information about the Erp5-report
mailing list