Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] account_tax_unece: Migration to 18.0 #215

Open
wants to merge 29 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e3fee0f
Add modules base_unece, account_tax_unece, account_payment_unece and …
alexis-via Mar 20, 2016
f2bfc26
Port *unece* modules to odoo 10
alexis-via Nov 19, 2016
9425799
Add unece type and category to tax template
astirpe Sep 4, 2017
5edee66
[10.0] Add field 'UNECE Due date' on taxes and corresponding nomencla…
Oct 13, 2017
0b3b92d
[11.0][MIG] account_tax_unece: porting to V11
astirpe Jan 18, 2018
6d3d06f
[MIG] account_tax_unece: Migration to 12.0
lk-eska Dec 16, 2018
8197ecf
Add unece_due_date_id on account.tax.template
alexis-via Feb 20, 2019
70b2627
[IMP] account_tax_unece: README by fragments
pedrobaeza Feb 22, 2019
eecc15e
[13.0][MIG] account_tax_unece
astirpe Oct 23, 2019
d90186e
[IMP] account_tax_unece: black, isort, prettier
StefanRijnhart Jan 18, 2021
9933b79
[MIG] account_tax_unece: Migration to 14.0
alexis-via Jan 18, 2021
e1cae4e
account_tax_unece: add speeddict methods
alexis-via Dec 10, 2020
0f61a9a
account_tax_unece: script for v13 to v14 migration
alexis-via Nov 19, 2021
b921839
[FIX] account_tax_unece: mig script directory
alexis-via Feb 1, 2022
8f9cfd0
Added translation using Weblate (German)
marylla Jun 16, 2022
40ca164
[MIG] account_tax_unece: Migration to 16.0
syera94 Nov 4, 2022
6cc49ac
account_tax_unece: add a unit test
alexis-via Dec 1, 2022
45ac998
[FIX] account_tax_unece: remove HTML tags in 'note' of fiscal position
alexis-via Dec 26, 2022
e299586
account_tax_unece: string update
alexis-via Jun 5, 2023
4824fed
Added translation using Weblate (French)
Jun 5, 2023
68e4d3f
Added translation using Weblate (Spanish)
Ivorra78 Aug 2, 2023
42aa493
base_unece + account_tax_unece: AGPL -> LGPL
alexis-via Oct 5, 2023
d335cf2
[IMP] account_tax_unece: pre-commit auto fixes
nguyenminhchien Feb 2, 2024
70ffa80
[MIG] account_tax_unece: Migration to 17.0
nguyenminhchien Feb 2, 2024
e422f7b
[IMP] account_tax_unece: add unece fields in tax tree view, hidden by…
alexis-via Mar 2, 2024
d048e9c
Added translation using Weblate (Italian)
mymage Mar 6, 2024
32ef5ba
[IMP] account_tax_unece: pre-commit auto fixes
Oct 31, 2024
928c12e
[MIG] account_tax_unece: Migration to 18.0
Oct 31, 2024
627d1f5
[DON'T MERGE] Add test-requirements.txt
Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions account_tax_unece/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
=================
Account Tax UNECE
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:71ed1f1244109e8e7291050c3fa840f53ec37603799d691478fcb45910070364
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcommunity--data--files-lightgray.png?logo=github
:target: https://github.com/OCA/community-data-files/tree/18.0/account_tax_unece
:alt: OCA/community-data-files
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/community-data-files-18-0/community-data-files-18-0-account_tax_unece
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/community-data-files&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds two fields *UNECE Type Code* and *UNECE Category Code*
on taxes to allow the use of the standards written by the `United
Nations Economic Commission for Europe <http://www.unece.org>`__ (which
has 56 members states in Europe, America and Central Asia, cf
`Wikipedia <https://en.wikipedia.org/wiki/United_Nations_Economic_Commission_for_Europe>`__):

- the UNECE Tax Type code is defined in the `DataElement
5153 <http://www.unece.org/trade/untdid/d97b/uncl/uncl5153.htm>`__,
- the UNECE Tax Category Code is defined in the `DataElement
5305 <http://www.unece.org/trade/untdid/d97a/uncl/uncl5305.htm>`__.

This codification is part of the UNCL (United Nations Code List). This
codification is used for example in the two main international standards
for electronic invoicing:

- `Cross Industry
Invoice <http://tfig.unece.org/contents/cross-industry-invoice-cii.htm>`__
(CII),
- `Universal Business Language <http://ubl.xml.org/>`__ (UBL).

**Table of contents**

.. contents::
:local:

Configuration
=============

1. Go to the menu *Accounting > Configuration > Accounting > Taxes*
2. Set the field *UNECE Type Code* (the value should be *VAT* for most
of your taxes).
3. Set the field *UNECE Category Code*.

There are localization modules that fill this information for specific
chart of accounts, so this step shouldn't be needed if installed.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/community-data-files/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/community-data-files/issues/new?body=module:%20account_tax_unece%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Akretion

Contributors
------------

- Alexis de Lattre <[email protected]>
- Andrea Stirpe <[email protected]>
- Levent Karakaş
- Pedro M. Baeza
- Nhan Tran <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/community-data-files <https://github.com/OCA/community-data-files/tree/18.0/account_tax_unece>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions account_tax_unece/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions account_tax_unece/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2016-2020 Akretion France (http://www.akretion.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
# @author Alexis de Lattre <[email protected]>

{
"name": "Account Tax UNECE",
"version": "18.0.1.0.0",
"category": "Accounting & Finance",
"license": "LGPL-3",
"development_status": "Production/Stable",
"summary": "UNECE nomenclature for taxes",
"author": "Akretion,Odoo Community Association (OCA)",
"maintainers": ["alexis-via"],
"website": "https://github.com/OCA/community-data-files",
"depends": ["account", "base_unece"],
"data": [
"views/account_tax.xml",
"data/unece_tax_type.xml",
"data/unece_tax_categ.xml",
],
"installable": True,
}
187 changes: 187 additions & 0 deletions account_tax_unece/data/unece_tax_categ.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="0">
<!-- unece.code.list
Source : https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5305.htm -->
<record id="tax_categ_a" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">A</field>
<field name="name">Mixed tax rate</field>
<field name="description">
Code specifying that the rate is based on mixed tax.
</field>
</record>
<record id="tax_categ_aa" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AA</field>
<field name="name">Lower rate</field>
<field name="description">Tax rate is lower than standard rate.</field>
</record>
<record id="tax_categ_ab" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AB</field>
<field name="name">Exempt for resale</field>
<field name="description">
A tax category code indicating the item is tax exempt when the item is
bought for future resale.
</field>
</record>
<record id="tax_categ_ac" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AC</field>
<field name="name">Value Added Tax (VAT) not now due for payment</field>
<field name="description">
A code to indicate that the Value Added Tax (VAT) amount which is due on the
current invoice is to be paid on receipt of a separate VAT payment request.
</field>
</record>
<record id="tax_categ_ad" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AD</field>
<field name="name">Value Added Tax (VAT) due from a previous invoice</field>
<field name="description">
A code to indicate that the Value Added Tax (VAT) amount of a previous
invoice is to be paid.
</field>
</record>
<record id="tax_categ_ae" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">AE</field>
<field name="name">VAT Reverse Charge</field>
<field name="description">
Code specifying that the standard VAT rate is levied from the invoicee.
</field>
</record>
<record id="tax_categ_b" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">B</field>
<field name="name">Transferred (VAT)</field>
<field name="description">
VAT not to be paid to the issuer of the invoice but directly to relevant tax
authority.
</field>
</record>
<record id="tax_categ_c" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">C</field>
<field name="name">Duty paid by supplier</field>
<field name="description">
Duty associated with shipment of goods is paid by the supplier; customer
receives goods with duty paid.
</field>
</record>
<record id="tax_categ_d" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">D</field>
<field name="name">Value Added Tax (VAT) margin scheme - travel agents</field>
<field name="description">
Indication that the VAT margin scheme for travel agents is applied.
</field>
</record>
<record id="tax_categ_e" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">E</field>
<field name="name">Exempt from tax</field>
<field name="description">Code specifying that taxes are not applicable.</field>
</record>
<record id="tax_categ_f" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">F</field>
<field name="name">
Value Added Tax (VAT) margin scheme - second-hand goods
</field>
<field name="description">
Indication that the VAT margin scheme for second-hand goods is applied.
</field>
</record>
<record id="tax_categ_g" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">G</field>
<field name="name">Free export item, tax not charged</field>
<field name="description">
Code specifying that the item is free export and taxes are not charged.
</field>
</record>
<record id="tax_categ_h" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">H</field>
<field name="name">Higher rate</field>
<field name="description">
Code specifying a higher rate of duty or tax or fee.
</field>
</record>
<record id="tax_categ_i" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">I</field>
<field name="name">Value Added Tax (VAT) margin scheme - works of art</field>
<field name="description">
Indication that the VAT margin scheme for works of art is applied.
</field>
</record>
<record id="tax_categ_j" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">J</field>
<field name="name">
Value Added Tax (VAT) margin scheme - collector's items and antiques
</field>
<field name="description">
Indication that the VAT margin scheme for collector's items and antiques is
applied.
</field>
</record>
<record id="tax_categ_k" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">K</field>
<field name="name">
VAT exempt for EEA intra-community supply of goods and services
</field>
<field name="description">
A tax category code indicating the item is VAT exempt due to an
intra-community supply in the European Economic Area.
</field>
</record>
<record id="tax_categ_l" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">L</field>
<field name="name">Canary Islands general indirect tax</field>
<field name="description">
Impuesto General Indirecto Canario (IGIC) is an indirect tax levied on goods
and services supplied in the Canary Islands (Spain) by traders and
professionals, as well as on import of goods.
</field>
</record>
<record id="tax_categ_m" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">M</field>
<field name="name">
Tax for production, services and importation in Ceuta and Melilla
</field>
<field name="description">
Impuesto sobre la Producción, los Servicios y la Importación (IPSI) is an
indirect municipal tax, levied on the production, processing and import of
all kinds of movable tangible property, the supply of services and the
transfer of immovable property located in the cities of Ceuta and Melilla.
</field>
</record>
<record id="tax_categ_o" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">O</field>
<field name="name">Services outside scope of tax</field>
<field name="description">
Code specifying that taxes are not applicable to the services.
</field>
</record>
<record id="tax_categ_s" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">S</field>
<field name="name">Standard rate</field>
<field name="description">Code specifying the standard rate.</field>
</record>
<record id="tax_categ_z" model="unece.code.list">
<field name="type">tax_categ</field>
<field name="code">Z</field>
<field name="name">Zero rated goods</field>
<field name="description">
Code specifying that the goods are at a zero rate.
</field>
</record>
</odoo>
Loading
Loading