-
-
Notifications
You must be signed in to change notification settings - Fork 297
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_reverse_charge: Migration to 16.0
- Loading branch information
1 parent
c16d962
commit c0c5c36
Showing
12 changed files
with
88 additions
and
289 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="account_rc_type_1" model="account.rc.type"> | ||
<field name="name">Intra-EU (VAT Integration)</field> | ||
<field name="method">integration</field> | ||
<field | ||
name="description" | ||
>Configuration of Intra-EU trade using the VAT Integration method</field> | ||
name="description" | ||
>Configuration of Intra-EU trade using the VAT Integration method</field> | ||
</record> | ||
|
||
<record id="account_rc_type_2" model="account.rc.type"> | ||
<field name="name">Extra-EU (VAT Integration)</field> | ||
<field name="method">integration</field> | ||
<field | ||
name="description" | ||
>Configuration of Extra-EU trade using the VAT Integration method</field> | ||
name="description" | ||
>Configuration of Extra-EU trade using the VAT Integration method</field> | ||
</record> | ||
|
||
<record id="account_rc_type_3" model="account.rc.type"> | ||
<field name="name">Extra-EU (Self-invoice)</field> | ||
<field name="method">selfinvoice</field> | ||
<field | ||
name="description" | ||
>Configuration of Extra-EU trade using the self-invoice method</field> | ||
name="description" | ||
>Configuration of Extra-EU trade using the self-invoice method</field> | ||
</record> | ||
|
||
<record id="account_rc_type_4" model="account.rc.type"> | ||
<field name="name">Intra-EU (Self-invoice)</field> | ||
<field name="method">selfinvoice</field> | ||
<field | ||
name="description" | ||
>Configuration of Intra-EU trade using the self-invoice method</field> | ||
name="description" | ||
>Configuration of Intra-EU trade using the self-invoice method</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
13 changes: 0 additions & 13 deletions
13
l10n_it_reverse_charge/migrations/13.0.1.0.0/noupdate_changes.xml
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
l10n_it_reverse_charge/migrations/13.0.1.0.0/post-migration.py
This file was deleted.
Oops, something went wrong.
187 changes: 0 additions & 187 deletions
187
l10n_it_reverse_charge/migrations/13.0.1.0.0/pre-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
10 changes: 4 additions & 6 deletions
10
l10n_it_reverse_charge/security/reverse_charge_security.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,25 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data noupdate="1"> | ||
|
||
<record id="rc_type_comp_rule" model="ir.rule"> | ||
<field name="name">Reverse Charge Type multi-company</field> | ||
<field name="model_id" ref="model_account_rc_type" /> | ||
<field name="global" eval="True" /> | ||
<field | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)] | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)] | ||
</field> | ||
</record> | ||
<record id="rc_type_tax_comp_rule" model="ir.rule"> | ||
<field name="name">Tax Mapping for self invoices multi-company</field> | ||
<field name="model_id" ref="model_account_rc_type_tax" /> | ||
<field name="global" eval="True" /> | ||
<field | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)] | ||
name="domain_force" | ||
>['|',('company_id','=',False),('company_id','in',company_ids)] | ||
</field> | ||
</record> | ||
|
||
</data> | ||
</odoo> |
Oops, something went wrong.