Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
4a161b7e by Sergio Hervas at 2023-02-13T14:30:29+01:00
Display and order by planned date when searching incoming moves from supplier
shipment
Closes #12060
- - - - -
2 changed files:
- modules/stock/shipment.py
- modules/stock/view/move_list_shipment_in.xml
Changes:
=====================================
modules/stock/shipment.py
=====================================
@@ -215,6 +215,10 @@
[Eval('warehouse_input', -1)], 'parent'),
('to_location', '=', Eval('warehouse_input'))),
],
+ search_order=[
+ ('planned_date', 'ASC NULLS LAST'),
+ ('id', 'ASC')
+ ],
domain=[
If(Eval('state') == 'draft',
('from_location', '=', Eval('supplier_location')),
=====================================
modules/stock/view/move_list_shipment_in.xml
=====================================
@@ -3,6 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<tree>
<field name="shipment" expand="2"/>
+ <field name="planned_date" optional="0"/>
<field name="from_location" expand="1"/>
<field name="product" expand="2"/>
<field name="quantity" symbol="uom"/>
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/4a161b7ee5dae4a5dbf0e5ca79598cd7c975b6d0
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/4a161b7ee5dae4a5dbf0e5ca79598cd7c975b6d0
You're receiving this email because of your account on foss.heptapod.net.