[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
This commit is contained in:
Prakash Prajapati
2018-11-26 10:39:07 +00:00
committed by Arnold Moyaux
parent 702317fbb8
commit 4031227b54
+2 -1
View File
@@ -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"/>