diff --git a/crm_multicompany_reporting_currency/README.rst b/crm_multicompany_reporting_currency/README.rst new file mode 100644 index 00000000000..905f2f23f91 --- /dev/null +++ b/crm_multicompany_reporting_currency/README.rst @@ -0,0 +1,88 @@ +=================================== +CRM Multicompany Reporting Currency +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:5a00efc6b1298b56ae5461a54395c6e56b30719b473fb3b27a7183fb2584794b + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fcrm-lightgray.png?logo=github + :target: https://github.com/OCA/crm/tree/16.0/crm_multicompany_reporting_currency + :alt: OCA/crm +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_multicompany_reporting_currency + :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/crm&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This Module adds Amount in multicompany reporting currency to CRM Lead which can be used as a reporting tool. +You can then compare Expected Revenue in company currency to amount in multicompany reporting currency. +Multicompany reporting currency is installed from dependent https://github.com/OCA/sale-reporting/base_multicompany_reporting_currency module. + +**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 +~~~~~~~ + +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Maksym Yankin +* [APSL](https://apsl.tech): + * Antoni Marroig + +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-yankinmax| image:: https://github.com/yankinmax.png?size=40px + :target: https://github.com/yankinmax + :alt: yankinmax + +Current `maintainer `__: + +|maintainer-yankinmax| + +This module is part of the `OCA/crm `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_multicompany_reporting_currency/__init__.py b/crm_multicompany_reporting_currency/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/crm_multicompany_reporting_currency/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/crm_multicompany_reporting_currency/__manifest__.py b/crm_multicompany_reporting_currency/__manifest__.py new file mode 100644 index 00000000000..706bad0ae3e --- /dev/null +++ b/crm_multicompany_reporting_currency/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2022 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "CRM Multicompany Reporting Currency", + "summary": "Adds Amount in multicompany reporting currency to CRM Lead", + "version": "16.0.1.0.0", + "category": "Sales", + "author": "Camptocamp SA, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["crm", "base_multicompany_reporting_currency"], + "website": "https://github.com/OCA/crm", + "data": ["views/crm_lead_views.xml"], + "installable": True, + "maintainers": ["yankinmax"], +} diff --git a/crm_multicompany_reporting_currency/i18n/crm_multicompany_reporting_currency.pot b/crm_multicompany_reporting_currency/i18n/crm_multicompany_reporting_currency.pot new file mode 100644 index 00000000000..84c6075a6ae --- /dev/null +++ b/crm_multicompany_reporting_currency/i18n/crm_multicompany_reporting_currency.pot @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_multicompany_reporting_currency +# +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: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__amount_multicompany_reporting_currency +msgid "Amount Multicompany Reporting Currency" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_res_config_settings +msgid "Config Settings" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__currency_rate +msgid "Currency Rate" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_crm_lead +msgid "Lead/Opportunity" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__multicompany_reporting_currency_id +msgid "Multicompany Reporting Currency" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +msgid "Total" +msgstr "" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_lead_view_form +msgid "Total (Multicompany Reporting Currency)" +msgstr "" diff --git a/crm_multicompany_reporting_currency/i18n/es.po b/crm_multicompany_reporting_currency/i18n/es.po new file mode 100644 index 00000000000..7375983e0a0 --- /dev/null +++ b/crm_multicompany_reporting_currency/i18n/es.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_multicompany_reporting_currency +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-09-26 14:18+0000\n" +"Last-Translator: Ivorra78 \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: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__amount_multicompany_reporting_currency +msgid "Amount Multicompany Reporting Currency" +msgstr "Importe Divisa de referencia multicompañía" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_res_config_settings +msgid "Config Settings" +msgstr "Configuración de Ajustes" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__currency_rate +msgid "Currency Rate" +msgstr "Tipo de divisa" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Iniciativa/Oportundad" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__multicompany_reporting_currency_id +msgid "Multicompany Reporting Currency" +msgstr "Divisa de referencia de varias compañías" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +msgid "Total" +msgstr "Total" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_lead_view_form +msgid "Total (Multicompany Reporting Currency)" +msgstr "Total (divisa de referencia de varias compañías)" diff --git a/crm_multicompany_reporting_currency/i18n/it.po b/crm_multicompany_reporting_currency/i18n/it.po new file mode 100644 index 00000000000..e4d05210252 --- /dev/null +++ b/crm_multicompany_reporting_currency/i18n/it.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * crm_multicompany_reporting_currency +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-06-12 16:10+0000\n" +"Last-Translator: mymage \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 4.17\n" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__amount_multicompany_reporting_currency +msgid "Amount Multicompany Reporting Currency" +msgstr "Valuta resoconto valore multiazienda" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_res_config_settings +msgid "Config Settings" +msgstr "Impostazioni configurazione" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__currency_rate +msgid "Currency Rate" +msgstr "Tariffa valuta" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model,name:crm_multicompany_reporting_currency.model_crm_lead +msgid "Lead/Opportunity" +msgstr "Contatto/Opportunità" + +#. module: crm_multicompany_reporting_currency +#: model:ir.model.fields,field_description:crm_multicompany_reporting_currency.field_crm_lead__multicompany_reporting_currency_id +msgid "Multicompany Reporting Currency" +msgstr "Valuta resoconto multi azienda" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +msgid "Total" +msgstr "Totale" + +#. module: crm_multicompany_reporting_currency +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_case_tree_view_oppor +#: model_terms:ir.ui.view,arch_db:crm_multicompany_reporting_currency.crm_lead_view_form +msgid "Total (Multicompany Reporting Currency)" +msgstr "Totale (valuta resoconto multi azienda)" diff --git a/crm_multicompany_reporting_currency/models/__init__.py b/crm_multicompany_reporting_currency/models/__init__.py new file mode 100644 index 00000000000..ace3e0b9fd9 --- /dev/null +++ b/crm_multicompany_reporting_currency/models/__init__.py @@ -0,0 +1,2 @@ +from . import crm_lead +from . import res_config_settings diff --git a/crm_multicompany_reporting_currency/models/crm_lead.py b/crm_multicompany_reporting_currency/models/crm_lead.py new file mode 100644 index 00000000000..9264b16403f --- /dev/null +++ b/crm_multicompany_reporting_currency/models/crm_lead.py @@ -0,0 +1,83 @@ +# Copyright 2022 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo import api, fields, models + + +class CrmLead(models.Model): + _inherit = "crm.lead" + + def _get_multicompany_reporting_currency_id(self): + multicompany_reporting_currency_parameter = ( + self.env["ir.config_parameter"] + .sudo() + .get_param( + "base_multicompany_reporting_currency.multicompany_reporting_currency" + ) + ) + return self.env["res.currency"].browse( + int(multicompany_reporting_currency_parameter) + ) + + multicompany_reporting_currency_id = fields.Many2one( + "res.currency", + compute="_compute_multicompany_reporting_currency_id", + readonly=True, + store=True, + default=_get_multicompany_reporting_currency_id, + ) + currency_rate = fields.Float( + compute="_compute_currency_rate", store=True, digits=(12, 6) + ) + amount_multicompany_reporting_currency = fields.Monetary( + currency_field="multicompany_reporting_currency_id", + compute="_compute_amount_multicompany_reporting_currency", + store=True, + index=True, + readonly=True, + ) + + @api.depends("company_currency") + def _compute_multicompany_reporting_currency_id(self): + multicompany_reporting_currency_id = ( + self._get_multicompany_reporting_currency_id() + ) + for record in self: + record.multicompany_reporting_currency_id = ( + multicompany_reporting_currency_id + ) + + @api.depends("create_date", "company_id", "multicompany_reporting_currency_id") + def _compute_currency_rate(self): + # similar to currency_rate on sale.order + for record in self: + date = record.create_date or fields.Date.today() + if not record.company_id: + record.currency_rate = ( + record.multicompany_reporting_currency_id.with_context( + date=date + ).rate + or 1.0 + ) + elif ( + record.company_currency and record.multicompany_reporting_currency_id + ): # the following crashes if any one is undefined + record.currency_rate = self.env["res.currency"]._get_conversion_rate( + record.company_currency, + record.multicompany_reporting_currency_id, + record.company_id, + date, + ) + else: + record.currency_rate = 1.0 + + @api.depends( + "expected_revenue", "currency_rate", "multicompany_reporting_currency_id" + ) + def _compute_amount_multicompany_reporting_currency(self): + for record in self: + if record.company_currency == record.multicompany_reporting_currency_id: + to_amount = record.expected_revenue + else: + to_amount = record.expected_revenue * record.currency_rate + record.amount_multicompany_reporting_currency = to_amount diff --git a/crm_multicompany_reporting_currency/models/res_config_settings.py b/crm_multicompany_reporting_currency/models/res_config_settings.py new file mode 100644 index 00000000000..5fb0a9caab0 --- /dev/null +++ b/crm_multicompany_reporting_currency/models/res_config_settings.py @@ -0,0 +1,19 @@ +# Copyright 2022 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +from odoo import models + + +class ResConfigSettings(models.TransientModel): + _inherit = "res.config.settings" + + def set_values(self): + crm_lead = self.env["crm.lead"] + applied_currency = crm_lead._get_multicompany_reporting_currency_id() + super().set_values() + to_apply_currency = self.multicompany_reporting_currency + if applied_currency.id != to_apply_currency.id: + crm_lead.with_context(active_test=False).search([]).write( + {"multicompany_reporting_currency_id": to_apply_currency.id} + ) + return True diff --git a/crm_multicompany_reporting_currency/readme/CONTRIBUTORS.rst b/crm_multicompany_reporting_currency/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..60482a0ce84 --- /dev/null +++ b/crm_multicompany_reporting_currency/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* Maksym Yankin +* [APSL](https://apsl.tech): + * Antoni Marroig \ No newline at end of file diff --git a/crm_multicompany_reporting_currency/readme/DESCRIPTION.rst b/crm_multicompany_reporting_currency/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..89474d9ef11 --- /dev/null +++ b/crm_multicompany_reporting_currency/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This Module adds Amount in multicompany reporting currency to CRM Lead which can be used as a reporting tool. +You can then compare Expected Revenue in company currency to amount in multicompany reporting currency. +Multicompany reporting currency is installed from dependent https://github.com/OCA/sale-reporting/base_multicompany_reporting_currency module. diff --git a/crm_multicompany_reporting_currency/static/description/icon.png b/crm_multicompany_reporting_currency/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/crm_multicompany_reporting_currency/static/description/icon.png differ diff --git a/crm_multicompany_reporting_currency/static/description/index.html b/crm_multicompany_reporting_currency/static/description/index.html new file mode 100644 index 00000000000..c43292414cb --- /dev/null +++ b/crm_multicompany_reporting_currency/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +CRM Multicompany Reporting Currency + + + +
+

