mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 08:21:59 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_move_form_inherit" model="ir.ui.view">
|
||||
<field name="name">account.move.form.inherit</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@id='other_tab']//field[@name='delivery_date']" position="after">
|
||||
<field name="l10n_es_is_simplified" invisible="country_code != 'ES'" readonly="state != 'draft'"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="account_tax_form_inherit_l10n_es_edi" model="ir.ui.view">
|
||||
<field name="name">account.tax.form.inherit.l10n_es_edi</field>
|
||||
<field name="model">account.tax</field>
|
||||
<field name="inherit_id" ref="account.view_tax_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='tax_scope']" position="after">
|
||||
<field name="l10n_es_type"
|
||||
invisible="country_code != 'ES'"/>
|
||||
<field name="l10n_es_exempt_reason"
|
||||
invisible="country_code != 'ES' and l10n_es_type != 'exento'"
|
||||
required="l10n_es_type == 'exento' and type_tax_use == 'sale'"/>
|
||||
<field name="l10n_es_bien_inversion"
|
||||
invisible="country_code != 'ES' and l10n_es_type != 'exento'"
|
||||
required="l10n_es_type == 'exento' and type_tax_use == 'sale'"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//app[@name='account']/block" position="after">
|
||||
<block title="Spain Localization" name="spain_localization" invisible="1">
|
||||
<setting string="Simplified Invoice Limit" title="">
|
||||
<div class="text-muted">
|
||||
Above this limit the simplified invoice won't be made
|
||||
</div>
|
||||
<field name="l10n_es_simplified_invoice_limit"/>
|
||||
</setting>
|
||||
</block>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue