Update rma_account/views/account_move_view.xml

This commit is contained in:
JuanyDForgeflow
2022-11-08 13:06:39 -05:00
committed by GitHub
parent 791c9ce3fa
commit 1bf854e732

View File

@@ -52,7 +52,7 @@
context="{'rma': True}"
domain="[('type', '=', 'supplier'),('partner_id', '=', partner_id)]"
attrs="{'readonly': [('state','not in',['draft'])],
'invisible': ['|', ('state', '=', 'paid'),
'invisible': ['|', ('payment_state', '=', 'paid'),
('move_type', '!=', 'in_refund')]}"
class="oe_edit_only"
options="{'no_create': True}"