Skip to content

Commit

Permalink
[MIG] l10n_it_reverse_charge: Migration to 16.0
Browse files Browse the repository at this point in the history
No need to add fields in tree of `line_ids` to have them in `invoice_line_ids` since odoo/odoo@d8d47f9
invoice_payments_widget is a dictionary from odoo/odoo@d8d47f9
account.payment.term.line.sequence removed from odoo/odoo@3dad4b3
account.account.user_type_id removed from odoo/odoo@26b2472
Always assign computed field account.move.line.rc
account.move.line.exclude_from_invoice_tab does not exist
Validate created journals
Allow to reset to draft and reconfirm invoices with rc_self_purchase_invoice_id
Do not reconcile already reconciled journal entries
  • Loading branch information
SirTakobi committed Aug 24, 2023
1 parent 918a5c0 commit 7860711
Show file tree
Hide file tree
Showing 13 changed files with 172 additions and 350 deletions.
5 changes: 3 additions & 2 deletions l10n_it_reverse_charge/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# Copyright 2017 Alex Comba - Agile Business Group
# Copyright 2017 Lorenzo Battistini - Agile Business Group
# Copyright 2017 Marco Calcagni - Dinamiche Aziendali srl
# License LGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Copyright 2023 Simone Rubino - TAKOBI
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpg).

{
"name": "ITA - Inversione contabile",
"version": "14.0.1.2.4",
"version": "16.0.1.0.0",
"category": "Localization/Italy",
"summary": "Inversione contabile",
"author": "Odoo Italia Network, Odoo Community Association (OCA)",
Expand Down
66 changes: 33 additions & 33 deletions l10n_it_reverse_charge/data/rc_type.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">
<!--
~ Copyright 2023 Simone Rubino - TAKOBI
~ License LGPG-3.0 or later (https://www.gnu.org/licenses/lgpg).
-->
<odoo 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>
</record>

<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>
</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>
</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>
</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>
</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>
</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>
</record>

</data>
<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>
</record>
</odoo>
13 changes: 0 additions & 13 deletions l10n_it_reverse_charge/migrations/13.0.1.0.0/noupdate_changes.xml

This file was deleted.

37 changes: 0 additions & 37 deletions l10n_it_reverse_charge/migrations/13.0.1.0.0/post-migration.py

This file was deleted.

187 changes: 0 additions & 187 deletions l10n_it_reverse_charge/migrations/13.0.1.0.0/pre-migration.py

This file was deleted.

Loading

0 comments on commit 7860711

Please sign in to comment.