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

[MIG] l10n_pt_vat: migrate to 17.0 #115

Merged
merged 58 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ad92def
Initial submission to OCA
Oct 2, 2015
c93074d
[FIX] all the modifications that Daniel Reis kindly suggested
Oct 12, 2015
7c03711
[FIX] replace deprecated col attribute
Oct 12, 2015
0d8570a
test_flake8 cleaning
Oct 13, 2015
6416bd4
test_flake8 cleaning
Oct 13, 2015
4b206d9
test_flake8 cleaning
Oct 13, 2015
73afeb6
[FIX] minor adjustments
Oct 30, 2015
0fe456f
[FIX] minor adjustments
Oct 30, 2015
19d6c7d
portuguese translation
Nov 18, 2015
0d2e29f
[FIX] new module category
Nov 18, 2015
559ecf6
module category correction
Nov 18, 2015
c5d7711
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
53d9378
[MIG] Migrate to 12.0
dreispt Feb 4, 2020
56d5da2
[UPD] README.rst
OCA-git-bot Oct 3, 2020
4892a4c
l10n_pt_vat 12.0.0.1.0
OCA-git-bot Oct 3, 2020
0f65323
[IMP] l10n_pt_vat: black, isort, prettier
dreispt May 27, 2021
2ae590c
[ADD] l10n_pt_vat: Portuguese VAT taxes
dreispt Oct 3, 2020
df199a1
[MIG] l10n_pt_vat: port to 14.0
dreispt May 28, 2021
de2ec15
[FIX] l10n_pt_vat: fix fiscal position data
dreispt May 28, 2021
dcab83b
[UPD] Update l10n_pt_vat.pot
oca-travis May 31, 2021
e9d7327
[UPD] README.rst
OCA-git-bot May 31, 2021
a5ae7a8
[IMP] l10n_pt_vat: add exempt reasons and fiscal zones
dreispt Jun 4, 2021
fe085e0
[UPD] Update l10n_pt_vat.pot
oca-travis Jun 12, 2021
2dc106d
[UPD] README.rst
OCA-git-bot Jun 12, 2021
d8d534c
Update translation files
oca-transbot Jun 12, 2021
1470e0b
[FIX] l10n_pt_vat: updatable Taxes and Fiscal Positions
dreispt Jun 15, 2021
7cdda88
l10n_pt_vat 14.0.0.2.0
OCA-git-bot Jun 16, 2021
1c22f8f
[FIX] l10n_pt_vat: fix islands VAT taxes, only set exemption reason w…
dreispt Jul 5, 2021
e3bf0bb
[UPD] Update l10n_pt_vat.pot
oca-travis Jul 5, 2021
8409c39
l10n_pt_vat 14.0.0.2.0
OCA-git-bot Jul 5, 2021
706fc95
Update translation files
oca-transbot Jul 5, 2021
f9a147d
[FIX] l10_pt_vat: remove tax configuration from tax tables (should be…
dreispt Jul 9, 2021
2c4db2a
[UPD] README.rst
OCA-git-bot Jul 26, 2021
96e9fa2
l10n_pt_vat 14.0.1.0.0
OCA-git-bot Jul 26, 2021
ac8d456
Translated using Weblate (Portuguese)
dreispt Aug 3, 2021
dbca9df
Translated using Weblate (Portuguese)
dreispt Sep 24, 2021
995b9cd
[FIX] l10n_pt_vat: tax exempt computation ignore section lines
dreispt Mar 10, 2022
721c6d4
l10n_pt_vat 14.0.1.0.1
OCA-git-bot Mar 14, 2022
fe5ca9a
[MIG] l10n_pt_vat: Migration to 15.0
aktiv-heli-kantawala Jul 25, 2022
7276bcb
[UPD] Update l10n_pt_vat.pot
Aug 10, 2022
cbec286
[UPD] README.rst
OCA-git-bot Aug 10, 2022
759a173
[IMP] l10n_pt_vat: pre-commit stuff
fmartins-odoogap Nov 3, 2022
5edbe31
[MIG] l10n_pt_vat: Migration to 16.0
fmartins-odoogap Nov 3, 2022
ea94993
[UPD] Update l10n_pt_vat.pot
Dec 28, 2022
a23e414
[UPD] README.rst
OCA-git-bot Dec 28, 2022
840841f
Update translation files
weblate Dec 28, 2022
394611b
[REF] l10n_pt_vat: update development status
dreispt Dec 28, 2022
8bf20cf
[UPD] README.rst
OCA-git-bot Dec 29, 2022
6f07aef
[UPD] README.rst
OCA-git-bot Sep 3, 2023
aa350db
[FIX] l10n_pt_vat: remove file preventing Git clone on Windows
dreispt Dec 3, 2023
c98de84
[BOT] post-merge updates
OCA-git-bot Jan 27, 2024
5af470a
[FIX] added 2023 VAT PT exempt reasons and move to xml record
dduarte-odoogap Dec 29, 2023
df4b1ae
[UPD] Update l10n_pt_vat.pot
Jan 27, 2024
1265219
[BOT] post-merge updates
OCA-git-bot Jan 27, 2024
774ead8
Update translation files
weblate Jan 27, 2024
cebf4ed
[FIX] l10n_pt_vat: do not throw error if the line is a note or a section
Apr 17, 2024
44457c5
[IMP] l10n_pt_vat: pre-commit execution
dreispt Sep 19, 2024
5b1dccb
[MIG] l10n_pt_vat: Migration to 17.0
dreispt Sep 19, 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
100 changes: 100 additions & 0 deletions l10n_pt_vat/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
==============
Portugal - IVA
==============

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

.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--portugal-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-portugal/tree/17.0/l10n_pt_vat
:alt: OCA/l10n-portugal
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-portugal-17-0/l10n-portugal-17-0-l10n_pt_vat
: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/l10n-portugal&target_branch=17.0
:alt: Try me on Runboat

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

This modules extends the base localization modules with a few VAT
specific functions that are required by the Portuguese Tax Authorities,
including:

- The use of pre-defined legally accepted reasons for issuing credit
notes, as required for fields 40/41 of the VAT statement (Portaria nº
255/2013).

**Table of contents**

.. contents::
:local:

Usage
=====

On an Invoice, the VAT adjustment reason is available for selection.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-portugal/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/l10n-portugal/issues/new?body=module:%20l10n_pt_vat%0Aversion:%2017.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
-------

* Open Source Integrators
* Sossia

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

- Pedro Castro Silva (`Sossia <http://www.sossia.pt>`__)

- `Open Source Integrators <https://www.opensourceintegrators.com>`__

- Daniel Reis ([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-dreispt| image:: https://github.com/dreispt.png?size=40px
:target: https://github.com/dreispt
:alt: dreispt

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

|maintainer-dreispt|

This module is part of the `OCA/l10n-portugal <https://github.com/OCA/l10n-portugal/tree/17.0/l10n_pt_vat>`_ 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 l10n_pt_vat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
27 changes: 27 additions & 0 deletions l10n_pt_vat/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (C) 2021 Open Source Integrators (<http://www.opensourceintegrators.com>)
# Copyright (C) 2014 Sossia, Lda. (<http://www.sossia.pt>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Portugal - IVA",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Open Source Integrators, Sossia, Odoo Community Association (OCA)",
"summary": "Portuguese VAT requirements extensions",
"website": "https://github.com/OCA/l10n-portugal",
"category": "Accounting/Localizations",
"maintainers": ["dreispt"],
"development_status": "Production/Stable",
"depends": ["account", "l10n_pt"],
"data": [
"security/ir.model.access.csv",
"data/vat_exempt_reason.xml",
"data/vat_adjustment_norm.xml",
"views/account_journal_view.xml",
"views/account_move_view.xml",
"views/account_tax_view.xml",
"views/l10n_pt_vat_exempt_reason_view.xml",
"views/vat_adjustment_norm_view.xml",
],
"installable": True,
"auto_install": True,
}
96 changes: 96 additions & 0 deletions l10n_pt_vat/data/vat_adjustment_norm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<odoo noupdate="1">
<!--
VAT Adjustment Norm (Fields 40/41 of the VAT Statement)
-->
<record id="vat_adjustment_norm_a78n2" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 2</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n3" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 3</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n4" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 4</field>
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n6" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 6</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n7a" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 7, alínea a)</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n7b" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 7, alínea b)</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n7c" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 7, alínea c)</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n7d" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 7, alínea d)</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n8b" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 8, alínea b)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n8c" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 8, alínea c)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n8d" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 8, alínea d)</field>
<field name="out_refunds" eval="True" />
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n8e" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 8, alínea e)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78n12" model="account.vat.adjustment_norm">
<field name="name">Art. 78º, nº 12</field>
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78An2a" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-A, nº 2, alínea a)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78An4a" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-A, nº 4, alínea a)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78An4b" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-A, nº 4, alínea b)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78An4c" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-A, nº 4, alínea c)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78An4d" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-A, nº 4, alínea d)</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78Bn4" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-B, nº 4</field>
<field name="out_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78Cn1" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-C, nº 1</field>
<field name="in_refunds" eval="True" />
</record>
<record id="vat_adjustment_norm_a78Cn3" model="account.vat.adjustment_norm">
<field name="name">Art. 78º-C, nº 3</field>
<field name="in_refunds" eval="True" />
</record>
</odoo>
Loading
Loading