diff --git a/sale_wishlist/README.rst b/sale_wishlist/README.rst new file mode 100644 index 00000000000..51d7a1eb1dc --- /dev/null +++ b/sale_wishlist/README.rst @@ -0,0 +1,111 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +============= +Sale Wishlist +============= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ec9bcd0b13f46c956f617ff470c869da7da063560e19594a7a4a62e27d4b323a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/license-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%2Fsale--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/sale-workflow/tree/19.0/sale_wishlist + :alt: OCA/sale-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/sale-workflow-19-0/sale-workflow-19-0-sale_wishlist + :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/sale-workflow&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Extends sale_product_set features to add a new typology: wishlist. This +module can serve as base to handle multiple wishlists for a customer, +being or not e-commerce related. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +- Define a *product set* as sale manager and select typology "wishlist" +- Assign it to a partner +- On the partner you'll see a smart button that brings you to customer's + wishlists +- Once you clicked on it you can create more wishlists for that + customer. + +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 +------------ + +- Simone Orsi +- Son (Ho Dac) +- Phuc (Tran Thanh) +- Tuan Nguyen +- `Heliconia Solutions Pvt. Ltd. `__ + + - Bhavesh Heliconia + +Other credits +------------- + +The development of this module has been financially supported by: + +- Camptocamp +- Cosanum + +The migration of this module from 16.0 to 18.0 was financially supported +by Camptocamp. + +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. + +This module is part of the `OCA/sale-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_wishlist/__init__.py b/sale_wishlist/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/sale_wishlist/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/sale_wishlist/__manifest__.py b/sale_wishlist/__manifest__.py new file mode 100644 index 00000000000..667a05451f0 --- /dev/null +++ b/sale_wishlist/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Sale Wishlist", + "summary": """ + Handle sale wishlist for partners""", + "version": "19.0.1.0.0", + "license": "AGPL-3", + "author": "Camptocamp SA,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/sale-workflow", + "depends": ["sale_product_set"], + "data": ["views/product_set.xml", "views/partner.xml"], +} diff --git a/sale_wishlist/i18n/es.po b/sale_wishlist/i18n/es.po new file mode 100644 index 00000000000..bf61c692234 --- /dev/null +++ b/sale_wishlist/i18n/es.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_wishlist +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-07-27 10:19+0000\n" +"Last-Translator: Daniel Martinez Vila \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 3.10\n" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__wishlists_count +#: model:ir.model.fields,field_description:sale_wishlist.field_res_users__wishlists_count +msgid "# Wishlists" +msgstr "# Listas de deseos" + +#. module: sale_wishlist +#: model_terms:ir.ui.view,arch_db:sale_wishlist.res_partner_view_form +msgid "Wishlists" +msgstr "Listas de deseos" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__set +msgid "Default" +msgstr "Defecto" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_product_set +msgid "Product set" +msgstr "Conjunto de productos" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__typology +#: model_terms:ir.ui.view,arch_db:sale_wishlist.view_product_set_search +msgid "Typology" +msgstr "Tipología" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__wishlist +msgid "Wishlist" +msgstr "Lista de deseos" + +#. module: sale_wishlist +#. odoo-python +#: code:addons/sale_wishlist/models/res_partner.py:0 +#, python-format +msgid "Wishlists" +msgstr "Lista de deseos" diff --git a/sale_wishlist/i18n/fr_FR.po b/sale_wishlist/i18n/fr_FR.po new file mode 100644 index 00000000000..4565fd555bc --- /dev/null +++ b/sale_wishlist/i18n/fr_FR.po @@ -0,0 +1,78 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_wishlist +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-04-11 17:46+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr_FR\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.3.2\n" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__wishlists_count +#: model:ir.model.fields,field_description:sale_wishlist.field_res_users__wishlists_count +msgid "# Wishlists" +msgstr "# Liste de souhaits" + +#. module: sale_wishlist +#: model_terms:ir.ui.view,arch_db:sale_wishlist.res_partner_view_form +msgid "Wishlists" +msgstr "Listes de souhaits" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_res_partner +msgid "Contact" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__set +msgid "Default" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__display_name +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__display_name +msgid "Display Name" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__id +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__id +msgid "ID" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set____last_update +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner____last_update +msgid "Last Modified on" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_product_set +msgid "Product set" +msgstr "Set d'articles" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__typology +#: model_terms:ir.ui.view,arch_db:sale_wishlist.view_product_set_search +msgid "Typology" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__wishlist +msgid "Wishlist" +msgstr "Liste de souhait" + +#. module: sale_wishlist +#: code:addons/sale_wishlist/models/res_partner.py:0 +#, python-format +msgid "Wishlists" +msgstr "Listes de souhait" diff --git a/sale_wishlist/i18n/it.po b/sale_wishlist/i18n/it.po new file mode 100644 index 00000000000..446c7630923 --- /dev/null +++ b/sale_wishlist/i18n/it.po @@ -0,0 +1,61 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_wishlist +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-12-07 18:33+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: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__wishlists_count +#: model:ir.model.fields,field_description:sale_wishlist.field_res_users__wishlists_count +msgid "# Wishlists" +msgstr "N° lista dei desideri" + +#. module: sale_wishlist +#: model_terms:ir.ui.view,arch_db:sale_wishlist.res_partner_view_form +msgid "Wishlists" +msgstr "Lista dei desideri" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__set +msgid "Default" +msgstr "Predefinito" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_product_set +msgid "Product set" +msgstr "Set prodotto" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__typology +#: model_terms:ir.ui.view,arch_db:sale_wishlist.view_product_set_search +msgid "Typology" +msgstr "Tipologia" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__wishlist +msgid "Wishlist" +msgstr "Lista dei desideri" + +#. module: sale_wishlist +#. odoo-python +#: code:addons/sale_wishlist/models/res_partner.py:0 +#, python-format +msgid "Wishlists" +msgstr "Lista dei desideri" diff --git a/sale_wishlist/i18n/sale_wishlist.pot b/sale_wishlist/i18n/sale_wishlist.pot new file mode 100644 index 00000000000..4c5020e59a8 --- /dev/null +++ b/sale_wishlist/i18n/sale_wishlist.pot @@ -0,0 +1,57 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * sale_wishlist +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_res_partner__wishlists_count +#: model:ir.model.fields,field_description:sale_wishlist.field_res_users__wishlists_count +msgid "# Wishlists" +msgstr "" + +#. module: sale_wishlist +#: model_terms:ir.ui.view,arch_db:sale_wishlist.res_partner_view_form +msgid "Wishlists" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_res_partner +msgid "Contact" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__set +msgid "Default" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model,name:sale_wishlist.model_product_set +msgid "Product set" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields,field_description:sale_wishlist.field_product_set__typology +#: model_terms:ir.ui.view,arch_db:sale_wishlist.view_product_set_search +msgid "Typology" +msgstr "" + +#. module: sale_wishlist +#: model:ir.model.fields.selection,name:sale_wishlist.selection__product_set__typology__wishlist +msgid "Wishlist" +msgstr "" + +#. module: sale_wishlist +#. odoo-python +#: code:addons/sale_wishlist/models/res_partner.py:0 +msgid "Wishlists" +msgstr "" diff --git a/sale_wishlist/models/__init__.py b/sale_wishlist/models/__init__.py new file mode 100644 index 00000000000..e600983edaf --- /dev/null +++ b/sale_wishlist/models/__init__.py @@ -0,0 +1,2 @@ +from . import product_set +from . import res_partner diff --git a/sale_wishlist/models/product_set.py b/sale_wishlist/models/product_set.py new file mode 100644 index 00000000000..02e6c8533e6 --- /dev/null +++ b/sale_wishlist/models/product_set.py @@ -0,0 +1,12 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ProductSet(models.Model): + _inherit = "product.set" + + typology = fields.Selection( + selection=[("set", "Default"), ("wishlist", "Wishlist")], default="set" + ) diff --git a/sale_wishlist/models/res_partner.py b/sale_wishlist/models/res_partner.py new file mode 100644 index 00000000000..44e1897734d --- /dev/null +++ b/sale_wishlist/models/res_partner.py @@ -0,0 +1,40 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + wishlists_count = fields.Integer( + compute="_compute_wishlists_count", string="# Wishlists" + ) + + def _compute_wishlists_count(self): + # do just one query for all records + groups = self.env["product.set"]._read_group( + self._wishlist_domain(), ["partner_id"], ["__count"] + ) + data_mapped = {partner.id: count for partner, count in groups} + for rec in self: + rec.wishlists_count = data_mapped.get(rec.id, 0) + + def _wishlist_domain(self): + return [("partner_id", "in", self.ids), ("typology", "=", "wishlist")] + + def action_view_wishlists(self): + self.ensure_one() + xmlid = "product_set.act_open_product_set_view" + action = self.env["ir.actions.act_window"]._for_xml_id(xmlid) + action.update( + { + "name": self.env._("Wishlists"), + "domain": self._wishlist_domain(), + "context": { + "default_typology": "wishlist", + "default_partner_id": self.id, + }, + } + ) + return action diff --git a/sale_wishlist/pyproject.toml b/sale_wishlist/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/sale_wishlist/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/sale_wishlist/readme/CONTRIBUTORS.md b/sale_wishlist/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..ccabfb9e636 --- /dev/null +++ b/sale_wishlist/readme/CONTRIBUTORS.md @@ -0,0 +1,6 @@ +- Simone Orsi \<\> +- Son (Ho Dac) \<\> +- Phuc (Tran Thanh) \<\> +- Tuan Nguyen \<\> +- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io) + - Bhavesh Heliconia diff --git a/sale_wishlist/readme/CREDITS.md b/sale_wishlist/readme/CREDITS.md new file mode 100644 index 00000000000..f1ff2505433 --- /dev/null +++ b/sale_wishlist/readme/CREDITS.md @@ -0,0 +1,6 @@ +The development of this module has been financially supported by: + +- Camptocamp +- Cosanum + +The migration of this module from 16.0 to 18.0 was financially supported by Camptocamp. diff --git a/sale_wishlist/readme/DESCRIPTION.md b/sale_wishlist/readme/DESCRIPTION.md new file mode 100644 index 00000000000..94e3189cb7e --- /dev/null +++ b/sale_wishlist/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +Extends sale_product_set features to add a new typology: wishlist. This +module can serve as base to handle multiple wishlists for a customer, +being or not e-commerce related. diff --git a/sale_wishlist/readme/USAGE.md b/sale_wishlist/readme/USAGE.md new file mode 100644 index 00000000000..e61ea2d77ad --- /dev/null +++ b/sale_wishlist/readme/USAGE.md @@ -0,0 +1,8 @@ +To use this module, you need to: + +- Define a *product set* as sale manager and select typology "wishlist" +- Assign it to a partner +- On the partner you'll see a smart button that brings you to customer's + wishlists +- Once you clicked on it you can create more wishlists for that + customer. diff --git a/sale_wishlist/static/description/icon.png b/sale_wishlist/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/sale_wishlist/static/description/icon.png differ diff --git a/sale_wishlist/static/description/index.html b/sale_wishlist/static/description/index.html new file mode 100644 index 00000000000..829ffa45254 --- /dev/null +++ b/sale_wishlist/static/description/index.html @@ -0,0 +1,462 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Sale Wishlist

+ +

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

+

Extends sale_product_set features to add a new typology: wishlist. This +module can serve as base to handle multiple wishlists for a customer, +being or not e-commerce related.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Define a product set as sale manager and select typology “wishlist”
  • +
  • Assign it to a partner
  • +
  • On the partner you’ll see a smart button that brings you to customer’s +wishlists
  • +
  • Once you clicked on it you can create more wishlists for that +customer.
  • +
+
+
+

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

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+
    +
  • Camptocamp
  • +
  • Cosanum
  • +
+

The migration of this module from 16.0 to 18.0 was financially supported +by Camptocamp.

+
+
+

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.

+

This module is part of the OCA/sale-workflow project on GitHub.

+

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

+
+
+
+
+ + diff --git a/sale_wishlist/tests/__init__.py b/sale_wishlist/tests/__init__.py new file mode 100644 index 00000000000..a66bccd9e6f --- /dev/null +++ b/sale_wishlist/tests/__init__.py @@ -0,0 +1 @@ +from . import test_wishlist diff --git a/sale_wishlist/tests/test_wishlist.py b/sale_wishlist/tests/test_wishlist.py new file mode 100644 index 00000000000..7d18fd093fd --- /dev/null +++ b/sale_wishlist/tests/test_wishlist.py @@ -0,0 +1,55 @@ +# Copyright 2019 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo.addons.base.tests.common import BaseCommon + + +class TestWishlist(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.sale_order = cls.env["sale.order"] + cls.product_set = cls.env["product.set"] + cls.partner2 = cls.env["res.partner"].create({"name": "Test Partner 2"}) + cls.product_set_services = cls.env["product.set"].create( + {"name": "Services", "ref": "Services"} + ) + + def test_wishlist_count_no_typology_match(self): + prod_set = self.product_set_services + for __ in range(2): + prod_set.copy(default={"partner_id": self.partner.id}) + for __ in range(4): + prod_set.copy(default={"partner_id": self.partner2.id}) + self.assertEqual(self.partner.wishlists_count, 0) + self.assertEqual(self.partner2.wishlists_count, 0) + + def test_wishlist_count(self): + prod_set = self.product_set_services + vals = {"partner_id": self.partner.id, "typology": "wishlist"} + for __ in range(2): + prod_set.copy(default=vals) + vals = {"partner_id": self.partner2.id, "typology": "wishlist"} + for __ in range(4): + prod_set.copy(default=vals) + self.assertEqual(self.partner.wishlists_count, 2) + self.assertEqual(self.partner2.wishlists_count, 4) + + def test_action(self): + action = self.partner.action_view_wishlists() + self.assertEqual( + action["context"], + {"default_partner_id": self.partner.id, "default_typology": "wishlist"}, + ) + self.assertEqual( + action["domain"], + [("partner_id", "in", [self.partner.id]), ("typology", "=", "wishlist")], + ) + action = self.partner2.action_view_wishlists() + self.assertEqual( + action["context"], + {"default_partner_id": self.partner2.id, "default_typology": "wishlist"}, + ) + self.assertEqual( + action["domain"], + [("partner_id", "in", [self.partner2.id]), ("typology", "=", "wishlist")], + ) diff --git a/sale_wishlist/views/partner.xml b/sale_wishlist/views/partner.xml new file mode 100644 index 00000000000..6f9d8ade1d7 --- /dev/null +++ b/sale_wishlist/views/partner.xml @@ -0,0 +1,26 @@ + + + + res.partner.form.sign.inherit + res.partner + + +
+ +
+
+
+
diff --git a/sale_wishlist/views/product_set.xml b/sale_wishlist/views/product_set.xml new file mode 100644 index 00000000000..2524e12f569 --- /dev/null +++ b/sale_wishlist/views/product_set.xml @@ -0,0 +1,43 @@ + + + + + sale_wishlist: product.set.form + product.set + + + + + + + + + sale_wishlist: product.set.tree + product.set + + + + + + + + + sale_wishlist: product.set.search + product.set + + + + + + + + + + + diff --git a/test-requirements.txt b/test-requirements.txt index e69de29bb2d..a17520bbbfe 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -0,0 +1,2 @@ +odoo-addon-product_set @ git+https://github.com/oca/product-attribute.git@refs/pull/2263/head#subdirectory=product_set +odoo-addon-sale_product_set @ git+https://github.com/oca/sale-workflow.git@refs/pull/4283/head#subdirectory=sale_product_set