diff --git a/partner_contact_persons/__init__.py b/partner_contact_persons/__init__.py new file mode 100644 index 0000000..4ab91db --- /dev/null +++ b/partner_contact_persons/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). diff --git a/partner_contact_persons/__manifest__.py b/partner_contact_persons/__manifest__.py new file mode 100644 index 0000000..d9a67fe --- /dev/null +++ b/partner_contact_persons/__manifest__.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). +{ + "name": "Persons menu in Contacts", + "version": "16.0.1.0.0", + "summary": "Module summary", + "description": """ + Module description + """, + "author": "RemiFr82", + "contributors": "", + "maintainer": "RemiFr82", + "website": "https://git.myceliandre.fr/RemiFr82/odoo-contact-addons.git", + "license": "AGPL-3", + "category": "Customer Relationship Management", + # "price": 0, + # "currency": "EUR", + "application": False, + "installable": True, + "auto_install": False, + # "pre_init_hook": "", + # "post_init_hook": "", + # "uninstall_hook": "", + # "excludes": [], + # "external_dependencies": [], + "depends": [ + "contacts", + ], + "data": [ + # Base data + # "data/ir_model.xml", + # Security + # 'security/res_groups.xml', + # 'security/ir.model.access.csv', + # 'security/ir_rule.xml', + # Views + "views/res_partner.xml", + # Wizards + # 'wizards/transient_model.xml', + # Reports + # 'reports/report_templates.xml', + # 'reports/sql_view.xml', + ], + # "assets": [], + # "css": [], + # "images": [], + # "js": [], + # "test": [], + # "demo": [], +} diff --git a/partner_contact_persons/i18n/fr.po b/partner_contact_persons/i18n/fr.po new file mode 100644 index 0000000..d80e2af --- /dev/null +++ b/partner_contact_persons/i18n/fr.po @@ -0,0 +1,37 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * partner_contact_persons +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0-20230613\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-05-29 12:58+0000\n" +"PO-Revision-Date: 2024-05-29 12:58+0000\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_contact_persons +#: model_terms:ir.actions.act_window,help:partner_contact_persons.action_persons +msgid "Create a Contact in your address book" +msgstr "Créer un contact dans votre carnet d'adresses" + +#. module: partner_contact_persons +#: model_terms:ir.actions.act_window,help:partner_contact_persons.action_persons +msgid "Odoo helps you track all activities related to your contacts." +msgstr "Odoo vous aide à suivre toutes les activités liées à vos contacts." + +#. module: partner_contact_persons +#: model:ir.actions.act_window,name:partner_contact_persons.action_persons +#: model:ir.ui.menu,name:partner_contact_persons.res_partner_menu_persons +msgid "Persons" +msgstr "Personnes" + +#. module: partner_contact_persons +#: model_terms:ir.ui.view,arch_db:partner_contact_persons.res_partner_view_search +msgid "Search Person" +msgstr "Cherche une personne" diff --git a/partner_contact_persons/views/res_partner.xml b/partner_contact_persons/views/res_partner.xml new file mode 100644 index 0000000..95c5ac6 --- /dev/null +++ b/partner_contact_persons/views/res_partner.xml @@ -0,0 +1,75 @@ + + + + + + res.partner.view.search.persons + res.partner + + primary + + + Search Person + + + + + + + + Persons + ir.actions.act_window + res.partner + tree,kanban,form,activity + + {'default_is_company': False, + 'search_default_type_person':1,} + +

+ Create a Contact in your address book +

+

+ Odoo helps you track all activities related to your contacts. +

+
+
+ + + + kanban + + + + + + + tree + + + + + + + form + + + + + + + + Companies + + + + + + 4 + + +
\ No newline at end of file