[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 DavidJForgeFlow
parent 882d5c1c92
commit 0a89002a19

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",