Skip to content

Commit

Permalink
[MIG] l10n_mx_edi_addenda_mabe
Browse files Browse the repository at this point in the history
  • Loading branch information
SMaciasOSI committed Dec 10, 2024
1 parent 23e31ad commit c80be15
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion l10n_mx_edi_addenda_mabe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
{
"name": "Mexican Addendum For Invoices For MABE",
"version": "17.0.1.3.0",
"version": "16.0.1.0.0",
"license": "LGPL-3",
"summary": "Mexican Localization Addendum For MABE",
"author": "Open Source Integrators",
Expand Down
11 changes: 7 additions & 4 deletions l10n_mx_edi_addenda_mabe/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,25 @@
<field name="arch" type="xml">
<xpath expr="//notebook" position="inside">
<field name="mabe_flag" invisible="1" />
<page string="Mabe Addenda" invisible="not mabe_flag">
<page
string="Mabe Addenda"
attrs="{'invisible': [('mabe_flag', '=', False)]}"
>
<group>
<field
name="mabe_ref1"
string="Reference 1"
invisible="not mabe_flag"
attrs="{'invisible': [('mabe_flag', '=', False)]}"
/>
<field
name="mabe_ref2"
string="Reference 2"
invisible="not mabe_flag"
attrs="{'invisible': [('mabe_flag', '=', False)]}"
/>
<field
name="mabe_amount_with_letter"
string="Amount with letter"
invisible="not mabe_flag"
attrs="{'invisible': [('mabe_flag', '=', False)]}"
/>
</group>
</page>
Expand Down
2 changes: 1 addition & 1 deletion l10n_mx_edi_addenda_mabe/views/res_partner_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<field
name="mabe_plant_code"
string="Mabe Plant Code"
invisible="not l10n_mx_edi_addenda_name == 'Addenda Mabe'"
attrs="{'invisible': [('l10n_mx_edi_addenda_name', '!=', 'Addenda Mabe')]}"
/>
</xpath>
</field>
Expand Down
6 changes: 6 additions & 0 deletions setup/l10n_mx_edi_addenda_mabe/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
6 changes: 6 additions & 0 deletions setup/osi_fifo_serialized_fix/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit c80be15

Please sign in to comment.