Commit 80e583fd authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_pdm: update supply_line_interaction_workflow/SupplyLine_updateBasePriceCellRange

parent c396458f
supply_line = state_change['object']
price_parameter = 'base_price'
if supply_line.getIsSlicedBasePrice():
price_parameter = 'sliced_base_price'
else:
price_parameter = 'base_price'
base_id = 'path'
supply_line.updateQuantityPredicate(price_parameter)
supply_line.updateCellRange(base_id=base_id)
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