mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order: Make post move field invisible in payment modes
When the generate_moves option is not selected, the post_move option should not be available TT29182
This commit is contained in:
@@ -57,7 +57,10 @@
|
||||
name="move_option"
|
||||
attrs="{'invisible': [('generate_move', '=', False)], 'required': [('generate_move', '=', True)]}"
|
||||
/>
|
||||
<field name="post_move" />
|
||||
<field
|
||||
name="post_move"
|
||||
attrs="{'invisible': [('generate_move', '=', False)]}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user