Skip to content

Commit

Permalink
[FIX] sale_order_type_invoice_policy: migration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc committed Jun 9, 2023
1 parent ce43b6f commit 5e31501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sale_order_type_invoice_policy/models/stock_move.py
Expand Up @@ -8,7 +8,7 @@
class StockMove(models.Model):
_inherit = 'stock.move'

def _action_assign(self):
def _action_assign(self, force_qty=False):
"""
For the cron call check if the moves needs to be reserved or not depends of the policy in the sale order type.
"""
Expand All @@ -19,4 +19,4 @@ def _action_assign(self):
# do not call super if not self because it raise an error
if not self:
return True
return super()._action_assign()
return super()._action_assign(force_qty)

0 comments on commit 5e31501

Please sign in to comment.