mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
Merge pull request #178 from ForgeFlow/12.0-rma_account-refund_policy-editable
[12.0][IMP] rma_account: allow to change the refund policy when rma is approved
This commit is contained in:
@@ -71,7 +71,7 @@ class RmaOrderLine(models.Model):
|
||||
('delivered', 'Based on Delivered Quantities'),
|
||||
('received', 'Based on Received Quantities')], string="Refund Policy",
|
||||
required=True, default='no',
|
||||
readonly=True, states={'draft': [('readonly', False)]},
|
||||
readonly=True, states={'draft': [('readonly', False)], "approved": [("readonly", False)]},
|
||||
)
|
||||
qty_to_refund = fields.Float(
|
||||
string='Qty To Refund', copy=False,
|
||||
|
||||
Reference in New Issue
Block a user