[14.0][IMP] rma_account: make refund policy editable in approved rmas

* small fix in tests
This commit is contained in:
AaronHForgeFlow
2022-01-19 18:16:13 +01:00
committed by AaronHForgeFlow
parent af0f6e9106
commit c030cb17ef

View File

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