summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrakash Prajapati <ppr@odoo.com>2018-08-07 05:47:13 +0000
committerArnold Moyaux <arm@odoo.com>2018-11-26 10:39:07 +0000
commit4031227b548fb27283b2c7b68f0b018a5f7e6fc6 (patch)
tree72bb6af6e009ce1e45ce0da23981378897c3f25a
parent702317fbb87a3e4f3493d0cb6dc7b4093e81e201 (diff)
[IMP] stock: Show source and dest in list view of pickings
If multilocation is active then display 'source' location in tree views. Also in tree views rename the source location to 'From' and destination location to 'To' Task #1872294 Closes #26380
-rw-r--r--addons/stock/views/stock_picking_views.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/stock/views/stock_picking_views.xml b/addons/stock/views/stock_picking_views.xml
index 6cfb17a39e7..402cfeae420 100644
--- a/addons/stock/views/stock_picking_views.xml
+++ b/addons/stock/views/stock_picking_views.xml
@@ -183,7 +183,8 @@
<field name="arch" type="xml">
<tree decoration-info="state == 'draft'" decoration-muted="state == 'cancel'" decoration-danger="state not in ('cancel', 'done') and scheduled_date &lt; current_date" string="Picking list">
<field name="name"/>
- <field name="location_dest_id" groups="stock.group_stock_multi_locations"/>
+ <field name="location_id" string="From" groups="stock.group_stock_multi_locations"/>
+ <field name="location_dest_id" string="To" groups="stock.group_stock_multi_locations"/>
<field name="partner_id"/>
<field name="date" invisible="1"/>
<field name="scheduled_date"/>