Commit 4e9ef4f7 authored by Jérome Perrin's avatar Jérome Perrin

reset base unit price when reseting price

parent 6b7cf491
......@@ -59,7 +59,7 @@ portal_type_list = portal.getPortalInvoiceMovementTypeList() \\\n
+ portal.getPortalOrderMovementTypeList() \\\n
+ portal.getPortalDeliveryMovementTypeList()\n
for movement in context.getMovementList(portal_type=portal_type_list):\n
movement.edit(price=None)\n
movement.edit(price=None, base_unit_price=None)\n
\n
if not batch_mode:\n
message = context.Base_translateString(\'Prices reset.\')\n
......
1172
\ No newline at end of file
1173
\ 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