[MIG] account_payment_mode: Migration to 17.0

This commit is contained in:
Miquel Alzanillas
2023-11-22 11:13:47 +01:00
parent c68b893df7
commit 7e0324aa9c
6 changed files with 10 additions and 5 deletions

View File

@@ -74,6 +74,7 @@ Contributors
- Eric Lembregts <eric@lembregts.eu>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Marçal Isern <marsal.isern@qubiq.es>
- Miquel Alzanillas <malzanillas@apsl.net>
Maintainers
-----------

View File

@@ -4,7 +4,7 @@
{
"name": "Account Payment Mode",
"version": "16.0.1.2.0",
"version": "17.0.1.0.0",
"development_status": "Mature",
"license": "AGPL-3",
"author": "Akretion,Odoo Community Association (OCA)",

View File

@@ -2,3 +2,4 @@
- Eric Lembregts \<<eric@lembregts.eu>\>
- Andrea Stirpe \<<a.stirpe@onestein.nl>\>
- Marçal Isern \<<marsal.isern@qubiq.es>\>
- Miquel Alzanillas \<<malzanillas@apsl.net>\>

View File

@@ -420,6 +420,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
<li>Eric Lembregts &lt;<a class="reference external" href="mailto:eric&#64;lembregts.eu">eric&#64;lembregts.eu</a>&gt;</li>
<li>Andrea Stirpe &lt;<a class="reference external" href="mailto:a.stirpe&#64;onestein.nl">a.stirpe&#64;onestein.nl</a>&gt;</li>
<li>Marçal Isern &lt;<a class="reference external" href="mailto:marsal.isern&#64;qubiq.es">marsal.isern&#64;qubiq.es</a>&gt;</li>
<li>Miquel Alzanillas &lt;<a class="reference external" href="mailto:malzanillas&#64;apsl.net">malzanillas&#64;apsl.net</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">

View File

@@ -13,7 +13,7 @@ here. I hate the objects that don't have a view... -->
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<group name="main">
<field name="name" />

View File

@@ -10,7 +10,7 @@
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
invisible="active"
/>
<group name="main">
<field name="name" />
@@ -26,11 +26,13 @@
<field name="bank_account_link" />
<field
name="fixed_journal_id"
attrs="{'invisible': [('bank_account_link', '!=', 'fixed')], 'required': [('bank_account_link', '=', 'fixed')]}"
invisible="bank_account_link != 'fixed'"
required="bank_account_link == 'fixed'"
/>
<field
name="variable_journal_ids"
attrs="{'invisible': [('bank_account_link', '!=', 'variable')], 'required': [('bank_account_link', '=', 'variable')]}"
invisible="bank_account_link != 'variable'"
required="bank_account_link == 'variable'"
widget="many2many_tags"
/>
</group>