diff --git a/account_chart_update_l10n_eu_oss_oca/README.rst b/account_chart_update_l10n_eu_oss_oca/README.rst new file mode 100644 index 00000000..cfe82a74 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/README.rst @@ -0,0 +1,82 @@ +============================ +Account Chart update OSS OCA +============================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/15.0/account_chart_update_l10n_eu_oss_oca + :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-15-0/account-financial-tools-15-0-account_chart_update_l10n_eu_oss_oca + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/15.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Glue module for account chart update and OSS (OCA version). 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 smashing 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_oca/__init__.py b/account_chart_update_l10n_eu_oss_oca/__init__.py new file mode 100644 index 00000000..40272379 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/account_chart_update_l10n_eu_oss_oca/__manifest__.py b/account_chart_update_l10n_eu_oss_oca/__manifest__.py new file mode 100644 index 00000000..066e0294 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/__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 OCA", + "version": "15.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_oca", + ], + "installable": True, + "auto_install": True, +} diff --git a/account_chart_update_l10n_eu_oss_oca/readme/CONTRIBUTORS.rst b/account_chart_update_l10n_eu_oss_oca/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..77dfbe89 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Lois Rilo diff --git a/account_chart_update_l10n_eu_oss_oca/readme/DESCRIPTION.rst b/account_chart_update_l10n_eu_oss_oca/readme/DESCRIPTION.rst new file mode 100644 index 00000000..117c62da --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +Glue module for account chart update and OSS (OCA version). It makes the wizard +ignore OSS taxes when updating the CoA. diff --git a/account_chart_update_l10n_eu_oss_oca/static/description/icon.png b/account_chart_update_l10n_eu_oss_oca/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/account_chart_update_l10n_eu_oss_oca/static/description/icon.png differ diff --git a/account_chart_update_l10n_eu_oss_oca/static/description/index.html b/account_chart_update_l10n_eu_oss_oca/static/description/index.html new file mode 100644 index 00000000..ca4f0332 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/static/description/index.html @@ -0,0 +1,422 @@ + + + + + + +Account Chart update OSS OCA + + + +
+

Account Chart update OSS OCA

+ + +

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

+

Glue module for account chart update and OSS (OCA version). 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 smashing 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_oca/wizard/__init__.py b/account_chart_update_l10n_eu_oss_oca/wizard/__init__.py new file mode 100644 index 00000000..fbd95d57 --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/wizard/__init__.py @@ -0,0 +1 @@ +from . import wizard_chart_update diff --git a/account_chart_update_l10n_eu_oss_oca/wizard/wizard_chart_update.py b/account_chart_update_l10n_eu_oss_oca/wizard/wizard_chart_update.py new file mode 100644 index 00000000..d43a045c --- /dev/null +++ b/account_chart_update_l10n_eu_oss_oca/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(("oss_country_id", "=", False)) + return domain