Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/stock/models/stock_orderpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def _unlink_processed_orderpoints(self):
('qty_to_order', '<=', 0)
]
if self.ids:
expression.AND([domain, [('ids', 'in', self.ids)]])
domain = expression.AND([domain, [('id', 'in', self.ids)]])
orderpoints_to_remove = self.env['stock.warehouse.orderpoint'].with_context(active_test=False).search(domain)
# Remove previous automatically created orderpoint that has been refilled.
orderpoints_to_remove.unlink()
Expand Down
1 change: 1 addition & 0 deletions doc/cla/corporate/camptocamp.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Victor Vermot-Petit-Outhenin victor.vermot@camptocamp.com https://github.com/vic
Sarah Jallon sarah.jallon@camptocamp.com https://github.com/sarsurgithub
Ricardo Almeida Soares ricardo.almeidasoares@camptocamp.com https://github.com/ricardoalso
Italo Lopes italo.lopes@camptocamp.com https://github.com/imlopes
Paolo Yammouni paolo.yammouni@camptocamp.com https://github.com/paoloyam