diff --git a/sale_report_salesperson_from_partner/README.rst b/sale_report_salesperson_from_partner/README.rst
index a6ae50a0..92111654 100644
--- a/sale_report_salesperson_from_partner/README.rst
+++ b/sale_report_salesperson_from_partner/README.rst
@@ -74,13 +74,13 @@ 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-pilar-vargas| image:: https://github.com/pilar-vargas.png?size=40px
- :target: https://github.com/pilar-vargas
- :alt: pilar-vargas
+.. |maintainer-pilarvargas-tecnativa| image:: https://github.com/pilarvargas-tecnativa.png?size=40px
+ :target: https://github.com/pilarvargas-tecnativa
+ :alt: pilarvargas-tecnativa
Current `maintainer Maintainers
mission is to support the collaborative development of Odoo features and
promote its widespread use.
Current maintainer:
- +This module is part of the OCA/sale-reporting project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py b/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py index c97e3789..7414c98a 100644 --- a/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py +++ b/sale_report_salesperson_from_partner/tests/test_sale_report_salesperson_from_partner.py @@ -1,23 +1,15 @@ -# Copyright 2022 Tecnativa - Víctor Martínez +# Copyright 2024 Tecnativa - Pilar Vargas # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests import Form, common, new_test_user +from odoo.tests import Form, new_test_user +from odoo.addons.base.tests.common import BaseCommon -class SaleReportSalespersonFromPartner(common.TransactionCase): + +class SaleReportSalespersonFromPartner(BaseCommon): @classmethod def setUpClass(cls): super().setUpClass() - # Remove this variable in v16 and put instead: - # from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT - DISABLED_MAIL_CONTEXT = { - "tracking_disable": True, - "mail_create_nolog": True, - "mail_create_nosubscribe": True, - "mail_notrack": True, - "no_reset_password": True, - } - cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT)) cls.salesperson = new_test_user( cls.env, login="test_salesperson_from_partner",