Commit 1f70bb5e authored by Łukasz Nowak's avatar Łukasz Nowak

- as Trade Model Rule is present in simulation tree add it to test's dictionary


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27885 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16c8b75e
...@@ -2411,12 +2411,16 @@ class TestSaleInvoiceMixin(TestInvoiceMixin, ...@@ -2411,12 +2411,16 @@ class TestSaleInvoiceMixin(TestInvoiceMixin,
}, },
'Invoicing Rule': { 'Invoicing Rule': {
'movement_type_list': invoice.getPortalInvoiceMovementTypeList(), 'movement_type_list': invoice.getPortalInvoiceMovementTypeList(),
'next_rule_list': ['Invoice Transaction Rule', 'Trade Model Rule'],
},
'Trade Model Rule': {
'next_rule_list': ['Invoice Transaction Rule'], 'next_rule_list': ['Invoice Transaction Rule'],
}, },
'Invoice Rule': { 'Invoice Rule': {
'movement_type_list': invoice.getPortalInvoiceMovementTypeList() \ 'movement_type_list': invoice.getPortalInvoiceMovementTypeList() \
+ invoice.getPortalAccountingMovementTypeList(), + invoice.getPortalAccountingMovementTypeList(),
'next_rule_list': ['Invoice Transaction Rule', 'Payment Rule'], 'next_rule_list': ['Invoice Transaction Rule', 'Payment Rule',
'Trade Model Rule'],
}, },
'Invoice Transaction Rule': { 'Invoice Transaction Rule': {
'parent_movement_type_list': invoice.getPortalInvoiceMovementTypeList(), 'parent_movement_type_list': invoice.getPortalInvoiceMovementTypeList(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment