diff --git a/partner_supplierinfo_smartbutton/README.rst b/partner_supplierinfo_smartbutton/README.rst new file mode 100644 index 00000000000..7d082ac568a --- /dev/null +++ b/partner_supplierinfo_smartbutton/README.rst @@ -0,0 +1,109 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +======================================== +Access supplied products from the vendor +======================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:75dcd83cf0adc314018d19dba373aef5483edb5c0a26e74730073512e12de932 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fpurchase--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/purchase-workflow/tree/19.0/partner_supplierinfo_smartbutton + :alt: OCA/purchase-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-partner_supplierinfo_smartbutton + :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/purchase-workflow&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This addon adds a smart-button in the vendors with the supplied +products. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +1. Go to *Purchase > Products > Products*. +2. Access one of them clicking on it. +3. Go to "Purchase" tab and add some vendors (Azure Interior for + example). + +Usage +===== + +1. Go to *Contacts* or *Purchase > Orders > Vendors*. +2. Access one of them clicking on it. +3. If it has supplier products, you will see an smart-button in the top + part called "Products Supplied". +4. Clicking on it, you will be see all products supplied. + +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 +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Víctor Martínez + - Pedro M. Baeza + +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-victoralmau| image:: https://github.com/victoralmau.png?size=40px + :target: https://github.com/victoralmau + :alt: victoralmau + +Current `maintainer `__: + +|maintainer-victoralmau| + +This module is part of the `OCA/purchase-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_supplierinfo_smartbutton/__init__.py b/partner_supplierinfo_smartbutton/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/partner_supplierinfo_smartbutton/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/partner_supplierinfo_smartbutton/__manifest__.py b/partner_supplierinfo_smartbutton/__manifest__.py new file mode 100644 index 00000000000..8e55f778ef1 --- /dev/null +++ b/partner_supplierinfo_smartbutton/__manifest__.py @@ -0,0 +1,16 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Access supplied products from the vendor", + "version": "19.0.1.0.0", + "category": "Purchase Management", + "website": "https://github.com/OCA/purchase-workflow", + "author": "Tecnativa, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["product"], + "installable": True, + "data": [ + "views/res_partner_view.xml", + ], + "maintainers": ["victoralmau"], +} diff --git a/partner_supplierinfo_smartbutton/i18n/es.po b/partner_supplierinfo_smartbutton/i18n/es.po new file mode 100644 index 00000000000..b469a67df19 --- /dev/null +++ b/partner_supplierinfo_smartbutton/i18n/es.po @@ -0,0 +1,43 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_supplierinfo_smartbutton +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-04-29 13:03+0000\n" +"PO-Revision-Date: 2022-04-29 16:03+0200\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 2.3\n" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model,name:partner_supplierinfo_smartbutton.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_partner__product_supplied_count +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_users__product_supplied_count +msgid "Product Supplied Count" +msgstr "Total productos suministrados" + +#. module: partner_supplierinfo_smartbutton +#: model_terms:ir.ui.view,arch_db:partner_supplierinfo_smartbutton.view_partner_form +msgid "Products Supplied" +msgstr "Productos suministrados" + +#~ msgid "Display Name" +#~ msgstr "Nombre mostrado" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Última modificación el" diff --git a/partner_supplierinfo_smartbutton/i18n/es_419.po b/partner_supplierinfo_smartbutton/i18n/es_419.po new file mode 100644 index 00000000000..10e04dedf53 --- /dev/null +++ b/partner_supplierinfo_smartbutton/i18n/es_419.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_supplierinfo_smartbutton +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es_419\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" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model,name:partner_supplierinfo_smartbutton.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_partner__product_supplied_count +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_users__product_supplied_count +msgid "Product Supplied Count" +msgstr "" + +#. module: partner_supplierinfo_smartbutton +#: model_terms:ir.ui.view,arch_db:partner_supplierinfo_smartbutton.view_partner_form +msgid "Products Supplied" +msgstr "" diff --git a/partner_supplierinfo_smartbutton/i18n/fr.po b/partner_supplierinfo_smartbutton/i18n/fr.po new file mode 100644 index 00000000000..b4cea90a415 --- /dev/null +++ b/partner_supplierinfo_smartbutton/i18n/fr.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_supplierinfo_smartbutton +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-01-02 15:44+0000\n" +"Last-Translator: Paul_Goubert \n" +"Language-Team: none\n" +"Language: 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.14.1\n" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model,name:partner_supplierinfo_smartbutton.model_res_partner +msgid "Contact" +msgstr "Contact" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_partner__product_supplied_count +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_users__product_supplied_count +msgid "Product Supplied Count" +msgstr "Articles fournis somme" + +#. module: partner_supplierinfo_smartbutton +#: model_terms:ir.ui.view,arch_db:partner_supplierinfo_smartbutton.view_partner_form +msgid "Products Supplied" +msgstr "Articles fournis" + +#~ msgid "Display Name" +#~ msgstr "Nom affiché" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Dernière modification le" diff --git a/partner_supplierinfo_smartbutton/i18n/it.po b/partner_supplierinfo_smartbutton/i18n/it.po new file mode 100644 index 00000000000..bc9860a2ae8 --- /dev/null +++ b/partner_supplierinfo_smartbutton/i18n/it.po @@ -0,0 +1,42 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_supplierinfo_smartbutton +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-01-20 13:45+0000\n" +"Last-Translator: Francesco Foresti \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.14.1\n" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model,name:partner_supplierinfo_smartbutton.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_partner__product_supplied_count +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_users__product_supplied_count +msgid "Product Supplied Count" +msgstr "Conteggio prodotti forniti" + +#. module: partner_supplierinfo_smartbutton +#: model_terms:ir.ui.view,arch_db:partner_supplierinfo_smartbutton.view_partner_form +msgid "Products Supplied" +msgstr "Prodotti forniti" + +#~ msgid "Display Name" +#~ msgstr "Nome visualizzato" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Ultima modifica il" diff --git a/partner_supplierinfo_smartbutton/i18n/partner_supplierinfo_smartbutton.pot b/partner_supplierinfo_smartbutton/i18n/partner_supplierinfo_smartbutton.pot new file mode 100644 index 00000000000..344c6e86e49 --- /dev/null +++ b/partner_supplierinfo_smartbutton/i18n/partner_supplierinfo_smartbutton.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_supplierinfo_smartbutton +# +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: partner_supplierinfo_smartbutton +#: model:ir.model,name:partner_supplierinfo_smartbutton.model_res_partner +msgid "Contact" +msgstr "" + +#. module: partner_supplierinfo_smartbutton +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_partner__product_supplied_count +#: model:ir.model.fields,field_description:partner_supplierinfo_smartbutton.field_res_users__product_supplied_count +msgid "Product Supplied Count" +msgstr "" + +#. module: partner_supplierinfo_smartbutton +#: model_terms:ir.ui.view,arch_db:partner_supplierinfo_smartbutton.view_partner_form +msgid "Products Supplied" +msgstr "" diff --git a/partner_supplierinfo_smartbutton/models/__init__.py b/partner_supplierinfo_smartbutton/models/__init__.py new file mode 100644 index 00000000000..91fed54d404 --- /dev/null +++ b/partner_supplierinfo_smartbutton/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/partner_supplierinfo_smartbutton/models/res_partner.py b/partner_supplierinfo_smartbutton/models/res_partner.py new file mode 100644 index 00000000000..48202c48db5 --- /dev/null +++ b/partner_supplierinfo_smartbutton/models/res_partner.py @@ -0,0 +1,34 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + product_supplied_count = fields.Integer(compute="_compute_product_supplied_count") + + def _compute_product_supplied_count(self): + data = self.env["product.supplierinfo"]._read_group( + [("partner_id", "in", self.ids)], ["partner_id"], ["__count"] + ) + mapping = {partner.id: count for partner, count in data} + for item in self: + item.product_supplied_count = mapping.get(item.id, 0) + + def action_see_products_by_seller(self): + domain = [("partner_id", "=", self.id)] + action = self.env["ir.actions.act_window"]._for_xml_id( + "product.product_supplierinfo_type_action" + ) + ctx = dict(self.env.context) + ctx.update( + { + "default_partner_id": self.id, + "search_default_partner_id": self.id, + "visible_product_tmpl_id": False, + } + ) + action.update({"domain": domain, "context": ctx}) + return action diff --git a/partner_supplierinfo_smartbutton/pyproject.toml b/partner_supplierinfo_smartbutton/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/partner_supplierinfo_smartbutton/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/partner_supplierinfo_smartbutton/readme/CONFIGURE.md b/partner_supplierinfo_smartbutton/readme/CONFIGURE.md new file mode 100644 index 00000000000..99fd1cd4fec --- /dev/null +++ b/partner_supplierinfo_smartbutton/readme/CONFIGURE.md @@ -0,0 +1,4 @@ +1. Go to *Purchase \> Products \> Products*. +2. Access one of them clicking on it. +3. Go to "Purchase" tab and add some vendors (Azure Interior for + example). diff --git a/partner_supplierinfo_smartbutton/readme/CONTRIBUTORS.md b/partner_supplierinfo_smartbutton/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..5fee3904270 --- /dev/null +++ b/partner_supplierinfo_smartbutton/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- [Tecnativa](https://www.tecnativa.com): + - Víctor Martínez + - Pedro M. Baeza diff --git a/partner_supplierinfo_smartbutton/readme/DESCRIPTION.md b/partner_supplierinfo_smartbutton/readme/DESCRIPTION.md new file mode 100644 index 00000000000..77005e1f18e --- /dev/null +++ b/partner_supplierinfo_smartbutton/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This addon adds a smart-button in the vendors with the supplied +products. diff --git a/partner_supplierinfo_smartbutton/readme/USAGE.md b/partner_supplierinfo_smartbutton/readme/USAGE.md new file mode 100644 index 00000000000..1ff4e0ba23c --- /dev/null +++ b/partner_supplierinfo_smartbutton/readme/USAGE.md @@ -0,0 +1,5 @@ +1. Go to *Contacts* or *Purchase \> Orders \> Vendors*. +2. Access one of them clicking on it. +3. If it has supplier products, you will see an smart-button in the top + part called "Products Supplied". +4. Clicking on it, you will be see all products supplied. diff --git a/partner_supplierinfo_smartbutton/static/description/icon.png b/partner_supplierinfo_smartbutton/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/partner_supplierinfo_smartbutton/static/description/icon.png differ diff --git a/partner_supplierinfo_smartbutton/static/description/index.html b/partner_supplierinfo_smartbutton/static/description/index.html new file mode 100644 index 00000000000..3edc2826042 --- /dev/null +++ b/partner_supplierinfo_smartbutton/static/description/index.html @@ -0,0 +1,457 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Access supplied products from the vendor

+ +

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

+

This addon adds a smart-button in the vendors with the supplied +products.

+

Table of contents

+ +
+

Configuration

+
    +
  1. Go to Purchase > Products > Products.
  2. +
  3. Access one of them clicking on it.
  4. +
  5. Go to “Purchase” tab and add some vendors (Azure Interior for +example).
  6. +
+
+
+

Usage

+
    +
  1. Go to Contacts or Purchase > Orders > Vendors.
  2. +
  3. Access one of them clicking on it.
  4. +
  5. If it has supplier products, you will see an smart-button in the top +part called “Products Supplied”.
  6. +
  7. Clicking on it, you will be see all products supplied.
  8. +
+
+
+

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

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+
    +
  • Tecnativa:
      +
    • Víctor Martínez
    • +
    • Pedro M. Baeza
    • +
    +
  • +
+
+
+

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:

+

victoralmau

+

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

+

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

+
+
+
+
+ + diff --git a/partner_supplierinfo_smartbutton/tests/__init__.py b/partner_supplierinfo_smartbutton/tests/__init__.py new file mode 100644 index 00000000000..25d205bc2ed --- /dev/null +++ b/partner_supplierinfo_smartbutton/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) + +from . import test_partner_supplierinfo_smartbutton diff --git a/partner_supplierinfo_smartbutton/tests/test_partner_supplierinfo_smartbutton.py b/partner_supplierinfo_smartbutton/tests/test_partner_supplierinfo_smartbutton.py new file mode 100644 index 00000000000..12850f93613 --- /dev/null +++ b/partner_supplierinfo_smartbutton/tests/test_partner_supplierinfo_smartbutton.py @@ -0,0 +1,90 @@ +# Copyright 2022 Tecnativa - Víctor Martínez +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo.addons.base.tests.common import BaseCommon + + +class TestPartnerSupplierinfoSmartbutton(BaseCommon): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.partner_a = cls.env["res.partner"].create({"name": "Partner A"}) + cls.partner_b = cls.env["res.partner"].create({"name": "Partner B"}) + cls.partner_c = cls.env["res.partner"].create({"name": "Partner C"}) + cls.product_model = cls.env["product.product"] + cls.product_supplierinfo_model = cls.env["product.supplierinfo"] + cls.product_a = cls.product_model.create( + { + "name": "Test product A", + "seller_ids": [ + ( + 0, + False, + {"partner_id": cls.partner_a.id, "min_qty": 1, "price": 10}, + ), + ], + } + ) + cls.product_b = cls.product_model.create( + { + "name": "Test product B", + "seller_ids": [ + ( + 0, + False, + {"partner_id": cls.partner_b.id, "min_qty": 1, "price": 10}, + ), + ], + } + ) + cls.product_a_b = cls.product_model.create( + { + "name": "Test product A+B", + "seller_ids": [ + ( + 0, + False, + {"partner_id": cls.partner_a.id, "min_qty": 1, "price": 10}, + ), + ( + 0, + False, + {"partner_id": cls.partner_b.id, "min_qty": 1, "price": 20}, + ), + ], + } + ) + cls.product_c = cls.product_model.create({"name": "Test product C"}) + + def _get_products_from_action(self, action): + return self.product_supplierinfo_model.search(action["domain"]).mapped( + "product_tmpl_id" + ) + + def test_product_supplied_count(self): + # Partner A + products = self._get_products_from_action( + self.partner_a.action_see_products_by_seller() + ) + self.assertIn(self.product_a.product_tmpl_id, products) + self.assertNotIn(self.product_b.product_tmpl_id, products) + self.assertIn(self.product_a_b.product_tmpl_id, products) + self.assertNotIn(self.product_c.product_tmpl_id, products) + self.assertEqual(self.partner_a.product_supplied_count, 2) + # Partner B + products = self._get_products_from_action( + self.partner_b.action_see_products_by_seller() + ) + self.assertNotIn(self.product_a.product_tmpl_id, products) + self.assertIn(self.product_b.product_tmpl_id, products) + self.assertIn(self.product_a_b.product_tmpl_id, products) + self.assertNotIn(self.product_c.product_tmpl_id, products) + self.assertEqual(self.partner_b.product_supplied_count, 2) + # Partner C + products = self._get_products_from_action( + self.partner_c.action_see_products_by_seller() + ) + self.assertNotIn(self.product_a.product_tmpl_id, products) + self.assertNotIn(self.product_b.product_tmpl_id, products) + self.assertNotIn(self.product_a_b.product_tmpl_id, products) + self.assertNotIn(self.product_c.product_tmpl_id, products) + self.assertEqual(self.partner_c.product_supplied_count, 0) diff --git a/partner_supplierinfo_smartbutton/views/res_partner_view.xml b/partner_supplierinfo_smartbutton/views/res_partner_view.xml new file mode 100644 index 00000000000..a20d974dd0d --- /dev/null +++ b/partner_supplierinfo_smartbutton/views/res_partner_view.xml @@ -0,0 +1,25 @@ + + + + res.partner.form + res.partner + + +
+ +
+
+
+