Skip to content

Commit

Permalink
[IMP] sale_order_line_planned_quantity: add compute_sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Oct 21, 2024
1 parent 7d0ba2e commit 7db277c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sale_order_line_planned_quantity/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ class SaleOrderLine(models.Model):
string="Planned Quantity",
compute="_compute_planned_quantity",
digits="Product Unit of Measure",
compute_sudo=True,
store=True,
copy=False,
)
difference_between_ordered_planned = fields.Boolean(
string="Difference Between Ordered And Planned",
compute_sudo=True,
store=True,
copy=False,
compute="_compute_planned_quantity",
Expand Down

0 comments on commit 7db277c

Please sign in to comment.