We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c82e6 commit 2a26023Copy full SHA for 2a26023
addons/mrp/models/mrp_production.py
@@ -1361,6 +1361,7 @@ def action_cancel(self):
1361
orders in exception """
1362
self.workorder_ids.filtered(lambda x: x.state not in ['done', 'cancel']).action_cancel()
1363
if not self.move_raw_ids:
1364
+ self.move_finished_ids.filtered(lambda x: x.state not in ('done', 'cancel'))._action_cancel()
1365
self.state = 'cancel'
1366
return True
1367
self._action_cancel()
0 commit comments