[Erp5-report] r27885 - /erp5/trunk/products/ERP5/tests/testInvoice.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 3 09:13:52 CEST 2009
Author: luke
Date: Fri Jul 3 09:13:46 2009
New Revision: 27885
URL: http://svn.erp5.org?rev=27885&view=rev
Log:
- as Trade Model Rule is present in simulation tree add it to test's dictionary
Modified:
erp5/trunk/products/ERP5/tests/testInvoice.py
Modified: erp5/trunk/products/ERP5/tests/testInvoice.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvoice.py?rev=27885&r1=27884&r2=27885&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInvoice.py [utf8] Fri Jul 3 09:13:46 2009
@@ -2411,12 +2411,16 @@
},
'Invoicing Rule': {
'movement_type_list': invoice.getPortalInvoiceMovementTypeList(),
+ 'next_rule_list': ['Invoice Transaction Rule', 'Trade Model Rule'],
+ },
+ 'Trade Model Rule': {
'next_rule_list': ['Invoice Transaction Rule'],
},
'Invoice Rule': {
'movement_type_list': invoice.getPortalInvoiceMovementTypeList() \
+ invoice.getPortalAccountingMovementTypeList(),
- 'next_rule_list': ['Invoice Transaction Rule', 'Payment Rule'],
+ 'next_rule_list': ['Invoice Transaction Rule', 'Payment Rule',
+ 'Trade Model Rule'],
},
'Invoice Transaction Rule': {
'parent_movement_type_list': invoice.getPortalInvoiceMovementTypeList(),
More information about the Erp5-report
mailing list