Add carrier on shipment list view

issue9995
review323031002
This commit is contained in:
Cédric Krier committed 2021-02-03 19:36:43 +01:00
1 parent 8ac82373ac
commit ce36f08654
3 files changed
+15

No files matched your search

+1
View File
@@ -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
+6
View File
@@ -9,5 +9,11 @@ this repository contains the full copyright notices and license terms. -->
<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>
+8
View File
@@ -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>