changeset 8c76fa89a5fa in modules/sale_supply_drop_shipment:default
details:
https://hg.tryton.org/modules/sale_supply_drop_shipment?cmd=changeset;node=8c76fa89a5fa
description:
Use link for drop shipment
issue9051
diffstat:
view/purchase_form.xml | 6 ++----
view/sale_form.xml | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r a6c4c6f35ce3 -r 8c76fa89a5fa view/purchase_form.xml
--- a/view/purchase_form.xml Mon Apr 13 14:49:07 2020 +0200
+++ b/view/purchase_form.xml Mon Apr 13 15:38:07 2020 +0200
@@ -14,9 +14,7 @@
<label name="drop_location"/>
<field name="drop_location"/>
</xpath>
- <xpath
- expr="/form/notebook/page[@name='shipments']/field[@name='shipments']"
- position="after">
- <field name="drop_shipments" colspan="4"/>
+ <xpath expr="//group[@id='links']" position="inside">
+ <link icon="tryton-shipment-in"
name="sale_supply_drop_shipment.act_purchase_drop_shipment_form"/>
</xpath>
</data>
diff -r a6c4c6f35ce3 -r 8c76fa89a5fa view/sale_form.xml
--- a/view/sale_form.xml Mon Apr 13 14:49:07 2020 +0200
+++ b/view/sale_form.xml Mon Apr 13 15:38:07 2020 +0200
@@ -2,10 +2,8 @@
<!-- 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[@name='shipments']/field[@name='shipments']"
- position="after">
- <field name="drop_shipments" colspan="4" mode="tree"/>
+ <xpath expr="//group[@id='links']" position="inside">
+ <link icon="tryton-shipment-out"
name="sale_supply_drop_shipment.act_sale_drop_shipment_form"/>
</xpath>
<xpath
expr="/form/notebook/page[@id='other']/field[@name='shipment_method']"
position="after">