[rma_account][imp] allow to change the refund policy even when the rma has been approved.

This commit is contained in:
Jordi Ballester
2021-09-02 19:15:56 +02:00
parent 30fed707c8
commit 026d749d8f

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