Initial commit: OCA Financial packages (186 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:04 +02:00
commit 3e0e8473fb
8757 changed files with 947473 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# Account Tax Change
Odoo addon: account_tax_change
## Installation
```bash
pip install odoo-bringout-oca-account-invoicing-account_tax_change
```
## Dependencies
This addon depends on:
- account
## Manifest Information
- **Name**: Account Tax Change
- **Version**: 16.0.1.0.3
- **Category**: Accounting & Finance
- **License**: LGPL-3
- **Installable**: True
## Source
Based on [OCA/account-invoicing](https://github.com/OCA/account-invoicing) branch 16.0, addon `account_tax_change`.
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,107 @@
==================
Account Tax Change
==================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3a570dec58ed89b5edd2de533a2f2221a156a81f57ae146cbc67f27b4bf9d623
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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%2Faccount--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/16.0/account_tax_change
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_tax_change
: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/account-invoicing&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
Declare your tax changes starting from a date, and apply these changes on your
existing invoices.
**Table of contents**
.. contents::
:local:
Configuration
=============
Go to the menu *Invoicing / Configuration > Accounting > Tax changes* to
declare a new tax change starting from a given date:
.. image:: https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/account_tax_change.png
Usage
=====
From the customer invoices list, select the ones you want to apply the tax changes:
.. image:: https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_menu.png
.. image:: https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_form.png
NOTE: invoices already posted or paid won't be processed.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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/account-invoicing/issues/new?body=module:%20account_tax_change%0Aversion:%2016.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
~~~~~~~
* Camptocamp
Contributors
~~~~~~~~~~~~
* `Camptocamp <https://www.camptocamp.com>`_:
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Sébastien Alix <sebastien.alix@camptocamp.com>
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-sebalix| image:: https://github.com/sebalix.png?size=40px
:target: https://github.com/sebalix
:alt: sebalix
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-sebalix|
This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/16.0/account_tax_change>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1 @@
from . import models, wizards

View file

@ -0,0 +1,21 @@
# Copyright 2023 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
{
"name": "Account Tax Change",
"version": "16.0.1.0.3",
"summary": "Configure your tax changes starting from a date.",
"category": "Accounting & Finance",
"author": "Camptocamp, " "Odoo Community Association (OCA)",
"license": "LGPL-3",
"website": "https://github.com/OCA/account-invoicing",
"depends": ["account"],
"data": [
"security/ir.model.access.csv",
"views/account_tax_change.xml",
"wizards/account_move_apply_tax_change.xml",
],
"installable": True,
"development_status": "Beta",
"maintainers": ["sebalix"],
}

View file

@ -0,0 +1,196 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_change
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_tax_change
#: model:ir.model.constraint,message:account_tax_change.constraint_account_tax_change_name_company_date_uniq
msgid "A tax change already exists for this company at this date."
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__active
msgid "Active"
msgstr ""
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_move_apply_tax_change
msgid "Apply a tax change on invoices."
msgstr ""
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_move_apply_tax_change_action
msgid "Apply tax changes"
msgstr ""
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_tax_change_view_search
msgid "Archived"
msgstr ""
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Cancel"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__company_id
msgid "Company"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_uid
msgid "Created by"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_date
msgid "Created on"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__date
msgid "Date"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,help:account_tax_change.field_account_tax_change_line__type_tax_use
msgid ""
"Determines where the tax is selectable. Note : 'None' means a tax can't be "
"used by itself, however it can still be used in a group. 'adjustment' is "
"used to perform tax adjustment."
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__display_name
msgid "Display Name"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_src_id
msgid "From tax"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__id
msgid "ID"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__invoice_ids
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Invoices"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line____last_update
msgid "Last Modified on"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_uid
msgid "Last Updated by"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_date
msgid "Last Updated on"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__change_line_ids
msgid "Mapping"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__name
msgid "Name"
msgstr ""
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Once validated the tax changes cannot be rolled back."
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__tax_change_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_change_id
msgid "Tax Change"
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__type_tax_use
msgid "Tax Type"
msgstr ""
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change
msgid "Tax change mapping"
msgstr ""
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change_line
msgid "Tax change mapping line"
msgstr ""
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_tax_change_action
#: model:ir.ui.menu,name:account_tax_change.account_tax_change_menu
msgid "Tax changes"
msgstr ""
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/models/account_tax_change.py:0
#, python-format
msgid "Taxes From/To have to share the same type."
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_dest_id
msgid "To tax"
msgstr ""
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/wizards/account_move_apply_tax_change.py:0
#, python-format
msgid ""
"Unable to update taxes on the following invoices:\n"
"\n"
"- \n"
"- \n"
"\n"
"These invoices could be already paid, posted or cancelled."
msgstr ""
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Validate"
msgstr ""

View file

@ -0,0 +1,196 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_change
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: account_tax_change
#: model:ir.model.constraint,message:account_tax_change.constraint_account_tax_change_name_company_date_uniq
msgid "A tax change already exists for this company at this date."
msgstr "Promena poreza za ovu kompaniju već postoji na ovaj datum."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__active
msgid "Active"
msgstr "Aktivan"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_move_apply_tax_change
msgid "Apply a tax change on invoices."
msgstr "Primeni promenu poreza na fakture."
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_move_apply_tax_change_action
msgid "Apply tax changes"
msgstr "Primeni promene poreza"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_tax_change_view_search
msgid "Archived"
msgstr "Arhivirano"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Cancel"
msgstr "Otkaži"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__company_id
msgid "Company"
msgstr "Preduzeće"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__date
msgid "Date"
msgstr "Datum"
#. module: account_tax_change
#: model:ir.model.fields,help:account_tax_change.field_account_tax_change_line__type_tax_use
msgid ""
"Determines where the tax is selectable. Note : 'None' means a tax can't be "
"used by itself, however it can still be used in a group. 'adjustment' is "
"used to perform tax adjustment."
msgstr ""
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__display_name
msgid "Display Name"
msgstr "Prikazani naziv"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_src_id
msgid "From tax"
msgstr "Od poreza"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__id
msgid "ID"
msgstr "ID"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__invoice_ids
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Invoices"
msgstr "Fakture"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line____last_update
msgid "Last Modified on"
msgstr "Zadnje mijenjano"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__change_line_ids
msgid "Mapping"
msgstr "Mapiranje"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__name
msgid "Name"
msgstr "Naziv:"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Once validated the tax changes cannot be rolled back."
msgstr "Jednom potvrđene, promene poreza se ne mogu poništiti."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__tax_change_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_change_id
msgid "Tax Change"
msgstr "Promena poreza"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__type_tax_use
msgid "Tax Type"
msgstr "Tip poreza"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change
msgid "Tax change mapping"
msgstr "Mapiranje promene poreza"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change_line
msgid "Tax change mapping line"
msgstr "Linija mapiranja promene poreza"
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_tax_change_action
#: model:ir.ui.menu,name:account_tax_change.account_tax_change_menu
msgid "Tax changes"
msgstr "Promene poreza"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/models/account_tax_change.py:0
#, python-format
msgid "Taxes From/To have to share the same type."
msgstr "Porezi Od/Za moraju imati isti tip."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_dest_id
msgid "To tax"
msgstr "Na porez"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/wizards/account_move_apply_tax_change.py:0
#, python-format
msgid ""
"Unable to update taxes on the following invoices:\n"
"\n"
"- \n"
"- \n"
"\n"
"These invoices could be already paid, posted or cancelled."
msgstr ""
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Validate"
msgstr "Ovjeri"

View file

@ -0,0 +1,208 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_change
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-07-29 10:09+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. module: account_tax_change
#: model:ir.model.constraint,message:account_tax_change.constraint_account_tax_change_name_company_date_uniq
msgid "A tax change already exists for this company at this date."
msgstr "En esta fecha ya existe un cambio fiscal para esta empresa."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__active
msgid "Active"
msgstr "Activo"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_move_apply_tax_change
msgid "Apply a tax change on invoices."
msgstr "Aplicar un cambio fiscal en las facturas."
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_move_apply_tax_change_action
msgid "Apply tax changes"
msgstr "Aplicar cambios de impuestos"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_tax_change_view_search
msgid "Archived"
msgstr "Archivado"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Cancel"
msgstr "Cancelar"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__company_id
msgid "Company"
msgstr "Companía"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_date
msgid "Created on"
msgstr "Creado el"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__date
msgid "Date"
msgstr "Fecha"
#. module: account_tax_change
#: model:ir.model.fields,help:account_tax_change.field_account_tax_change_line__type_tax_use
msgid ""
"Determines where the tax is selectable. Note : 'None' means a tax can't be "
"used by itself, however it can still be used in a group. 'adjustment' is "
"used to perform tax adjustment."
msgstr ""
"Determina dónde se puede seleccionar el impuesto. Nota : 'Ninguno' significa "
"que un impuesto no puede ser usado por si mismo, sin embargo puede ser usado "
"en un grupo. 'Ajuste' se utiliza para realizar el ajuste de impuestos."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__display_name
msgid "Display Name"
msgstr "Nombre a Mostrar"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_src_id
msgid "From tax"
msgstr "Del impuesto"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__id
msgid "ID"
msgstr "ID (identificación)"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__invoice_ids
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Invoices"
msgstr "Facturas"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_uid
msgid "Last Updated by"
msgstr "Actualizado por última vez por"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_date
msgid "Last Updated on"
msgstr "Última Actualización el"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__change_line_ids
msgid "Mapping"
msgstr "Mapeo"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__name
msgid "Name"
msgstr "Nombre"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Once validated the tax changes cannot be rolled back."
msgstr "Una vez validados, los cambios fiscales no pueden anularse."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__tax_change_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_change_id
msgid "Tax Change"
msgstr "Cambio fiscal"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__type_tax_use
msgid "Tax Type"
msgstr "Tipo de impuesto"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change
msgid "Tax change mapping"
msgstr "Mapeo de cambio de impuestos"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change_line
msgid "Tax change mapping line"
msgstr "Línea de mapeo de cambio de impuestos"
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_tax_change_action
#: model:ir.ui.menu,name:account_tax_change.account_tax_change_menu
msgid "Tax changes"
msgstr "Cambios fiscales"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/models/account_tax_change.py:0
#, python-format
msgid "Taxes From/To have to share the same type."
msgstr "Los impuestos Desde/Hasta tienen que compartir el mismo tipo."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_dest_id
msgid "To tax"
msgstr "Para tributar"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/wizards/account_move_apply_tax_change.py:0
#, python-format
msgid ""
"Unable to update taxes on the following invoices:\n"
"\n"
"- \n"
"- \n"
"\n"
"These invoices could be already paid, posted or cancelled."
msgstr ""
"No se pueden actualizar los impuestos de las siguientes facturas:\n"
"\n"
"- \n"
"- \n"
"\n"
"Estas facturas podrían estar ya pagadas, contabilizadas o anuladas."
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Validate"
msgstr "Validar"

View file

@ -0,0 +1,209 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_tax_change
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-10-22 13:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"
#. module: account_tax_change
#: model:ir.model.constraint,message:account_tax_change.constraint_account_tax_change_name_company_date_uniq
msgid "A tax change already exists for this company at this date."
msgstr "Alla data attuale, per questa società esiste già una modifica imposta."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__active
msgid "Active"
msgstr "Attiva"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_move_apply_tax_change
msgid "Apply a tax change on invoices."
msgstr "Applica una modifica imposta nella fattura."
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_move_apply_tax_change_action
msgid "Apply tax changes"
msgstr "Applica modifica imposta"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_tax_change_view_search
msgid "Archived"
msgstr "In archivio"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Cancel"
msgstr "Annulla"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__company_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__company_id
msgid "Company"
msgstr "Azienda"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_uid
msgid "Created by"
msgstr "Creato da"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__create_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__create_date
msgid "Created on"
msgstr "Creato il"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__date
msgid "Date"
msgstr "Data"
#. module: account_tax_change
#: model:ir.model.fields,help:account_tax_change.field_account_tax_change_line__type_tax_use
msgid ""
"Determines where the tax is selectable. Note : 'None' means a tax can't be "
"used by itself, however it can still be used in a group. 'adjustment' is "
"used to perform tax adjustment."
msgstr ""
"Determina dove è selezionabile l'imposta. Nota: \"Nessuno\" significa che "
"una tassa non può essere utilizzata da sola, ma può comunque essere "
"utilizzata in un gruppo. \"Correzione\" è utilizzato per eseguire la "
"correzione dell'imposta."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__display_name
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__display_name
msgid "Display Name"
msgstr "Nome visualizzato"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_src_id
msgid "From tax"
msgstr "Da imposta"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__id
msgid "ID"
msgstr "ID"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__invoice_ids
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Invoices"
msgstr "Fatture"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change____last_update
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_uid
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__write_date
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__change_line_ids
msgid "Mapping"
msgstr "Mappatura"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change__name
msgid "Name"
msgstr "Nome"
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Once validated the tax changes cannot be rolled back."
msgstr "Una volta validata la modifica imposta non può essere invertita."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_move_apply_tax_change__tax_change_id
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_change_id
msgid "Tax Change"
msgstr "Modifica imposta"
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__type_tax_use
msgid "Tax Type"
msgstr "Tipo imposta"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change
msgid "Tax change mapping"
msgstr "Mappatura modifica imposta"
#. module: account_tax_change
#: model:ir.model,name:account_tax_change.model_account_tax_change_line
msgid "Tax change mapping line"
msgstr "Riga mappatura modifica imposta"
#. module: account_tax_change
#: model:ir.actions.act_window,name:account_tax_change.account_tax_change_action
#: model:ir.ui.menu,name:account_tax_change.account_tax_change_menu
msgid "Tax changes"
msgstr "Modifiche imposta"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/models/account_tax_change.py:0
#, python-format
msgid "Taxes From/To have to share the same type."
msgstr "Le imposta da/a devono condividere lo stesso tipo."
#. module: account_tax_change
#: model:ir.model.fields,field_description:account_tax_change.field_account_tax_change_line__tax_dest_id
msgid "To tax"
msgstr "A imposta"
#. module: account_tax_change
#. odoo-python
#: code:addons/account_tax_change/wizards/account_move_apply_tax_change.py:0
#, python-format
msgid ""
"Unable to update taxes on the following invoices:\n"
"\n"
"- \n"
"- \n"
"\n"
"These invoices could be already paid, posted or cancelled."
msgstr ""
"Impossibile aggiornare le imposte nelle seguenti fatture:\n"
"\n"
"- \n"
"- \n"
"\n"
"Queste fatture potrebbero essere già pagate, confermate, annullate."
#. module: account_tax_change
#: model_terms:ir.ui.view,arch_db:account_tax_change.account_move_apply_tax_change_view_form
msgid "Validate"
msgstr "Valida"

View file

@ -0,0 +1 @@
from . import account_tax_change

View file

@ -0,0 +1,75 @@
# Copyright 2023 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
from odoo import _, api, fields, models
from odoo.exceptions import ValidationError
class AccountTaxChange(models.Model):
_name = "account.tax.change"
_description = "Tax change mapping"
name = fields.Char(required=True)
active = fields.Boolean(default=True)
date = fields.Date(required=True)
company_id = fields.Many2one(
comodel_name="res.company",
string="Company",
required=True,
readonly=True,
default=lambda self: self.env.company,
)
change_line_ids = fields.One2many(
comodel_name="account.tax.change.line",
inverse_name="tax_change_id",
string="Mapping",
)
_sql_constraints = [
(
"name_company_date_uniq",
"unique(name, company_id, date)",
"A tax change already exists for this company at this date.",
),
]
class AccountTaxChangeLine(models.Model):
_name = "account.tax.change.line"
_description = "Tax change mapping line"
_check_company_auto = True
tax_change_id = fields.Many2one(
comodel_name="account.tax.change",
ondelete="cascade",
required=True,
index=True,
)
company_id = fields.Many2one(related="tax_change_id.company_id")
tax_src_id = fields.Many2one(
comodel_name="account.tax",
ondelete="cascade",
string="From tax",
required=True,
check_company=True,
index=True,
)
type_tax_use = fields.Selection(
related="tax_src_id.type_tax_use",
)
tax_dest_id = fields.Many2one(
comodel_name="account.tax",
ondelete="cascade",
string="To tax",
required=True,
check_company=True,
domain="[('id', '!=', tax_src_id), ('type_tax_use', '=', type_tax_use)]",
)
@api.constrains("tax_src_id", "tax_dest_id")
def _check_type_tax_use(self):
for line in self:
if not line.tax_src_id or not line.tax_dest_id:
continue
if line.tax_src_id.type_tax_use != line.tax_dest_id.type_tax_use:
raise ValidationError(_("Taxes From/To have to share the same type."))

View file

@ -0,0 +1,4 @@
Go to the menu *Invoicing / Configuration > Accounting > Tax changes* to
declare a new tax change starting from a given date:
.. image:: ../static/description/account_tax_change.png

View file

@ -0,0 +1,4 @@
* `Camptocamp <https://www.camptocamp.com>`_:
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Sébastien Alix <sebastien.alix@camptocamp.com>

View file

@ -0,0 +1,2 @@
Declare your tax changes starting from a date, and apply these changes on your
existing invoices.

View file

@ -0,0 +1,7 @@
From the customer invoices list, select the ones you want to apply the tax changes:
.. image:: ../static/description/apply_tax_changes_menu.png
.. image:: ../static/description/apply_tax_changes_form.png
NOTE: invoices already posted or paid won't be processed.

View file

@ -0,0 +1,11 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_tax_change_internal_user,account.tax.change internal user,model_account_tax_change,base.group_user,1,0,0,0
access_account_tax_change_line_internal_user,account.tax.change.line internal user,model_account_tax_change_line,base.group_user,1,0,0,0
access_account_tax_change_readonly,account.tax.change,model_account_tax_change,account.group_account_readonly,1,0,0,0
access_account_tax_change_line_readonly,account.tax.change.line,model_account_tax_change_line,account.group_account_readonly,1,0,0,0
access_account_tax_change_invoice,account.tax.change,model_account_tax_change,account.group_account_invoice,1,0,0,0
access_account_tax_change_line_invoice,account.tax.change.line,model_account_tax_change_line,account.group_account_invoice,1,0,0,0
access_account_tax_change_manager,account.tax.change,model_account_tax_change,account.group_account_manager,1,1,1,1
access_account_tax_change_line_manager,account.tax.change.line,model_account_tax_change_line,account.group_account_manager,1,1,1,1
access_account_move_apply_tax_change_invoice,account.move.apply.tax.change,model_account_move_apply_tax_change,account.group_account_invoice,1,1,1,1
access_account_move_apply_tax_change_manager,account.move.apply.tax.change.manager,model_account_move_apply_tax_change,account.group_account_manager,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_tax_change_internal_user account.tax.change internal user model_account_tax_change base.group_user 1 0 0 0
3 access_account_tax_change_line_internal_user account.tax.change.line internal user model_account_tax_change_line base.group_user 1 0 0 0
4 access_account_tax_change_readonly account.tax.change model_account_tax_change account.group_account_readonly 1 0 0 0
5 access_account_tax_change_line_readonly account.tax.change.line model_account_tax_change_line account.group_account_readonly 1 0 0 0
6 access_account_tax_change_invoice account.tax.change model_account_tax_change account.group_account_invoice 1 0 0 0
7 access_account_tax_change_line_invoice account.tax.change.line model_account_tax_change_line account.group_account_invoice 1 0 0 0
8 access_account_tax_change_manager account.tax.change model_account_tax_change account.group_account_manager 1 1 1 1
9 access_account_tax_change_line_manager account.tax.change.line model_account_tax_change_line account.group_account_manager 1 1 1 1
10 access_account_move_apply_tax_change_invoice account.move.apply.tax.change model_account_move_apply_tax_change account.group_account_invoice 1 1 1 1
11 access_account_move_apply_tax_change_manager account.move.apply.tax.change.manager model_account_move_apply_tax_change account.group_account_manager 1 1 1 1

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -0,0 +1,445 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Account Tax Change</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="account-tax-change">
<h1 class="title">Account Tax Change</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3a570dec58ed89b5edd2de533a2f2221a156a81f57ae146cbc67f27b4bf9d623
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-invoicing/tree/16.0/account_tax_change"><img alt="OCA/account-invoicing" src="https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_tax_change"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Declare your tax changes starting from a date, and apply these changes on your
existing invoices.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-3">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-4">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-5">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-6">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-7">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>Go to the menu <em>Invoicing / Configuration &gt; Accounting &gt; Tax changes</em> to
declare a new tax change starting from a given date:</p>
<img alt="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/account_tax_change.png" src="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/account_tax_change.png" />
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>From the customer invoices list, select the ones you want to apply the tax changes:</p>
<img alt="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_menu.png" src="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_menu.png" />
<img alt="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_form.png" src="https://raw.githubusercontent.com/OCA/account-invoicing/16.0/account_tax_change/static/description/apply_tax_changes_form.png" />
<p>NOTE: invoices already posted or paid wont be processed.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-invoicing/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_tax_change%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
<ul class="simple">
<li>Camptocamp</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<ul>
<li><p class="first"><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a>:</p>
<blockquote>
<ul class="simple">
<li>Akim Juillerat &lt;<a class="reference external" href="mailto:akim.juillerat&#64;camptocamp.com">akim.juillerat&#64;camptocamp.com</a>&gt;</li>
<li>Sébastien Alix &lt;<a class="reference external" href="mailto:sebastien.alix&#64;camptocamp.com">sebastien.alix&#64;camptocamp.com</a>&gt;</li>
</ul>
</blockquote>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/sebalix"><img alt="sebalix" src="https://github.com/sebalix.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoicing/tree/16.0/account_tax_change">OCA/account-invoicing</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1 @@
from . import test_account_tax_change

View file

@ -0,0 +1,46 @@
# Copyright 2023 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
from odoo.tests.common import Form
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
class AccountTaxChangeCommon(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
# Prepare the taxes and products
cls.product_b.taxes_id -= cls.product_a.taxes_id
# Set a different tax amount to ensure invoice totals are well recomputed
cls.product_a.taxes_id.amount /= 2
# Prepare invoices
cls.invoice_tax_a = cls.init_invoice("out_invoice", products=cls.product_a)
cls.invoice_tax_b = cls.init_invoice("out_invoice", products=cls.product_b)
# Configure the tax change
cls.tax_change_a2b = cls.env["account.tax.change"].create(
{
"name": "TEST A2B",
"date": cls.invoice_tax_a.invoice_date,
"change_line_ids": [
(
0,
0,
{
"tax_src_id": cls.tax_sale_a.id,
"tax_dest_id": cls.tax_sale_b.id,
},
),
],
}
)
@classmethod
def apply_tax_change(cls, tax_change, invoices):
with Form(cls.env["account.move.apply.tax.change"]) as wiz_form:
wiz_form.tax_change_id = tax_change
for invoice in invoices:
wiz_form.invoice_ids.add(invoice)
wiz = wiz_form.save()
wiz.validate()

View file

@ -0,0 +1,47 @@
# Copyright 2023 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
from odoo.exceptions import UserError
from odoo.tests import tagged
from .common import AccountTaxChangeCommon
@tagged("post_install", "-at_install")
class TestAccountTaxChange(AccountTaxChangeCommon):
def test_apply_tax_change(self):
"""Apply a tax change A to B on an invoice using tax A."""
invoice = self.invoice_tax_a
old_taxes = invoice.invoice_line_ids.tax_ids
old_amount_tax = invoice.amount_tax
self.apply_tax_change(self.tax_change_a2b, invoice)
new_taxes = invoice.invoice_line_ids.tax_ids
new_amount_tax = invoice.amount_tax
self.assertNotEqual(old_taxes, new_taxes)
self.assertEqual(new_taxes, self.tax_sale_b)
self.assertNotEqual(old_amount_tax, new_amount_tax)
def test_apply_tax_change_no_change(self):
"""Apply a tax change A to B on an invoice using already tax B."""
invoice = self.invoice_tax_b
old_taxes = invoice.invoice_line_ids.tax_ids
old_amount_tax = invoice.amount_tax
self.apply_tax_change(self.tax_change_a2b, invoice)
new_taxes = invoice.invoice_line_ids.tax_ids
new_amount_tax = invoice.amount_tax
self.assertEqual(old_taxes, new_taxes, self.tax_sale_b)
self.assertEqual(old_amount_tax, new_amount_tax)
def test_apply_tax_change_invalid_invoice(self):
"""Run the tax change wizard on a non-elligible invoice."""
invoice = self.invoice_tax_a
invoice.state = "cancel"
# Adding the invoice on the wizard
with self.assertRaises(UserError):
self.apply_tax_change(self.tax_change_a2b, invoice)
# Or calling the wizard directly on the selected invoice
with self.assertRaises(UserError):
wiz_model = self.env["account.move.apply.tax.change"]
wiz_model.with_context(
active_model=invoice._name, active_ids=invoice.ids
).default_get(list(invoice._fields))

View file

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Camptocamp SA
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<odoo>
<record id="account_tax_change_view_form" model="ir.ui.view">
<field name="name">account.tax.change.form</field>
<field name="model">account.tax.change</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group>
<field name="name" />
<field name="date" />
</group>
<group>
<field name="active" widget="boolean_toggle" />
<field name="company_id" groups="base.group_multi_company" />
</group>
</group>
<field name="change_line_ids">
<tree editable="bottom">
<field name="tax_src_id" />
<field name="type_tax_use" invisible="1" />
<field name="tax_dest_id" />
<field name="company_id" invisible="1" />
</tree>
</field>
</sheet>
</form>
</field>
</record>
<record id="account_tax_change_view_tree" model="ir.ui.view">
<field name="name">account.tax.change.tree</field>
<field name="model">account.tax.change</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="date" />
</tree>
</field>
</record>
<record id="account_tax_change_view_search" model="ir.ui.view">
<field name="name">account.tax.change.search</field>
<field name="model">account.tax.change</field>
<field name="type">search</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="date" />
<filter string="Archived" name="inactive" domain="[('active','=',False)]" />
</search>
</field>
</record>
<record id="account_tax_change_action" model="ir.actions.act_window">
<field name="name">Tax changes</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.tax.change</field>
<field name="view_id" ref="account_tax_change_view_tree" />
</record>
<menuitem
id="account_tax_change_menu"
parent="account.account_account_menu"
action="account_tax_change_action"
sequence="2"
/>
</odoo>

View file

@ -0,0 +1 @@
from . import account_move_apply_tax_change

View file

@ -0,0 +1,106 @@
# Copyright 2023 Camptocamp SA
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl)
from odoo import _, api, fields, models
from odoo.exceptions import UserError
class AccountMoveApplyTaxChange(models.TransientModel):
_name = "account.move.apply.tax.change"
_description = "Apply a tax change on invoices."
_check_company_auto = True
@api.model
def default_get(self, fields_list):
res = super().default_get(fields_list)
active_model = self.env.context.get("active_model")
if active_model == "account.move":
invoice_ids = self.env.context.get("active_ids")
self._check_invoices(invoice_ids)
res["invoice_ids"] = [(6, 0, invoice_ids)]
return res
company_id = fields.Many2one(
comodel_name="res.company",
string="Company",
required=True,
readonly=True,
default=lambda self: self.env.company,
)
tax_change_id = fields.Many2one(
comodel_name="account.tax.change",
ondelete="cascade",
required=True,
check_company=True,
string="Tax Change",
)
invoice_ids = fields.Many2many(
comodel_name="account.move",
required=True,
string="Invoices",
domain="[('state', '=', 'draft'), ('payment_state', '=', 'not_paid')]",
check_company=True,
)
def _check_invoices(self, invoice_ids):
invoices = self.env["account.move"].search(
[
("id", "in", invoice_ids),
"|",
("state", "!=", "draft"),
("payment_state", "!=", "not_paid"),
]
)
if invoices:
raise UserError(
_(
"Unable to update taxes on the following invoices:\n\n- "
+ "\n- ".join(invoices.mapped("name"))
+ "\n\nThese invoices could be already paid, posted or "
"cancelled."
)
)
def validate(self):
"""Apply the tax changes on the selected invoices."""
self.ensure_one()
src_taxes = self.tax_change_id.change_line_ids.tax_src_id
self._check_invoices(self.invoice_ids.ids)
for invoice in self.invoice_ids:
if self._skip_invoice(invoice):
continue
invoice_lines = invoice.invoice_line_ids
for line in invoice_lines:
# Skip the line if:
# - no tax to replace
if not line.tax_ids & src_taxes:
continue
# - invoice date doesn't match
if self._skip_line(line):
continue
self._change_taxes(line)
return True
def _skip_invoice(self, invoice):
"""No tax change on invoice already posted or paid."""
return invoice.state == "posted" or invoice.payment_state == "paid"
def _skip_line(self, line):
"""Return `True` if the tax change should not be applied on the line.
Other modules could override this method.
"""
return False
def _change_taxes(self, line):
"""Apply the tax change in the invoice line.
Other modules could override this method.
"""
for tax_change_line in self.tax_change_id.change_line_ids:
if tax_change_line.tax_src_id in line.tax_ids:
line.tax_ids -= tax_change_line.tax_src_id
line.tax_ids |= tax_change_line.tax_dest_id
line.invalidate_recordset()
line.modified(["tax_ids"])
line.flush_recordset()

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Camptocamp SA
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<odoo>
<record id="account_move_apply_tax_change_view_form" model="ir.ui.view">
<field name="name">account.move.apply.tax.change.form</field>
<field name="model">account.move.apply.tax.change</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="company_id" invisible="1" />
<field
name="tax_change_id"
options="{'no_create': True, 'no_edit': True}"
/>
</group>
<group string="Invoices">
<field
name="invoice_ids"
options="{'no_create': True, 'no_edit': True}"
nolabel="1"
colspan="2"
/>
</group>
<div class="alert alert-warning" role="alert">
Once validated the tax changes cannot be rolled back.
</div>
</sheet>
<footer>
<button name="validate" type="object" string="Validate" class="btn-primary" />
<button string="Cancel" class="btn-secondary" special="cancel" />
</footer>
</form>
</field>
</record>
<record id="account_move_apply_tax_change_action" model="ir.actions.act_window">
<field name="name">Apply tax changes</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.move.apply.tax.change</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field name="groups_id" eval="[(4,ref('account.group_account_invoice'))]" />
<field name="binding_model_id" ref="account.model_account_move" />
<field name="binding_view_types">list,form</field>
</record>
</odoo>

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Account_tax_change Module - account_tax_change
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for account_tax_change. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [account](../../odoo-bringout-oca-ocb-account)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon account_tax_change or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-account-invoicing-account_tax_change"
# or
uv pip install odoo-bringout-oca-account-invoicing-account_tax_change"
```

View file

@ -0,0 +1,13 @@
# Models
Detected core models and extensions in account_tax_change.
```mermaid
classDiagram
class account_tax_change
class account_tax_change_line
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: account_tax_change. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon account_tax_change
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,34 @@
# Security
Access control and security definitions in account_tax_change.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[ir.model.access.csv](../account_tax_change/security/ir.model.access.csv)**
- 10 model access rules
## Record Rules
Row-level security rules defined in:
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[ir.model.access.csv](../account_tax_change/security/ir.model.access.csv)**
- Model access permissions (CRUD rights)
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon account_tax_change
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-account-invoicing-account_tax_change"
version = "16.0.0"
description = "Account Tax Change - Configure your tax changes starting from a date."
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ocb-account>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["account_tax_change"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]