mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 00:32:01 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_tax_form" model="ir.ui.view">
|
||||
<field name="name">account.tax.form</field>
|
||||
<field name="model">account.tax</field>
|
||||
<field name="inherit_id" ref="account.view_tax_form"/>
|
||||
<field name="priority" eval="900"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='type_tax_use']" position="before">
|
||||
<field name="l10n_pe_edi_tax_code"
|
||||
attrs="{'invisible': [('country_code', '!=', 'PE')]}"/>
|
||||
<field name="l10n_pe_edi_unece_category"
|
||||
attrs="{'invisible': [('country_code', '!=', 'PE')]}"/>
|
||||
<field name="l10n_pe_edi_isc_type"
|
||||
attrs="{'invisible': ['|', ('l10n_pe_edi_tax_code', '!=', '2000'), ('country_code', '!=', 'PE')]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue