[IMP] migrate module account_advanced_protection_features from version 16 to version 18
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m23s

This commit is contained in:
2025-10-07 16:48:25 +02:00
parent 5195e93038
commit 762af53f49
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "account_advanced_protection_features",
"version": "16.0.1.0.0",
"version": "18.0.1.0.0",
"author": "Elabore",
"website": "https://elabore.coop",
"maintainer": "Quentin Mondot",

View File

@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-29 08:28+0000\n"
"PO-Revision-Date: 2025-08-29 08:28+0000\n"

View File

@@ -13,12 +13,12 @@
<field
name="prevent_reset_to_draft_sent_invoice"
groups="account_advanced_protection_features.group_account_protection_manager"
attrs="{'invisible': [('type', '!=', 'sale')]}"
invisible="type != 'sale'"
/>
<field
name="allow_bank_statement_deletion"
groups="account_advanced_protection_features.group_account_protection_manager"
attrs="{'invisible': [('type', 'not in', ['bank', 'cash'])]}"
invisible="type not in ['bank', 'cash']"
/>
</xpath>
</field>