Merge pull request #176 from ForgeFlow/14.0-rma_account-refund_policy-editable

[14.0][rma_account][imp] allow to change the refund policy even when the rma has been approved
This commit is contained in:
Jordi Ballester Alomar
2021-09-03 09:57:20 +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",