diff --git a/modules/purchase_trade/purchase.py b/modules/purchase_trade/purchase.py
index 8f981e8..5156e7c 100755
--- a/modules/purchase_trade/purchase.py
+++ b/modules/purchase_trade/purchase.py
@@ -742,6 +742,10 @@ class Purchase(metaclass=PoolMeta):
route_to = getattr(
getattr(shipment, 'to_location', None),
'rec_name', None)
+ route_from = route_from or getattr(
+ getattr(self, 'from_location', None), 'rec_name', None)
+ route_to = route_to or getattr(
+ getattr(self, 'to_location', None), 'rec_name', None)
if route_from or route_to:
shipped_routes.append(
'%s > %s' % (route_from or '-', route_to or '-'))
@@ -765,6 +769,12 @@ class Purchase(metaclass=PoolMeta):
route_to = getattr(
getattr(shipment, 'to_location', None),
'rec_name', None)
+ route_from = route_from or getattr(
+ getattr(self, 'from_location', None),
+ 'rec_name', None)
+ route_to = route_to or getattr(
+ getattr(self, 'to_location', None),
+ 'rec_name', None)
if route_from or route_to:
shipped_routes.append(
'%s > %s' % (route_from or '-', route_to or '-'))
diff --git a/modules/purchase_trade/view/purchase_form.xml b/modules/purchase_trade/view/purchase_form.xml
index f29e982..16eba4f 100755
--- a/modules/purchase_trade/view/purchase_form.xml
+++ b/modules/purchase_trade/view/purchase_form.xml
@@ -79,18 +79,18 @@ this repository contains the full copyright notices and license terms. -->
+ col_widths="min-content,1fr,min-content,1fr,min-content,200px">
-
+
-
+
-
-
+ width="190" xexpand="0" xfill="0"/>
+
+