changeset c5e85c4b1fac in modules/stock_package_shipping:default
details:
https://hg.tryton.org/modules/stock_package_shipping?cmd=changeset;node=c5e85c4b1fac
description:
Add expand on tree view
and unify layout of form view.
issue8644
review262131002
diffstat:
view/carrier_tree.xml | 2 +-
view/package_list.xml | 4 ++--
view/shipment_out_form.xml | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r f0f99b47526e -r c5e85c4b1fac view/carrier_tree.xml
--- a/view/carrier_tree.xml Fri Aug 09 16:40:52 2019 +0200
+++ b/view/carrier_tree.xml Sat Sep 28 23:59:10 2019 +0200
@@ -3,6 +3,6 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="/tree/field[@name='party']" position="after">
- <field name="shipping_service"/>
+ <field name="shipping_service" expand="1"/>
</xpath>
</data>
diff -r f0f99b47526e -r c5e85c4b1fac view/package_list.xml
--- a/view/package_list.xml Fri Aug 09 16:40:52 2019 +0200
+++ b/view/package_list.xml Sat Sep 28 23:59:10 2019 +0200
@@ -2,7 +2,7 @@
<!-- 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="/tree/field[@name='rec_name']" position="after">
- <field name="shipping_reference"/>
+ <xpath expr="/tree/field[@name='type']" position="after">
+ <field name="shipping_reference" expand="1"/>
</xpath>
</data>
diff -r f0f99b47526e -r c5e85c4b1fac view/shipment_out_form.xml
--- a/view/shipment_out_form.xml Fri Aug 09 16:40:52 2019 +0200
+++ b/view/shipment_out_form.xml Sat Sep 28 23:59:10 2019 +0200
@@ -2,11 +2,11 @@
<!-- 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/page[@id='outgoing_moves']/field[@name='root_packages']"
- position="after">
+ <xpath expr="//group[@id='cost']" position="after">
<label name="shipping_description"/>
- <field name="shipping_description"/>
+ <field name="shipping_description" colspan="3"/>
+ </xpath>
+ <xpath expr="//group[@id='buttons']" position="inside">
<button name="create_shipping"/>
</xpath>
</data>