Skip to content

Commit

Permalink
[16.0][FIX] stock_secondary_unit: add @api.model_create_multi
Browse files Browse the repository at this point in the history
  • Loading branch information
ced-adhoc committed Oct 16, 2024
1 parent d311024 commit b3f5a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_secondary_unit/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class StockMoveLine(models.Model):
store=True, readonly=False, compute="_compute_qty_done", precompute=True
)

@api.model
@api.model_create_multi
def create(self, vals):
move = self.env["stock.move"].browse(vals.get("move_id", False))
if move.secondary_uom_id:
Expand Down

0 comments on commit b3f5a98

Please sign in to comment.