Commit 59d48695 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

if delivery_mode, incoterm or payment_mode is defined in Trade Model Path, we...

if delivery_mode, incoterm or payment_mode is defined in Trade Model Path, we just use it and should not care one that is stored in input movement.
parent 13cdbce4
......@@ -769,7 +769,7 @@ class BusinessProcess(Path, XMLObject):
for base_category in ('delivery_mode', 'incoterm', 'payment_mode'):
value = trade_model_path.getPropertyList(base_category)
if len(value) > 0:
property_dict[base_category] = amount.getPropertyList(base_category) + value
property_dict[base_category] = amount.getPropertyList(base_category)
# Amount quantities - XXX-JPS maybe we should consider handling unit conversions here
# and specifying units
......
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