diff --git a/base_contact/README.rst b/base_contact/README.rst new file mode 100644 index 000000000..b71305d94 --- /dev/null +++ b/base_contact/README.rst @@ -0,0 +1,49 @@ +Contacts Management +=================== + +This module was written to extend the contact management functionality. It +allows you to: + + - set several job positions in different companies per contact, + - set some extra informations like birthdate and nationality. + +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 + +Known issues / Roadmap +====================== + + * Migrate to the new API + +Credits +======= + +Contributors +------------ + +* Xavier ALT (original author) +* EL HADJI DEM +* TheCloneMaster +* Sandy Carter +* Rudolf Schnapka +* Sebastien Alix + +Maintainer +---------- + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://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. diff --git a/__unported__/base_contact/__init__.py b/base_contact/__init__.py similarity index 100% rename from __unported__/base_contact/__init__.py rename to base_contact/__init__.py diff --git a/__unported__/base_contact/__openerp__.py b/base_contact/__openerp__.py similarity index 81% rename from __unported__/base_contact/__openerp__.py rename to base_contact/__openerp__.py index b7c979001..4d238ddda 100644 --- a/__unported__/base_contact/__openerp__.py +++ b/base_contact/__openerp__.py @@ -21,24 +21,14 @@ { 'name': 'Contacts Management', + 'summary': u"Manage your contacts separately", 'version': '1.0', 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', 'category': 'Customer Relationship Management', 'complexity': "expert", - 'description': """ -This module allows you to manage your contacts -============================================== - -It lets you define groups of contacts sharing some common information, like: - * Birthdate - * Nationality - * Native Language -""", 'depends': [ 'base', - 'process', - 'contacts' ], 'external_dependencies': {}, 'data': [ @@ -48,7 +38,7 @@ It lets you define groups of contacts sharing some common information, like: 'base_contact_demo.xml', ], 'test': [], - 'installable': False, + 'installable': True, 'auto_install': False, 'images': [], } diff --git a/__unported__/base_contact/base_contact.py b/base_contact/base_contact.py similarity index 100% rename from __unported__/base_contact/base_contact.py rename to base_contact/base_contact.py diff --git a/__unported__/base_contact/base_contact_demo.xml b/base_contact/base_contact_demo.xml similarity index 100% rename from __unported__/base_contact/base_contact_demo.xml rename to base_contact/base_contact_demo.xml diff --git a/__unported__/base_contact/base_contact_view.xml b/base_contact/base_contact_view.xml similarity index 97% rename from __unported__/base_contact/base_contact_view.xml rename to base_contact/base_contact_view.xml index 29080f270..749a36087 100644 --- a/__unported__/base_contact/base_contact_view.xml +++ b/base_contact/base_contact_view.xml @@ -162,8 +162,11 @@ - - + + + \n" +"Language-Team: \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 1.5.4\n" + +#. module: base_contact +#: view:res.partner:0 +msgid "City" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "other position" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contacts" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "" +"To see personal information about this contact, please go to to the his " +"person form:" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Street..." +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "State" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "at" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Tags..." +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Other Positions" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Phone:" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Company" +msgstr "" + +#. module: base_contact +#: field:res.partner,contact_id:0 +msgid "Main Contact" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Fax:" +msgstr "" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:31 +#, python-format +msgid "Standalone Contact" +msgstr "" + +#. module: base_contact +#: help:res.partner,nationality_id:0 +msgid "Nationality." +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Address" +msgstr "" + +#. module: base_contact +#: field:res.partner,nationality_id:0 +msgid "Nationality" +msgstr "" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:32 +#, python-format +msgid "Attached to existing Contact" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "ZIP" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Country" +msgstr "" + +#. module: base_contact +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Person" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contact" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Mobile:" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "All partner positions" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "All positions" +msgstr "" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_ir_actions_act_window +msgid "ir.actions.act_window" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "other positions" +msgstr "" + +#. module: base_contact +#: field:res.partner,contact_type:0 +msgid "Contact Type" +msgstr "" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_res_partner +msgid "Partner" +msgstr "" + +#. module: base_contact +#: field:res.partner,other_contact_ids:0 +msgid "Others Positions" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "Personal Information" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "e.g. Sales Director" +msgstr "" diff --git a/base_contact/i18n/de.po b/base_contact/i18n/de.po new file mode 100644 index 000000000..702587fae --- /dev/null +++ b/base_contact/i18n/de.po @@ -0,0 +1,191 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_contact +# +# Rudolf Schnapka , 2014. +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-09-19 22:10+0000\n" +"PO-Revision-Date: 2014-12-30 18:14+0100\n" +"Last-Translator: Rudolf Schnapka \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Lokalize 1.5\n" +"Language: de\n" + +#. module: base_contact +#: view:res.partner:0 +msgid "City" +msgstr "Stadt" + +#. module: base_contact +#: view:res.partner:0 +msgid "other position" +msgstr "andere Position" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contacts" +msgstr "Kontakte" + +#. module: base_contact +#: view:res.partner:0 +msgid "" +"To see personal information about this contact, please go to to the his " +"person form:" +msgstr "" +"Um persönliche Auskunft zu diesem Kontakt zu erhalten, gehen Sie bitte auf " +"die Seite persönlich:" + +#. module: base_contact +#: view:res.partner:0 +msgid "Street..." +msgstr "Straße..." + +#. module: base_contact +#: view:res.partner:0 +msgid "State" +msgstr "Bundesland" + +#. module: base_contact +#: view:res.partner:0 +msgid "at" +msgstr "bei" + +#. module: base_contact +#: view:res.partner:0 +msgid "Tags..." +msgstr "Schlagworte..." + +#. module: base_contact +#: view:res.partner:0 +msgid "Other Positions" +msgstr "Andere Positionen" + +#. module: base_contact +#: view:res.partner:0 +msgid "Phone:" +msgstr "Telefon:" + +#. module: base_contact +#: view:res.partner:0 +msgid "Company" +msgstr "Unternehmen" + +#. module: base_contact +#: field:res.partner,contact_id:0 +msgid "Main Contact" +msgstr "Hauptkontakt" + +#. module: base_contact +#: view:res.partner:0 +msgid "Fax:" +msgstr "Fax:" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:31 +#, python-format +msgid "Standalone Contact" +msgstr "Alleinstehender Kontakt" + +#. module: base_contact +#: help:res.partner,nationality_id:0 +msgid "Nationality." +msgstr "Nationalität." + +#. module: base_contact +#: view:res.partner:0 +msgid "Address" +msgstr "Anschrift" + +#. module: base_contact +#: field:res.partner,nationality_id:0 +msgid "Nationality" +msgstr "Nationalität" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:32 +#, python-format +msgid "Attached to existing Contact" +msgstr "Mit bestehendem Kontakt verknüpft" + +#. module: base_contact +#: view:res.partner:0 +msgid "ZIP" +msgstr "PLZ" + +#. module: base_contact +#: view:res.partner:0 +msgid "Country" +msgstr "Land" + +#. module: base_contact +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Geburtsdatum" + +#. module: base_contact +#: view:res.partner:0 +msgid "Person" +msgstr "Person" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contact" +msgstr "Kontakt" + +#. module: base_contact +#: view:res.partner:0 +msgid "Mobile:" +msgstr "Mobil:" + +#. module: base_contact +#: view:res.partner:0 +msgid "All partner positions" +msgstr "Alle Positionen des Partners" + +#. module: base_contact +#: view:res.partner:0 +msgid "All positions" +msgstr "Alle Positionen" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_ir_actions_act_window +msgid "ir.actions.act_window" +msgstr "" + +#. module: base_contact +#: view:res.partner:0 +msgid "other positions" +msgstr "andere Positionen" + +#. module: base_contact +#: field:res.partner,contact_type:0 +msgid "Contact Type" +msgstr "Kontaktart" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: base_contact +#: field:res.partner,other_contact_ids:0 +msgid "Others Positions" +msgstr "Andere Positionen" + +#. module: base_contact +#: view:res.partner:0 +msgid "Personal Information" +msgstr "Persönliche Auskunft" + +#. module: base_contact +#: view:res.partner:0 +msgid "e.g. Sales Director" +msgstr "z. B. Verkaufsleiter" + diff --git a/base_contact/i18n/fr.po b/base_contact/i18n/fr.po new file mode 100644 index 000000000..6348d5b61 --- /dev/null +++ b/base_contact/i18n/fr.po @@ -0,0 +1,188 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * base_contact +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-09-19 22:11+0000\n" +"PO-Revision-Date: 2014-09-19 18:18-0500\n" +"Last-Translator: EL Hadji DEM \n" +"Language-Team: \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 1.5.4\n" + +#. module: base_contact +#: view:res.partner:0 +msgid "City" +msgstr "Ville" + +#. module: base_contact +#: view:res.partner:0 +msgid "other position" +msgstr "fonction" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contacts" +msgstr "Contacts" + +#. module: base_contact +#: view:res.partner:0 +msgid "" +"To see personal information about this contact, please go to to the his " +"person form:" +msgstr "" +"Pour voir des informations personnelles sur ce contact, s'il vous plaît " +"aller au formulaire de la personne:" + +#. module: base_contact +#: view:res.partner:0 +msgid "Street..." +msgstr "Rue..." + +#. module: base_contact +#: view:res.partner:0 +msgid "State" +msgstr "État" + +#. module: base_contact +#: view:res.partner:0 +msgid "at" +msgstr "à" + +#. module: base_contact +#: view:res.partner:0 +msgid "Tags..." +msgstr "Étiquettes..." + +#. module: base_contact +#: view:res.partner:0 +msgid "Other Positions" +msgstr "Fonctions" + +#. module: base_contact +#: view:res.partner:0 +msgid "Phone:" +msgstr "Téléphone:" + +#. module: base_contact +#: view:res.partner:0 +msgid "Company" +msgstr "Organisme" + +#. module: base_contact +#: field:res.partner,contact_id:0 +msgid "Main Contact" +msgstr "Principal contact" + +#. module: base_contact +#: view:res.partner:0 +msgid "Fax:" +msgstr "Fax :" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:31 +#, python-format +msgid "Standalone Contact" +msgstr "Contact autonome" + +#. module: base_contact +#: help:res.partner,nationality_id:0 +msgid "Nationality." +msgstr "Nationalité." + +#. module: base_contact +#: view:res.partner:0 +msgid "Address" +msgstr "Adresse" + +#. module: base_contact +#: field:res.partner,nationality_id:0 +msgid "Nationality" +msgstr "Nationalité" + +#. module: base_contact +#: code:addons/base_contact/base_contact.py:32 +#, python-format +msgid "Attached to existing Contact" +msgstr "Contact rattaché à un contact existant" + +#. module: base_contact +#: view:res.partner:0 +msgid "ZIP" +msgstr "Code postal" + +#. module: base_contact +#: view:res.partner:0 +msgid "Country" +msgstr "Pays" + +#. module: base_contact +#: field:res.partner,birthdate_date:0 +msgid "Birthdate" +msgstr "Date de naissance" + +#. module: base_contact +#: view:res.partner:0 +msgid "Person" +msgstr "Personne" + +#. module: base_contact +#: view:res.partner:0 +msgid "Contact" +msgstr "Contact" + +#. module: base_contact +#: view:res.partner:0 +msgid "Mobile:" +msgstr "Portable :" + +#. module: base_contact +#: view:res.partner:0 +msgid "All partner positions" +msgstr "Tous les contacts" + +#. module: base_contact +#: view:res.partner:0 +msgid "All positions" +msgstr "Tous les contacts" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_ir_actions_act_window +msgid "ir.actions.act_window" +msgstr "ir.actions.act_window" + +#. module: base_contact +#: view:res.partner:0 +msgid "other positions" +msgstr "fonctions" + +#. module: base_contact +#: field:res.partner,contact_type:0 +msgid "Contact Type" +msgstr "Type de contact" + +#. module: base_contact +#: model:ir.model,name:base_contact.model_res_partner +msgid "Partner" +msgstr "Partenaire" + +#. module: base_contact +#: field:res.partner,other_contact_ids:0 +msgid "Others Positions" +msgstr "Fonctions" + +#. module: base_contact +#: view:res.partner:0 +msgid "Personal Information" +msgstr "Informations personnelles" + +#. module: base_contact +#: view:res.partner:0 +msgid "e.g. Sales Director" +msgstr "ex: Directeur des ventes" diff --git a/__unported__/base_contact/tests/__init__.py b/base_contact/tests/__init__.py similarity index 100% rename from __unported__/base_contact/tests/__init__.py rename to base_contact/tests/__init__.py diff --git a/__unported__/base_contact/tests/test_base_contact.py b/base_contact/tests/test_base_contact.py similarity index 97% rename from __unported__/base_contact/tests/test_base_contact.py rename to base_contact/tests/test_base_contact.py index f06a486c3..f395979f4 100644 --- a/__unported__/base_contact/tests/test_base_contact.py +++ b/base_contact/tests/test_base_contact.py @@ -122,12 +122,12 @@ class Test_Base_Contact(common.TransactionCase): """ cr, uid = self.cr, self.uid # Bob's contact has one other position which is related to - # 'Your Company' - # so search for all contacts working for 'Your Company' should contain + # 'YourCompany' + # so search for all contacts working for 'YourCompany' should contain # bob position. partner_ids = self.partner.search( cr, uid, - [('parent_id', 'ilike', 'Your Company')], + [('parent_id', 'ilike', 'YourCompany')], context=None ) self.assertIn(self.bob_job1_id, partner_ids, ) @@ -137,7 +137,7 @@ class Test_Base_Contact(common.TransactionCase): ctx = {'search_show_all_positions': False} partner_ids = self.partner.search( cr, uid, - [('parent_id', 'ilike', 'Your Company')], + [('parent_id', 'ilike', 'YourCompany')], context=ctx ) self.assertIn(self.bob_contact_id, partner_ids, )