Skip to content

Commit

Permalink
Merge PR #1754 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jul 9, 2024
2 parents 8694cd3 + bcb06c5 commit 8faecc7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,15 @@ def action_view_invoice(self, invoices=False):
class PurchaseOrderLine(models.Model):
_inherit = "purchase.order.line"

qty_refunded = fields.Float(compute="_compute_qty_refunded", string="Refunded Qty")
qty_refunded = fields.Float(
compute="_compute_qty_refunded",
string="Refunded Qty",
digits="Product Unit of Measure",
)
qty_returned = fields.Float(
compute="_compute_qty_returned",
string="Returned* Qty",
digits="Product Unit of Measure",
help="This is ONLY the returned quantity that is refundable.",
store=True,
)
Expand Down

0 comments on commit 8faecc7

Please sign in to comment.