-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by sbidoul
- Loading branch information
Showing
18 changed files
with
4,027 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
================= | ||
Belgium ECO Taxes | ||
================= | ||
|
||
This is a data module which extends the l10n_be chart of taxes | ||
to support BEBAT and RECUPEL. | ||
|
||
Installation | ||
============ | ||
|
||
There is no specific installation procedure for this module. | ||
|
||
Configuration | ||
============= | ||
|
||
If you install this module after instanciating the chart of account | ||
for your company, it is recommanded to use the account_chart_update | ||
module from the OCA/account-financial-tools repository . | ||
|
||
You may also need to customize your invoice layout to render | ||
these eco taxes in the desired way. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to add the BEBAT and/or RECUPEL | ||
taxes on the products which are subjected to these rules. | ||
|
||
You must make sure that the sequences of the BEBAT and RECUPEL taxes | ||
is smaller than the sequences of the VAT taxes so the VAT is correctly | ||
computed on top of the BEBAT and RECUPEL taxes. The sequences are correct | ||
when using l10n_be_taxes. | ||
|
||
The module also define a specific tax code template for eco taxes which | ||
may help in reporting, and specific expense and income account templates. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/119/8.0 | ||
|
||
For further information, please visit: | ||
|
||
* https://www.odoo.com/forum/help-1 | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* N/A | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-belgium/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and | ||
welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Images | ||
------ | ||
|
||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_. | ||
|
||
Contributors | ||
------------ | ||
|
||
* Adrien Peiffer <[email protected]> | ||
* Jacques-Etienne Baudoux <[email protected]> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit http://odoo-community.org. |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from .hooks import post_init_hook |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2016 BCIM sprl(http://www.bcim.be) | ||
# Copyright 2017 Okia SPRL (https://okia.be) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Belgium Eco Taxes", | ||
"summary": "Data module to support BEBAT and RECUPEL taxes", | ||
"version": "16.0.1.0.0", | ||
"author": "ACSONE SA/NV, BCIM sprl, Okia, Odoo Community Association (OCA)", | ||
"category": "Generic Modules/Accounting", | ||
"website": "https://github.com/OCA/l10n-belgium", | ||
"depends": ["account", "l10n_be"], | ||
"data": [ | ||
"data/account_tax_code_template.xml", | ||
"data/account_account_template_data.xml", | ||
"data/account_tax_template_recupel_out_data.xml", | ||
"data/account_tax_template_recupel_in_data.xml", | ||
"data/account_tax_template_bebat_data.xml", | ||
], | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"post_init_hook": "post_init_hook", | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<record id="recupel_income_account" model="account.account.template"> | ||
<field name="name">RECUPEL Sale</field> | ||
<field name="code">70092</field> | ||
<field name="account_type">income</field> | ||
<field name="chart_template_id" ref="l10n_be.l10nbe_chart_template" /> | ||
<field name="tag_ids" eval="[(6,0,[ref('account.account_tag_operating')])]" /> | ||
</record> | ||
|
||
<record id="recupel_expense_account" model="account.account.template"> | ||
<field name="name">RECUPEL Purchase</field> | ||
<field name="code">60192</field> | ||
<field name="account_type">expense</field> | ||
<field name="chart_template_id" ref="l10n_be.l10nbe_chart_template" /> | ||
<field name="tag_ids" eval="[(6,0,[ref('account.account_tag_operating')])]" /> | ||
</record> | ||
|
||
<record id="bebat_income_account" model="account.account.template"> | ||
<field name="name">BEBAT Sale</field> | ||
<field name="code">70093</field> | ||
<field name="account_type">income</field> | ||
<field name="chart_template_id" ref="l10n_be.l10nbe_chart_template" /> | ||
<field name="tag_ids" eval="[(6,0,[ref('account.account_tag_operating')])]" /> | ||
</record> | ||
|
||
<record id="bebat_expense_account" model="account.account.template"> | ||
<field name="name">BEBAT Purchase</field> | ||
<field name="code">60193</field> | ||
<field name="account_type">expense</field> | ||
<field name="chart_template_id" ref="l10n_be.l10nbe_chart_template" /> | ||
<field name="tag_ids" eval="[(6,0,[ref('account.account_tag_operating')])]" /> | ||
</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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
|
||
<record id="tax_tag_ecotax" model="account.account.tag"> | ||
<field name="name">Eco Taxes</field> | ||
</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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
|
||
<record id="bebat_01" model="account.tax.template"> | ||
<field name="sequence">1</field> | ||
<field name="description">BEBAT-75-OUT</field> | ||
<field name="name">BEBAT 0.075 Out</field> | ||
<field name="chart_template_id" ref="l10n_be.l10nbe_chart_template" /> | ||
<field name="price_include" eval="0" /> | ||
<field name="amount">0.075</field> | ||
<field name="amount_type">fixed</field> | ||
<field name="type_tax_use">sale</field> | ||
<field | ||
name="invoice_repartition_line_ids" | ||
eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('bebat_income_account'), | ||
'tag_ids': [ref('tax_tag_ecotax')], | ||
}), | ||
]" | ||
/> | ||
<field | ||
name="refund_repartition_line_ids" | ||
eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('bebat_expense_account'), | ||
'tag_ids': [ref('tax_tag_ecotax')], | ||
}), | ||
]" | ||
/> | ||
<field name="include_base_amount" eval="1" /> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.