Merge pull request #177 from ForgeFlow/13.0-rma_account-refund_policy-editable

[13.0][IMP] rma_account: allow to change the refund policy when rma is approved
This commit is contained in:
Jordi Ballester Alomar
2021-09-03 09:57:07 +02:00
committed by GitHub

View File

@@ -94,7 +94,7 @@ class RmaOrderLine(models.Model):
required=True,
default="no",
readonly=True,
states={"draft": [("readonly", False)]},
states={"draft": [("readonly", False)], "approved": [("readonly", False)]},
)
qty_to_refund = fields.Float(
string="Qty To Refund",