Skip to content

Commit

Permalink
[IMP] bom_line_net_qty precision
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinDupont committed Jan 25, 2024
1 parent 7bbe5af commit ff82b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mrp_bom_line_net_qty/models/mrp_bom_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ class MrpBomLine(models.Model):
line_gross_weight = fields.Float(
string="Gross weight",
compute="_compute_line_gross_weight",
digits=dp.get_precision("Product Unit of Measure"),
)
line_net_weight = fields.Float(
string="Net weight",
compute="_compute_line_net_weight",
digits=dp.get_precision("Product Unit of Measure"),
)
line_net_weight_percentage = fields.Float(
string="Net weight %",
Expand Down

0 comments on commit ff82b47

Please sign in to comment.