From ea49620dab08741042ecfe0afabcd8d58e95cee9 Mon Sep 17 00:00:00 2001 From: Valentin Vinagre Urteaga Date: Fri, 10 Dec 2021 10:22:24 +0100 Subject: [PATCH] [MIG] account_tax_balance: Migration to 15.0 --- account_tax_balance/README.rst | 13 ++++++++----- account_tax_balance/i18n/account_tax_balance.pot | 12 +----------- account_tax_balance/models/account_tax.py | 4 ++-- account_tax_balance/readme/CONTRIBUTORS.rst | 2 +- account_tax_balance/static/description/index.html | 10 +++++++--- 5 files changed, 19 insertions(+), 22 deletions(-) diff --git a/account_tax_balance/README.rst b/account_tax_balance/README.rst index 3d0345d3..ad77a3c0 100644 --- a/account_tax_balance/README.rst +++ b/account_tax_balance/README.rst @@ -14,13 +14,13 @@ Tax Balance :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--reporting-lightgray.png?logo=github - :target: https://github.com/OCA/account-financial-reporting/tree/14.0/account_tax_balance + :target: https://github.com/OCA/account-financial-reporting/tree/15.0/account_tax_balance :alt: OCA/account-financial-reporting .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-financial-reporting-14-0/account-financial-reporting-14-0-account_tax_balance + :target: https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_tax_balance :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/91/14.0 + :target: https://runbot.odoo-community.org/runbot/91/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -49,7 +49,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -74,6 +74,9 @@ Contributors * ACSONE SA/NV - Stéphane Bidoul * Andrea Stirpe * Iván Antón +* `Sygel `__: + + * Valentin Vinagre Maintainers ~~~~~~~~~~~ @@ -88,6 +91,6 @@ 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. -This module is part of the `OCA/account-financial-reporting `_ project on GitHub. +This module is part of the `OCA/account-financial-reporting `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_tax_balance/i18n/account_tax_balance.pot b/account_tax_balance/i18n/account_tax_balance.pot index 1258a491..3c916195 100644 --- a/account_tax_balance/i18n/account_tax_balance.pot +++ b/account_tax_balance/i18n/account_tax_balance.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -21,7 +21,6 @@ msgstr "" #. module: account_tax_balance #: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance -#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance msgid "Account Tax" msgstr "" @@ -86,9 +85,6 @@ msgid "Date Range" msgstr "" #. module: account_tax_balance -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__display_name -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__display_name -#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__display_name #: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__display_name msgid "Display Name" msgstr "" @@ -116,9 +112,6 @@ msgid "Has balance in period" msgstr "" #. module: account_tax_balance -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move__id -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line__id -#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax__id #: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances__id msgid "ID" msgstr "" @@ -134,9 +127,6 @@ msgid "Journal Item" msgstr "" #. module: account_tax_balance -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move____last_update -#: model:ir.model.fields,field_description:account_tax_balance.field_account_move_line____last_update -#: model:ir.model.fields,field_description:account_tax_balance.field_account_tax____last_update #: model:ir.model.fields,field_description:account_tax_balance.field_wizard_open_tax_balances____last_update msgid "Last Modified on" msgstr "" diff --git a/account_tax_balance/models/account_tax.py b/account_tax_balance/models/account_tax.py index 8f9b045d..7fc2fd22 100644 --- a/account_tax_balance/models/account_tax.py +++ b/account_tax_balance/models/account_tax.py @@ -139,8 +139,8 @@ class AccountTax(models.Model): domain = [ ("move_id.state", "in", state_list), ("tax_line_id", "=", self.id), - ("tax_exigible", "=", True), ] + domain.extend(self.env["account.move.line"]._get_tax_exigible_domain()) if type_list: domain.append(("move_id.financial_type", "in", type_list)) return domain @@ -149,8 +149,8 @@ class AccountTax(models.Model): domain = [ ("move_id.state", "in", state_list), ("tax_ids", "in", self.id), - ("tax_exigible", "=", True), ] + domain.extend(self.env["account.move.line"]._get_tax_exigible_domain()) if type_list: domain.append(("move_id.financial_type", "in", type_list)) return domain diff --git a/account_tax_balance/readme/CONTRIBUTORS.rst b/account_tax_balance/readme/CONTRIBUTORS.rst index 501e0bdc..4e3da90b 100644 --- a/account_tax_balance/readme/CONTRIBUTORS.rst +++ b/account_tax_balance/readme/CONTRIBUTORS.rst @@ -7,4 +7,4 @@ * Iván Antón * `Sygel `__: - * Valentin Vinagre \ No newline at end of file + * Valentin Vinagre diff --git a/account_tax_balance/static/description/index.html b/account_tax_balance/static/description/index.html index 470298d3..5196f2a3 100644 --- a/account_tax_balance/static/description/index.html +++ b/account_tax_balance/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: AGPL-3 OCA/account-financial-reporting Translate me on Weblate Try me on Runbot

+

Production/Stable License: AGPL-3 OCA/account-financial-reporting Translate me on Weblate Try me on Runbot

This module allows to compute tax balances within a certain date range. It depends on date_range module and exposes ‘compute’ methods that can be called by other modules (like localization ones).

@@ -397,7 +397,7 @@ It depends on date_range module and exposes ‘compute’ methods that can be ca

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.

+feedback.

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

@@ -421,6 +421,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
  • ACSONE SA/NV - Stéphane Bidoul
  • Andrea Stirpe <a.stirpe@onestein.nl>
  • Iván Antón <ozono@ozonomultimedia.com>
  • +
  • Sygel:
      +
    • Valentin Vinagre
    • +
    +
  • @@ -430,7 +434,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

    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.

    -

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

    +

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

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