Skip to content

Commit

Permalink
Merge pull request #336 from Vauxoo/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream Vauxoo/addons-vauxoo (15.0)
  • Loading branch information
bt-admin authored Jul 17, 2024
2 parents 0631390 + 5d0d154 commit a0a4c37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sale_margin_percentage/models/sale_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class SaleOrderLine(models.Model):
margin_threshold = fields.Float(
default=lambda self: self.env.user.company_id.margin_threshold, help="Limit margin set in sales configuration"
)
purchase_price = fields.Float(readonly=True, help="Price purchase of product")

@api.depends("price_subtotal", "product_uom_qty", "purchase_price")
def _compute_margin(self):
Expand Down

0 comments on commit a0a4c37

Please sign in to comment.