-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] l10n_it_vat_registries: Migration to 16.0
Co-authored-by: SirAionTech <simone.rubino@aion-tech.it>
- Loading branch information
1 parent
334d09b
commit 1195753
Showing
16 changed files
with
110 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
l10n_it_vat_registries/migrations/14.0.1.0.0/noupdate_changes.xml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
l10n_it_vat_registries/migrations/14.0.1.0.0/post-migration.py
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
l10n_it_vat_registries/migrations/14.0.1.0.3/post-migration.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
<?xml version="1.0" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<odoo noupdate="1"> | ||
|
||
<record id="action_report_registro_iva" model="ir.actions.report"> | ||
<field name="name">Invoices VAT Registry</field> | ||
<field name="model">account.move</field> | ||
<field name="report_type">qweb-pdf</field> | ||
<field name="report_name">l10n_it_vat_registries.report_registro_iva</field> | ||
<field name="report_file">l10n_it_vat_registries.report_registro_iva</field> | ||
<field | ||
name="paperformat_id" | ||
ref="l10n_it_account.l10n_it_account_a4_landscape" | ||
/> | ||
</record> | ||
|
||
</data> | ||
<record id="action_report_registro_iva" model="ir.actions.report"> | ||
<field name="name">Invoices VAT Registry</field> | ||
<field name="model">account.move</field> | ||
<field name="report_type">qweb-pdf</field> | ||
<field name="report_name">l10n_it_vat_registries.report_registro_iva</field> | ||
<field name="report_file">l10n_it_vat_registries.report_registro_iva</field> | ||
<field | ||
name="paperformat_id" | ||
ref="l10n_it_account.l10n_it_account_a4_landscape" | ||
/> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<odoo noupdate="1"> | ||
|
||
<record id="tax_registry_comp_rule" model="ir.rule"> | ||
<field name="name">tax_registry multi-company</field> | ||
<field name="model_id" ref="model_account_tax_registry" /> | ||
<field name="global" eval="True" /> | ||
<field | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)]</field> | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)]</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<openerp> | ||
<data> | ||
<record id="view_account_journal_form" model="ir.ui.view"> | ||
<field name="name">account.journal.form</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.view_account_journal_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="company_id" position="after"> | ||
<field name="tax_registry_id" /> | ||
</field> | ||
<odoo> | ||
|
||
<record id="view_account_journal_form" model="ir.ui.view"> | ||
<field name="name">account.journal.form</field> | ||
<field name="model">account.journal</field> | ||
<field name="inherit_id" ref="account.view_account_journal_form" /> | ||
<field name="arch" type="xml"> | ||
<field name="type" position="after"> | ||
<field name="tax_registry_id" /> | ||
</field> | ||
</record> | ||
</data> | ||
</openerp> | ||
</field> | ||
</record> | ||
|
||
</odoo> |
70 changes: 35 additions & 35 deletions
70
l10n_it_vat_registries/views/account_tax_registry_view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<openerp> | ||
<data> | ||
<record id="view_account_tax_registry_form" model="ir.ui.view"> | ||
<field name="name">account.tax.registry.form</field> | ||
<field name="model">account.tax.registry</field> | ||
<field name="arch" type="xml"> | ||
<form> | ||
<group> | ||
<field name="name" /> | ||
<field name="layout_type" /> | ||
</group> | ||
<separator string="Journals" /> | ||
<field name="journal_ids" /> | ||
</form> | ||
</field> | ||
</record> | ||
<odoo> | ||
|
||
<record id="action_account_tax_registry_form" model="ir.actions.act_window"> | ||
<field name="name">VAT registries</field> | ||
<field name="res_model">account.tax.registry</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name="help" type="html"> | ||
<p class="oe_view_nocontent_create"> | ||
Click to add a VAT registry. | ||
</p><p> | ||
A VAT registry is used to group several journals in one registry. | ||
</p> | ||
</field> | ||
</record> | ||
<menuitem | ||
action="action_account_tax_registry_form" | ||
id="menu_action_account_tax_registry_form" | ||
parent="account.account_account_menu" | ||
/> | ||
</data> | ||
</openerp> | ||
<record id="view_account_tax_registry_form" model="ir.ui.view"> | ||
<field name="name">account.tax.registry.form</field> | ||
<field name="model">account.tax.registry</field> | ||
<field name="arch" type="xml"> | ||
<form> | ||
<group> | ||
<field name="name" /> | ||
<field name="layout_type" /> | ||
</group> | ||
<separator string="Journals" /> | ||
<field name="journal_ids" /> | ||
</form> | ||
</field> | ||
</record> | ||
|
||
<record id="action_account_tax_registry_form" model="ir.actions.act_window"> | ||
<field name="name">VAT registries</field> | ||
<field name="res_model">account.tax.registry</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name="help" type="html"> | ||
<p class="oe_view_nocontent_create"> | ||
Click to add a VAT registry. | ||
</p><p> | ||
A VAT registry is used to group several journals in one registry. | ||
</p> | ||
</field> | ||
</record> | ||
<menuitem | ||
action="action_account_tax_registry_form" | ||
id="menu_action_account_tax_registry_form" | ||
parent="account.account_account_menu" | ||
/> | ||
|
||
</odoo> |
Oops, something went wrong.