diff --git a/rma/__manifest__.py b/rma/__manifest__.py index f8ae5c6a..7b7c3337 100644 --- a/rma/__manifest__.py +++ b/rma/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Return Merchandise Authorization Management", "summary": "Return Merchandise Authorization (RMA)", - "version": "13.0.2.1.0", + "version": "13.0.2.1.1", "development_status": "Production/Stable", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma/models/stock_move.py b/rma/models/stock_move.py index bb4653ea..38f416e5 100644 --- a/rma/models/stock_move.py +++ b/rma/models/stock_move.py @@ -59,7 +59,7 @@ class StockMove(models.Model): ) % (move.product_id.name, move.rma_receiver_ids.name) ) - res = super()._action_done() + res = super()._action_done(cancel_backorder=cancel_backorder) move_done = self.filtered(lambda r: r.state == "done").sudo() # Set RMAs as received. We sudo so we can grant the operation even # if the stock user has no RMA permissions.