Commit 11ead93e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a mistake in the previous commit 59d48695.

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 d22251af
......@@ -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)
property_dict[base_category] = value
# 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