Commit ed2a0f7d authored by Łukasz Nowak's avatar Łukasz Nowak

- since Simulation Movements related to Trade Condition (and Trade Model...

 - since Simulation Movements related to Trade Condition (and Trade Model Lines) are delivered, changing Trade Condition (with different Trade Model Lines values) on Invoice built from simulation diverges Invoice


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28764 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fe4fd4bb
...@@ -1865,7 +1865,7 @@ class TestTradeModelLine(TestTradeModelLineMixin): ...@@ -1865,7 +1865,7 @@ class TestTradeModelLine(TestTradeModelLineMixin):
sequence_list.play(self, quiet=True) sequence_list.play(self, quiet=True)
def test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition(self): def test_TradeModelRuleSimulationBuildInvoiceNewTradeCondition(self):
"""Check that after changing trade condition invoice is not diverged""" """Check that after changing trade condition invoice is diverged"""
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.TRADE_MODEL_RULE_SIMULATION_SEQUENCE_STRING sequence_string = self.TRADE_MODEL_RULE_SIMULATION_SEQUENCE_STRING
sequence_string += """ sequence_string += """
...@@ -1897,7 +1897,7 @@ class TestTradeModelLine(TestTradeModelLineMixin): ...@@ -1897,7 +1897,7 @@ class TestTradeModelLine(TestTradeModelLineMixin):
SpecialiseInvoiceTradeCondition SpecialiseInvoiceTradeCondition
Tic Tic
CheckInvoiceCausalityStateSolved CheckInvoiceCausalityStateDiverged
""" """
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self, quiet=True) sequence_list.play(self, quiet=True)
......
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