Commit c5a0ebc0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

legacy Payment Rule is not supposed to work. so assert with new Payment Simulation Rule only here.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32982 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5a8af852
...@@ -1228,7 +1228,7 @@ class TestInvoiceMixin(TestPackingListMixin, ...@@ -1228,7 +1228,7 @@ class TestInvoiceMixin(TestPackingListMixin,
'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 Simulation Rule',
'Trade Model Rule'], 'Trade Model Rule'],
}, },
'Invoice Transaction Rule': { 'Invoice Transaction Rule': {
......
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