[FIX] stock: late pickings
With the demo data: - Go to Inventory - On the 'Delivery Order' Kanban card of YourCompany, click on 'Late' More pickings are displayed than the expected count. This is because the domain of the filter is not in line with the domain of `_compute_picking_count`. Closes #29777 opw-1951090 closes odoo/odoo#31994 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -354,7 +354,7 @@
|
||||
<filter name="confirmed" string="Confirmed" domain="[('state','in', ('confirmed', 'waiting', 'assigned'))]" help="Confirmed Moves"/>
|
||||
<filter name="done" string="Done" domain="[('state','=','done')]" help="Pickings already processed"/>
|
||||
<separator/>
|
||||
<filter name="late" string="Late" domain="[('scheduled_date','<', time.strftime('%%Y-%%m-%%d %%H:%%M:%%S'))]" help="Pickings that are late on scheduled time"/>
|
||||
<filter name="late" string="Late" domain="[('scheduled_date','<', time.strftime('%%Y-%%m-%%d %%H:%%M:%%S')), ('state', 'in', ('assigned', 'waiting', 'confirmed'))]" help="Pickings that are late on scheduled time"/>
|
||||
<separator/>
|
||||
<filter name="backorder" string="Backorders" domain="[('backorder_id','!=', False)]" help="Remaining parts of picking partially processed"/>
|
||||
<separator/>
|
||||
|
||||
Reference in New Issue
Block a user