mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[13.0][IMP] rma_account: allow to change the refund policy even when the rma has been approved
This commit is contained in:
@@ -94,7 +94,7 @@ class RmaOrderLine(models.Model):
|
|||||||
required=True,
|
required=True,
|
||||||
default="no",
|
default="no",
|
||||||
readonly=True,
|
readonly=True,
|
||||||
states={"draft": [("readonly", False)]},
|
states={"draft": [("readonly", False)], "approved": [("readonly", False)]},
|
||||||
)
|
)
|
||||||
qty_to_refund = fields.Float(
|
qty_to_refund = fields.Float(
|
||||||
string="Qty To Refund",
|
string="Qty To Refund",
|
||||||
|
|||||||
Reference in New Issue
Block a user