Commit 884646ef authored by Fabien Morin's avatar Fabien Morin

inverse share and slice on cell creation to be in the default order, and to not

use reverse() anymore


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18101 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b64ee894
......@@ -427,7 +427,7 @@ class TestPayrollMixin(ERP5TypeTestCase):
for slice in slice_list:
for share in share_list:
cell = model_line.newCell(\
slice, share, portal_type='Pay Sheet Cell', base_id='movement')
share, slice, portal_type='Pay Sheet Cell', base_id='movement')
cell.setMappedValuePropertyList(['quantity', 'price'])
amount = values[share_list.index(share)][slice_list.index(slice)][0]
percent = values[share_list.index(share)][slice_list.index(slice)][1]
......
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