diff --git a/partner_split_menu/__init__.py b/partner_split_menu/__init__.py new file mode 100644 index 0000000..40a96af --- /dev/null +++ b/partner_split_menu/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/partner_split_menu/__openerp__.py b/partner_split_menu/__openerp__.py new file mode 100644 index 0000000..bfdf897 --- /dev/null +++ b/partner_split_menu/__openerp__.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Akretion (http://www.akretion.com). +# @author Sébastien BEAU +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +{ + "name": "Partner Menu Split", + "summary": "Split the customer menu in two", + "version": "8.0.0.0", + "category": "Uncategorized", + "website": "www.akretion.com", + "author": " Akretion", + "license": "AGPL-3", + "application": False, + "installable": True, + "external_dependencies": { + "python": [], + "bin": [], + }, + "depends": [ + "base", + ], + "data": [ + "views/res_partner_view.xml", + ], + "demo": [ + ], + "qweb": [ + ] +} diff --git a/partner_split_menu/views/res_partner_view.xml b/partner_split_menu/views/res_partner_view.xml new file mode 100644 index 0000000..925704f --- /dev/null +++ b/partner_split_menu/views/res_partner_view.xml @@ -0,0 +1,81 @@ + + + + + + [('parent_id', '=', False)] + tree,form,kanban + + + + [('parent_id', '=', False)] + tree,form,kanban + + + + + + + + Contact + ir.actions.act_window + res.partner + form + tree,form,kanban + [('parent_id', '!=', False)] + {'default_customer':1, 'search_default_customer':1} + + +

+ Click to add a contact in your address book. +

+ Odoo helps you easily track all activities related to + a customer: discussions, history of business opportunities, + documents, etc. +

+
+
+ + + + + + [('parent_id', '=', False)] + tree,form,kanban + + + + + Contact + ir.actions.act_window + res.partner + form + tree,form,kanban + [('parent_id', '!=', False)] + {'default_supplier':1, 'search_default_supplier':1} + + +

+ Click to add a contact in your address book. +

+ Odoo helps you easily track all activities related to + a supplier: discussions, history of business opportunities, + documents, etc. +

+
+
+ + + + + +
+