changeset 656044ad2127 in modules/purchase_shipment_cost:default
details: 
https://hg.tryton.org/modules/purchase_shipment_cost?cmd=changeset&node=656044ad2127
description:
        Add carrier_carriage module

        issue11623
        review443451003
diffstat:

 view/shipment_in_form.xml |  18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r 0458bb9d0a2d -r 656044ad2127 view/shipment_in_form.xml
--- a/view/shipment_in_form.xml Thu Sep 01 22:26:46 2022 +0200
+++ b/view/shipment_in_form.xml Sat Sep 10 17:35:38 2022 +0200
@@ -2,14 +2,18 @@
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
 <data>
-    <xpath expr="/form/notebook" position="after">
+    <xpath expr="//field[@name='warehouse']" position="after">
         <label name="carrier"/>
         <field name="carrier"/>
-        <label name="cost_used"/>
-        <group id="costs" col="-1">
-            <field name="cost_used"/>
-            <field name="cost_currency_used"/>
-            <field name="cost_edit"/>
-        </group>
+    </xpath>
+    <xpath expr="//page[@id='other']" position="before">
+        <page id="costs" string="Costs">
+            <label name="cost_used"/>
+            <group id="cost_used" col="-1" colspan="3">
+                <field name="cost_used" xexpand="0"/>
+                <field name="cost_currency_used"/>
+                <field name="cost_edit" xexpand="0" xalign="0"/>
+            </group>
+        </page>
     </xpath>
 </data>

Reply via email to