CRM Multicompany Reporting Currency

+ + +

Beta License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runboat

+

This Module adds Amount in multicompany reporting currency to CRM Lead which can be used as a reporting tool. +You can then compare Expected Revenue in company currency to amount in multicompany reporting currency. +Multicompany reporting currency is installed from dependent https://github.com/OCA/sale-reporting/base_multicompany_reporting_currency module.

+

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

+
    +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

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:

+

yankinmax

+

This module is part of the OCA/crm project on GitHub.

+

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

+
+
+
+ + diff --git a/crm_multicompany_reporting_currency/tests/__init__.py b/crm_multicompany_reporting_currency/tests/__init__.py new file mode 100644 index 00000000000..e01af85b705 --- /dev/null +++ b/crm_multicompany_reporting_currency/tests/__init__.py @@ -0,0 +1 @@ +from . import test_amount_multicompany_reporting_currency diff --git a/crm_multicompany_reporting_currency/tests/test_amount_multicompany_reporting_currency.py b/crm_multicompany_reporting_currency/tests/test_amount_multicompany_reporting_currency.py new file mode 100644 index 00000000000..72d91b5f677 --- /dev/null +++ b/crm_multicompany_reporting_currency/tests/test_amount_multicompany_reporting_currency.py @@ -0,0 +1,92 @@ +# Copyright 2022 Camptocamp SA +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html) + + +from odoo import fields +from odoo.tests.common import TransactionCase + +from odoo.addons.mail.tests.common import mail_new_test_user + + +class TestAmountMulticompanyReportingCurrency(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.currency_swiss_id = cls.env.ref("base.CHF").id + cls.currency_euro_id = cls.env.ref("base.EUR").id + cls.belgium = cls.env.ref("base.be").id + cls.company = cls.env["res.company"].create({"name": "My company"}) + cls.company.currency_id = cls.currency_euro_id + cls.user_sales_salesman = mail_new_test_user( + cls.env, + login="user_sales_salesman_1", + name="John Doe", + email="crm_salesman_1@test.example.com", + company_id=cls.company.id, + notification_type="inbox", + groups="sales_team.group_sale_salesman", + ) + cls.env["res.currency.rate"].create( + { + "name": fields.Date.today(), + "rate": 1.0038, + "currency_id": cls.currency_swiss_id, + "company_id": cls.company.id, + } + ) + cls.env["res.currency.rate"].create( + { + "name": fields.Date.today(), + "rate": 1, + "currency_id": cls.currency_euro_id, + "company_id": cls.company.id, + } + ) + + def test_amount_multicompany_reporting_currency(self): + # Company currency is in EUR, Amount Multicompany Reporting Currency is CHF + self.env["res.config.settings"].create( + {"multicompany_reporting_currency": self.currency_swiss_id} + ).execute() + self.lead_1 = ( + self.env["crm.lead"] + .with_company(self.company) + .create( + { + "name": "Lead 1", + "user_id": self.user_sales_salesman.id, + "country_id": self.belgium, + "expected_revenue": 1000, + } + ) + ) + self.assertAlmostEqual( + self.lead_1.amount_multicompany_reporting_currency, 1003.8 + ) + # Company currency is in EUR, Amount Multicompany Reporting Currency is EUR + self.env["res.config.settings"].create( + {"multicompany_reporting_currency": self.currency_euro_id} + ).execute() + self.lead_2 = ( + self.env["crm.lead"] + .with_company(self.company) + .create( + { + "name": "Lead 2", + "user_id": self.user_sales_salesman.id, + "country_id": self.belgium, + "expected_revenue": 1230, + } + ) + ) + self.assertAlmostEqual(self.lead_2.amount_multicompany_reporting_currency, 1230) + # Company isn't set on the Lead, Amount Multicompany Reporting Currency is EUR + self.lead_2 = self.env["crm.lead"].create( + { + "name": "Lead 2", + "user_id": self.user_sales_salesman.id, + "country_id": self.belgium, + "expected_revenue": 842, + } + ) + self.assertAlmostEqual(self.lead_2.amount_multicompany_reporting_currency, 842) diff --git a/crm_multicompany_reporting_currency/views/crm_lead_views.xml b/crm_multicompany_reporting_currency/views/crm_lead_views.xml new file mode 100644 index 00000000000..68bf75facef --- /dev/null +++ b/crm_multicompany_reporting_currency/views/crm_lead_views.xml @@ -0,0 +1,55 @@ + + + + + crm.lead + + + + + + + + + + + + crm.lead + + + +
+

+
+
+

+
+
+
+ +
diff --git a/setup/crm_multicompany_reporting_currency/odoo/addons/crm_multicompany_reporting_currency b/setup/crm_multicompany_reporting_currency/odoo/addons/crm_multicompany_reporting_currency new file mode 120000 index 00000000000..595ed74b3ba --- /dev/null +++ b/setup/crm_multicompany_reporting_currency/odoo/addons/crm_multicompany_reporting_currency @@ -0,0 +1 @@ +../../../../crm_multicompany_reporting_currency \ No newline at end of file diff --git a/setup/crm_multicompany_reporting_currency/setup.py b/setup/crm_multicompany_reporting_currency/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/crm_multicompany_reporting_currency/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000000..10a8c784860 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +odoo-addon-base_multicompany_reporting_currency @ git+https://github.com/OCA/sale-reporting.git@refs/pull/261/head#subdirectory=setup/base_multicompany_reporting_currency