Compare commits
1 Commits
562d6d009b
...
b56abcd13b
| Author | SHA1 | Date | |
|---|---|---|---|
| b56abcd13b |
@@ -13,12 +13,12 @@
|
|||||||
<field
|
<field
|
||||||
name="prevent_reset_to_draft_sent_invoice"
|
name="prevent_reset_to_draft_sent_invoice"
|
||||||
groups="account_advanced_protection_features.group_account_protection_manager"
|
groups="account_advanced_protection_features.group_account_protection_manager"
|
||||||
invisible="type != 'sale'"
|
attrs="{'invisible': [('type', '!=', 'sale')]}"
|
||||||
/>
|
/>
|
||||||
<field
|
<field
|
||||||
name="allow_bank_statement_deletion"
|
name="allow_bank_statement_deletion"
|
||||||
groups="account_advanced_protection_features.group_account_protection_manager"
|
groups="account_advanced_protection_features.group_account_protection_manager"
|
||||||
invisible="type not in ['bank', 'cash']"
|
attrs="{'invisible': [('type', 'not in', ['bank', 'cash'])]}"
|
||||||
/>
|
/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user