mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 10:22:07 +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,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="view_move_form_l10n_pl" model="ir.ui.view">
|
||||
<field name="name">account.move.form</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@id='header_right_group']//field[@name='date']" position="attributes">
|
||||
<attribute name="invisible" add="country_code != 'PL'" separator=" and "/>
|
||||
</xpath>
|
||||
|
||||
<notebook position="inside">
|
||||
<page id="pl_extra" string="PL Extra" name="page_pl_extra" invisible="move_type not in ('out_invoice', 'out_refund') or country_code != 'PL'">
|
||||
<group>
|
||||
<group>
|
||||
<field name="l10n_pl_vat_b_spv_dostawa" readonly="state != 'draft'"/>
|
||||
<field name="l10n_pl_vat_b_mpv_prowizja" readonly="state != 'draft'"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="l10n_pl_vat_b_spv" readonly="state != 'draft'"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="product_template_form" model="ir.ui.view">
|
||||
<field name="name">product.template.form.inherit</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='invoicing']//group[@name='accounting']" position="inside">
|
||||
<group name="GTU" string="GTU">
|
||||
<field name="l10n_pl_vat_gtu"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?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.inherit.l10n_pl</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="//block[@id='invoicing_settings']" position="after">
|
||||
<block title="Polish Localization" invisible="country_code != 'PL'">
|
||||
<setting id="l10n_pl_section">
|
||||
<label for="l10n_pl_reports_tax_office_id"/>
|
||||
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific." aria-label="Values set here are company-specific." groups="base.group_multi_company" role="img"/>
|
||||
<field name="l10n_pl_reports_tax_office_id"/>
|
||||
</setting>
|
||||
</block>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record model="ir.ui.view" id="res_partner_account_pl_form">
|
||||
<field name="name">res.partner.account.pl.form</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="account.view_partner_property_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='general']" position="after">
|
||||
<group string="PL Information">
|
||||
<field name="l10n_pl_links_with_customer"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue