Commit 948528a9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we don't use order category in the top level applied rule.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e5cb4788
...@@ -1090,8 +1090,8 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): ...@@ -1090,8 +1090,8 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
# movement linked to an invoice line # movement linked to an invoice line
invoice_line_simulation_movement_list = [] invoice_line_simulation_movement_list = []
for simulation_movement in simulation_movement_list : for simulation_movement in simulation_movement_list :
self.assertNotEquals(simulation_movement.getOrderValue(), None) self.assertNotEquals(simulation_movement.getDeliveryValue(), None)
if simulation_movement.getOrderValue().getPortalType() == \ if simulation_movement.getDeliveryValue().getPortalType() == \
self.invoice_line_portal_type : self.invoice_line_portal_type :
invoice_line_simulation_movement_list.append(simulation_movement) invoice_line_simulation_movement_list.append(simulation_movement)
...@@ -1500,11 +1500,6 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase): ...@@ -1500,11 +1500,6 @@ class TestAccountingRules(TestAccountingRulesMixin, ERP5TypeTestCase):
simulation_movement.getDestinationSection() simulation_movement.getDestinationSection()
) )
self.assertEquals(
invoice_line.getRelativeUrl(),
simulation_movement.getOrder()
)
self.assertEquals( self.assertEquals(
invoice_line.getRelativeUrl(), invoice_line.getRelativeUrl(),
simulation_movement.getDelivery() simulation_movement.getDelivery()
......
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