mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] Do not show New Refund button if there is no invoice attached to the claim
This commit is contained in:
committed by
Holger Brunn
parent
942875ea53
commit
d67e48122e
@@ -84,6 +84,7 @@
|
||||
<button name="%(account.action_account_invoice_refund)d"
|
||||
class="oe_inline"
|
||||
type='action' string='New Refund'
|
||||
attrs="{'invisible': [('invoice_id', '=', False)]}"
|
||||
context="{
|
||||
'invoice_ids': [invoice_id],
|
||||
'claim_line_ids': claim_line_ids,
|
||||
|
||||
Reference in New Issue
Block a user