Skip to content
Snippets Groups Projects
Commit 49c8351f authored by nouraellm's avatar nouraellm
Browse files

[FIX] stock: fix todo filter for product moves


Steps to reproduce:
- Create a transfer and choose whatever operation
- Enable detailed operations option for the operation
- Check availability and set quantities
- Cancel the transfer then Go to Product Moves

Current behavior:
- todo filter is broken, it shows canceled moves

Desired behavior:
- Show only moves that are assigned or waiting

- Task id: #2981249

closes odoo/odoo#100265

Signed-off-by: default avatarTiffany Chang <tic@odoo.com>
parent b8391031
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@
<field name="location_id" string="Source Location" groups="stock.group_stock_multi_locations"/>
<field name="location_dest_id" string="Destination Location" groups="stock.group_stock_multi_locations"/>
<separator/>
<filter string="To Do" name="todo" domain="[('state', 'not in', ['done', 'draft'])]"/>
<filter string="To Do" name="todo" domain="[('state', 'not in', ['done', 'draft', 'cancel'])]"/>
<filter string="Done" name="done" domain="[('state', '=', 'done')]"/>
<separator/>
<filter string="Incoming" name="incoming" domain="[('picking_id.picking_type_id.code', '=', 'incoming')]"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment