Commit f498e3bd authored by Sebastien Robin's avatar Sebastien Robin

make sur to copy the base price of the currency exchange line on all cells,...

make sur to copy the base price of the currency exchange line on all cells, like this we are sure that all predicates are well defined

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14415 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0586dbb5
...@@ -95,6 +95,8 @@ if cell_range_key_list != [[None, None]] :\n ...@@ -95,6 +95,8 @@ if cell_range_key_list != [[None, None]] :\n
category_list = category_list,\n category_list = category_list,\n
)\n )\n
c.setCriterion(\'stop_date\', min=context.getStartDate(), max=context.getStopDate())\n c.setCriterion(\'stop_date\', min=context.getStartDate(), max=context.getStopDate())\n
if c.getBasePrice() is None and context.getBasePrice() is not None:\n
c.setBasePrice(context.getBasePrice())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
113 114
\ No newline at end of file \ No newline at end of file
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