Commit 68e63ad0 authored by Fabien Morin's avatar Fabien Morin

add resource on lines because we decide to use resource has key to compare and...

add resource on lines because we decide to use resource has key to compare and know if movement produced by
getAggregatedAmountList shall be updated or not


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50e9a9eb
...@@ -1140,6 +1140,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1140,6 +1140,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/tax', base_contribution='base_amount/tax',
trade_phase='default/discount', trade_phase='default/discount',
resource_value=service_discount, resource_value=service_discount,
reference='service_discount',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1156,6 +1157,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1156,6 +1157,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/tax', base_contribution='base_amount/tax',
trade_phase='default/discount', trade_phase='default/discount',
resource_value=service_discount, resource_value=service_discount,
reference='discount',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1171,6 +1173,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1171,6 +1173,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_application='base_amount/total_discount', base_application='base_amount/total_discount',
trade_phase='default/discount', trade_phase='default/discount',
resource_value=service_discount, resource_value=service_discount,
reference='total_discount',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1188,6 +1191,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1188,6 +1191,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/total_discount', base_contribution='base_amount/total_discount',
trade_phase='default/discount', trade_phase='default/discount',
resource_value=service_discount, resource_value=service_discount,
reference='total_dicount_2',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1203,6 +1207,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1203,6 +1207,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_application='base_amount/tax', base_application='base_amount/tax',
trade_phase='default/tax', trade_phase='default/tax',
resource_value=service_tax, resource_value=service_tax,
reference='tax_2',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1218,6 +1223,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1218,6 +1223,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_application='base_amount/tax', base_application='base_amount/tax',
trade_phase='default/tax', trade_phase='default/tax',
resource_value=service_tax, resource_value=service_tax,
reference='tax',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1234,6 +1240,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1234,6 +1240,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/total_discount', base_contribution='base_amount/total_discount',
trade_phase='default/tax', trade_phase='default/tax',
resource_value=service_tax, resource_value=service_tax,
reference='tax_3',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1251,6 +1258,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1251,6 +1258,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/total_tax', base_contribution='base_amount/total_tax',
trade_phase='default/tax', trade_phase='default/tax',
resource_value=service_tax, resource_value=service_tax,
reference='service_tax',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
...@@ -1268,6 +1276,7 @@ class TestBPMMixin(ERP5TypeTestCase): ...@@ -1268,6 +1276,7 @@ class TestBPMMixin(ERP5TypeTestCase):
base_contribution='base_amount/total_tax', base_contribution='base_amount/total_tax',
trade_phase='default/tax', trade_phase='default/tax',
resource_value=service_tax, resource_value=service_tax,
reference='service_tax_2',
) )
sequence.edit( sequence.edit(
trade_model_line = None, trade_model_line = None,
......
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