Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] partner_contact_in_several_companies #1090

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions partner_contact_in_several_companies/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================================
Partner Contact in Several Companies
====================================

This module extends the contact management functionality. It allows one
contact to have several job positions in different companies.

Installation
============

There are no special instructions regarding installation.

Configuration
=============

No configuration is needed.

Usage
=====

New tabs 'Other Positions' and 'Personal Information' are available on the
contact form.

For further information, please visit:

* https://www.odoo.com/forum/help-1
* https://github.com/OCA/partner-contact/

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/134/14.0

Known issues / Roadmap
======================

* You can not add position directly from individual partner, you can just see other positions and update them

Improve:

* Add an wizard / form to clean create new position from individual partner form.
In this cas you will have to select an existing company (or create one on the fly)

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.


Contributors
------------

* Xavier ALT <xal@odoo.com> (original author)
* El Hadji Dem <elhadji.dem@savoirfairelinux.com>
* TheCloneMaster <the.clone.master@gmail.com>
* Sandy Carter <bwrsandman@gmail.com>
* Rudolf Schnapka <rs@techno-flex.de>
* Sebastien Alix <sebastien.alix@osiell.com>
* Jairo Llopis <j.llopis@grupoesoc.es>
* Richard deMeester <richard@willowit.com.au>
* Nicolas JEUDY <https://github.com/njeudy>
* Franco Tampieri <franco@tampieri.info>
* Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit http://odoo-community.org.
3 changes: 3 additions & 0 deletions partner_contact_in_several_companies/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
17 changes: 17 additions & 0 deletions partner_contact_in_several_companies/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Contacts in several partners",
"summary": "Allow to have one contact in several partners",
"version": "14.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://github.com/OCA/partner-contact",
"author": "Nicolas JEUDY, Odoo Community Association (OCA),Odoo SA",
"license": "AGPL-3",
"depends": ["base", "contacts", "partner_contact_personal_information_page"],
"data": ["views/res_partner.xml"],
"demo": ["demo/res_partner.xml", "demo/ir_actions.xml"],
"application": False,
"installable": True,
"auto_install": False,
}
13 changes: 13 additions & 0 deletions partner_contact_in_several_companies/demo/ir_actions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="action_partner_form" model="ir.actions.act_window">
<field name="name">All Customers in All Positions</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.partner</field>
<field name="view_mode">kanban,tree,form</field>
<field
name="context"
>{"search_default_customer":1, 'search_show_all_positions': {'is_set': True, 'set_value': True}}</field>
<field name="search_view_id" ref="base.view_res_partner_filter" />
</record>
</odoo>
20 changes: 20 additions & 0 deletions partner_contact_in_several_companies/demo/res_partner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="res_partner_main2_position_consultant" model="res.partner">
<field name="name">Roger Scott</field>
<field name="function">Consultant</field>
<field name="parent_id" ref="base.res_partner_4" />
<field name="contact_id" ref="base.res_partner_main2" />
</record>
<record id="res_partner_contact1" model="res.partner">
<field name="name">Bob Egnops</field>
<field name="email">bob@hillenburg-oceaninstitute.com</field>
</record>
<record id="res_partner_contact1_work_position1" model="res.partner">
<field name="name">Bob Egnops</field>
<field name="function">Technician</field>
<field name="email">bob@yourcompany.com</field>
<field name="parent_id" ref="base.main_partner" />
<field name="contact_id" ref="res_partner_contact1" />
</record>
</odoo>
173 changes: 173 additions & 0 deletions partner_contact_in_several_companies/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_in_several_companies
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-10 03:39+0000\n"
"PO-Revision-Date: 2017-03-10 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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_contact_in_several_companies
#: model:ir.model,name:partner_contact_in_several_companies.model_ir_actions_act_window
msgid "Action Window"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Address"
msgstr ""

#. module: partner_contact_in_several_companies
#: model:ir.actions.act_window,name:partner_contact_in_several_companies.action_partner_form
msgid "All Customers in All Positions"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_res_partner_filter_contact
msgid "All partner positions"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_res_partner_filter_contact
msgid "All positions"
msgstr ""

#. module: partner_contact_in_several_companies
#: selection:res.partner,contact_type:0
msgid "Attached to existing Contact"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "City"
msgstr ""

#. module: partner_contact_in_several_companies
#: model:ir.model,name:partner_contact_in_several_companies.model_res_partner
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Contact"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Contact Name"
msgstr ""

#. module: partner_contact_in_several_companies
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_partner__contact_type
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_users__contact_type
msgid "Contact Type"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Country"
msgstr ""

#. module: partner_contact_in_several_companies
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_partner__contact_id
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_users__contact_id
msgid "Main Contact"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Mobile:"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Other Positions"
msgstr ""

#. module: partner_contact_in_several_companies
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_partner__other_contact_ids
#: model:ir.model.fields,field_description:partner_contact_in_several_companies.field_res_users__other_contact_ids
msgid "Others Positions"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_res_partner_filter_contact
msgid "Person"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Phone:"
msgstr ""

#. module: partner_contact_in_several_companies
#: selection:res.partner,contact_type:0
msgid "Standalone Contact"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "State"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Street 2..."
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "Street..."
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.personal_contact_information
msgid ""
"To see personal information about this contact, please\n"
" go to to the this person form:"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "ZIP"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "at"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "e.g. Mr."
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "e.g. Sales Director"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_partner_form_inherit
msgid "internal note..."
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_res_partner_kanban_contact
msgid "other position"
msgstr ""

#. module: partner_contact_in_several_companies
#: model_terms:ir.ui.view,arch_db:partner_contact_in_several_companies.view_res_partner_kanban_contact
msgid "other positions"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
Loading