diff --git a/account_chart_update_l10n_eu_oss/README.rst b/account_chart_update_l10n_eu_oss/README.rst new file mode 100644 index 00000000000..16a4571faac --- /dev/null +++ b/account_chart_update_l10n_eu_oss/README.rst @@ -0,0 +1,85 @@ +========================= +Account Chart update OSS +========================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:fb4e616ab2fac05d24819d5c0e8195a092536dc455393595689d285fca8a7f4e + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-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%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/17.0/account_chart_update_l10n_eu_oss + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_chart_update_l10n_eu_oss + :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-financial-tools&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Glue module for account chart update and OSS. It makes the wizard ignore +OSS taxes when updating the CoA. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* ForgeFlow + +Contributors +------------ + +- Lois Rilo + +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-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px + :target: https://github.com/LoisRForgeFlow + :alt: LoisRForgeFlow + +Current `maintainer `__: + +|maintainer-LoisRForgeFlow| + +This module is part of the `OCA/account-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_chart_update_l10n_eu_oss/__init__.py b/account_chart_update_l10n_eu_oss/__init__.py new file mode 100644 index 00000000000..40272379f72 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/account_chart_update_l10n_eu_oss/__manifest__.py b/account_chart_update_l10n_eu_oss/__manifest__.py new file mode 100644 index 00000000000..402981879c9 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2022 ForgeFlow S.L. (https://www.forgeflow.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Account Chart update OSS ", + "version": "17.0.1.0.0", + "author": "ForgeFlow, Odoo Community Association (OCA)", + "maintainers": ["LoisRForgeFlow"], + "website": "https://github.com/OCA/account-financial-tools", + "category": "Accounting", + "license": "AGPL-3", + "depends": [ + "account_chart_update", + "l10n_eu_oss", + ], + "installable": True, + "auto_install": True, +} diff --git a/account_chart_update_l10n_eu_oss/i18n/account_chart_update_l10n_eu_oss.pot b/account_chart_update_l10n_eu_oss/i18n/account_chart_update_l10n_eu_oss.pot new file mode 100644 index 00000000000..8eac7534663 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/i18n/account_chart_update_l10n_eu_oss.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_chart_update_l10n_eu_oss +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.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_chart_update_l10n_eu_oss +#: model:ir.model,name:account_chart_update_l10n_eu_oss.model_wizard_update_charts_accounts +msgid "Wizard Update Charts Accounts" +msgstr "" diff --git a/account_chart_update_l10n_eu_oss/pyproject.toml b/account_chart_update_l10n_eu_oss/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_chart_update_l10n_eu_oss/readme/CONTRIBUTORS.md b/account_chart_update_l10n_eu_oss/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..6d2ff621d20 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Lois Rilo \<\> diff --git a/account_chart_update_l10n_eu_oss/readme/DESCRIPTION.md b/account_chart_update_l10n_eu_oss/readme/DESCRIPTION.md new file mode 100644 index 00000000000..523a767136f --- /dev/null +++ b/account_chart_update_l10n_eu_oss/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Glue module for account chart update and OSS. It makes the wizard ignore +OSS taxes when updating the CoA. diff --git a/account_chart_update_l10n_eu_oss/static/description/icon.png b/account_chart_update_l10n_eu_oss/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/account_chart_update_l10n_eu_oss/static/description/icon.png differ diff --git a/account_chart_update_l10n_eu_oss/static/description/index.html b/account_chart_update_l10n_eu_oss/static/description/index.html new file mode 100644 index 00000000000..6763a642e6d --- /dev/null +++ b/account_chart_update_l10n_eu_oss/static/description/index.html @@ -0,0 +1,423 @@ + + + + + +Account Chart update OSS + + + +
+

Account Chart update OSS

+ + +

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runboat

+

Glue module for account chart update and OSS. It makes the wizard ignore +OSS taxes when updating the CoA.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ForgeFlow
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

LoisRForgeFlow

+

This module is part of the OCA/account-financial-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_chart_update_l10n_eu_oss/wizard/__init__.py b/account_chart_update_l10n_eu_oss/wizard/__init__.py new file mode 100644 index 00000000000..fbd95d57bd3 --- /dev/null +++ b/account_chart_update_l10n_eu_oss/wizard/__init__.py @@ -0,0 +1 @@ +from . import wizard_chart_update diff --git a/account_chart_update_l10n_eu_oss/wizard/wizard_chart_update.py b/account_chart_update_l10n_eu_oss/wizard/wizard_chart_update.py new file mode 100644 index 00000000000..81274860b2b --- /dev/null +++ b/account_chart_update_l10n_eu_oss/wizard/wizard_chart_update.py @@ -0,0 +1,13 @@ +# Copyright 2022 ForgeFlow S.L. (https://www.forgeflow.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class WizardUpdateChartsAccounts(models.TransientModel): + _inherit = "wizard.update.charts.accounts" + + def _domain_taxes_to_deactivate(self, found_taxes_ids): + domain = super()._domain_taxes_to_deactivate(found_taxes_ids) + domain.append(("tax_group_id.name", "not like", "OSS%%")) + return domain