Commit e9cd5a7e authored by Jérome Perrin's avatar Jérome Perrin

don't set properties on the first model, to make sure properties are really

acquired from the hierarchy.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20980 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4d53bc8a
...@@ -1293,9 +1293,6 @@ class TestPayroll(TestPayrollMixin): ...@@ -1293,9 +1293,6 @@ class TestPayroll(TestPayrollMixin):
# model hierarchy # model hierarchy
other_model = self.portal.paysheet_model_module.newContent( other_model = self.portal.paysheet_model_module.newContent(
portal_type='Pay Sheet Model', portal_type='Pay Sheet Model',
source_section_value=employee,
destination_section_value=employer,
price_currency_value=eur,
specialise_value=model) specialise_value=model)
paysheet = self.portal.accounting_module.newContent( paysheet = self.portal.accounting_module.newContent(
portal_type='Pay Sheet Transaction', portal_type='Pay Sheet Transaction',
......
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