changeset 8f33a6161c08 in modules/sale_shipment_cost:default
details:
https://hg.tryton.org/modules/sale_shipment_cost?cmd=changeset;node=8f33a6161c08
description:
Add carrier on shipment list view
issue9995
review323031002
diffstat:
CHANGELOG | 1 +
stock.xml | 6 ++++++
view/shipment_out_list.xml | 8 ++++++++
3 files changed, 15 insertions(+), 0 deletions(-)
diffs (35 lines):
diff -r 4b76fc9b4b3e -r 8f33a6161c08 CHANGELOG
--- a/CHANGELOG Sun Jan 03 13:03:26 2021 +0100
+++ b/CHANGELOG Wed Feb 03 19:36:43 2021 +0100
@@ -1,3 +1,4 @@
+* Add carrier on shipment list view
* Exclude by default shipment cost from promotion amount
* Allow shipment cost price to be edited
diff -r 4b76fc9b4b3e -r 8f33a6161c08 stock.xml
--- a/stock.xml Sun Jan 03 13:03:26 2021 +0100
+++ b/stock.xml Wed Feb 03 19:36:43 2021 +0100
@@ -9,5 +9,11 @@
<field name="inherit" ref="stock.shipment_out_view_form"/>
<field name="name">shipment_out_form</field>
</record>
+
+ <record model="ir.ui.view" id="shipment_out_view_list">
+ <field name="model">stock.shipment.out</field>
+ <field name="inherit" ref="stock.shipment_out_view_tree"/>
+ <field name="name">shipment_out_list</field>
+ </record>
</data>
</tryton>
diff -r 4b76fc9b4b3e -r 8f33a6161c08 view/shipment_out_list.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/view/shipment_out_list.xml Wed Feb 03 19:36:43 2021 +0100
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!-- 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="//field[@name='delivery_address']" position="after">
+ <field name="carrier" expand="1"/>
+ </xpath>
+</data>