Skip to content

Commit

Permalink
[MIG] grap_l10n_fr: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Nov 18, 2019
1 parent 8be0f24 commit 0ad0558
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 36 deletions.
1 change: 0 additions & 1 deletion grap_l10n_fr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# coding: utf-8
from . import models
5 changes: 2 additions & 3 deletions grap_l10n_fr/__openerp__.py → grap_l10n_fr/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# coding: utf-8
# Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# @author: Quentin DUPONT <quentin.dupont@grap.coop>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "GRAP - Change l10n_fr",
"summary": "Custom changes of l10n_fr module for GRAP",
"version": "8.0.2.0.0",
"version": "12.0.1.0.0",
"category": "Custom",
"author": "GRAP",
"license": "AGPL-3",
Expand All @@ -28,5 +27,5 @@
"views/view_account_tax_template.xml",
"views/view_account_tax_code_template.xml",
],
"installable": False,
"installable": True,
}
4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_account_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<!-- ====================================-->
<!-- Comptes 4x =========================-->
Expand Down Expand Up @@ -260,4 +260,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="name">RRR sur ventes de marchandises</field>
</record>

</data></openerp>
</odoo>
4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_chart_template.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp><data>
<odoo>

<record model="account.chart.template" id="l10n_fr.l10n_fr_pcg_chart_template">
<field name="property_account_receivable" ref="l10n_fr.pcg_411"/>
Expand All @@ -8,4 +8,4 @@
<field name="property_account_income_categ" />
</record>

</data></openerp>
</odoo>
4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_fiscal_position_tax_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<!-- Disabling existing Fiscal Position Tax Template -->
<record id="l10n_fr.fp_tax_template_intraeub2b_vt_specifique" model="account.fiscal.position.tax.template">
Expand Down Expand Up @@ -127,4 +127,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="tax_dest_id" ref="grap_l10n_fr.tva_super_reduite_TTC" />
</record>

</data></openerp>
</odoo>
4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_fiscal_position_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<!-- Disabling existing Fiscal Position Template -->
<record id="l10n_fr.fiscal_position_template_import_export" model="account.fiscal.position.template">
Expand Down Expand Up @@ -33,4 +33,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="name">Client B2C (HT --> TTC)</field>
</record>

</data></openerp>
</odoo>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<!-- B2C Fiscal Classification Template -->
<record id="fiscal_classification_template_b2c_20" model="account.product.fiscal.classification.template">
Expand Down Expand Up @@ -62,4 +62,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="usage_group_id" ref="account.group_account_manager"/>
</record>

</data></openerp>
</odoo>
4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_tax_code_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<record model="account.tax.code.template" id="l10n_fr.tax_acq_200">
<field name="ebp_suffix">1</field>
Expand Down Expand Up @@ -108,5 +108,5 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="active" eval="False"/>
</record>

</data></openerp>
</odoo>

4 changes: 2 additions & 2 deletions grap_l10n_fr/data/account_tax_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<!-- VENTES Tax excluded from price -->
<record id="l10n_fr.tva_normale" model="account.tax.template">
Expand Down Expand Up @@ -258,4 +258,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<field name="description">TVA-HA-UE-deduc-2.1</field>
</record>

</data></openerp>
</odoo>
1 change: 0 additions & 1 deletion grap_l10n_fr/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# coding: utf-8
from . import account_account_template
from . import account_fiscal_position_tax_template
from . import account_fiscal_position_template
Expand Down
3 changes: 1 addition & 2 deletions grap_l10n_fr/models/account_account_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2015 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import fields, models
from odoo import fields, models


class AccountAccountTemplate(models.Model):
Expand Down
3 changes: 1 addition & 2 deletions grap_l10n_fr/models/account_fiscal_position_tax_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2019-Today GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import fields, models
from odoo import fields, models


class AccountFiscalPositionTaxTemplate(models.Model):
Expand Down
3 changes: 1 addition & 2 deletions grap_l10n_fr/models/account_fiscal_position_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2019-Today GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import fields, models
from odoo import fields, models


class AccountFiscalPositionTemplate(models.Model):
Expand Down
3 changes: 1 addition & 2 deletions grap_l10n_fr/models/account_tax_code_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2018-Today GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import fields, models
from odoo import fields, models


class AccountTaxCodeTemplate(models.Model):
Expand Down
3 changes: 1 addition & 2 deletions grap_l10n_fr/models/account_tax_template.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2018-Today GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp import fields, models
from odoo import fields, models


class AccountTaxTemplate(models.Model):
Expand Down
1 change: 0 additions & 1 deletion grap_l10n_fr/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# coding: utf-8
from . import test_module
3 changes: 1 addition & 2 deletions grap_l10n_fr/tests/test_module.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# coding: utf-8
# Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openerp.tests.common import TransactionCase
from odoo.tests.common import TransactionCase


class TestModule(TransactionCase):
Expand Down
4 changes: 2 additions & 2 deletions grap_l10n_fr/views/view_account_tax_code_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<record id="view_account_tax_code_template_form" model="ir.ui.view">
<field name="model">account.tax.code.template</field>
Expand All @@ -28,4 +28,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
</record>


</data></openerp>
</odoo>
4 changes: 2 additions & 2 deletions grap_l10n_fr/views/view_account_tax_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<odoo>

<record id="view_account_tax_template_form" model="ir.ui.view">
<field name="model">account.tax.template</field>
Expand All @@ -17,4 +17,4 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
</field>
</record>

</data></openerp>
</odoo>

0 comments on commit 0ad0558

Please sign in to comment.