diff --git a/addons/base_contact/base_contact.py b/addons/base_contact/base_contact.py index a90411c20b9..39b88d3cbba 100644 --- a/addons/base_contact/base_contact.py +++ b/addons/base_contact/base_contact.py @@ -48,6 +48,7 @@ class res_partner_contact(osv.osv): 'active' : fields.boolean('Active'), 'partner_id':fields.related('job_ids','address_id','partner_id',type='many2one', relation='res.partner', string='Main Employer'), 'function_id':fields.related('job_ids','function_id',type='many2one', relation='res.partner.function', string='Main Job'), + 'email': fields.char('E-Mail', size=240), } _defaults = { 'active' : lambda *a: True, @@ -122,6 +123,9 @@ class res_partner_job(osv.osv): 'sequence_partner':fields.integer('Partner Seq.',help='Order of importance of this job title in the list of job title of the linked partner'), 'email': fields.char('E-Mail', size=240), 'phone': fields.char('Phone', size=64), + 'fax': fields.char('Fax', size=64), + 'extension': fields.char('Extension', size=64, help='Internal/External extension phone number'), + 'other': fields.char('Other', size=64, help='Additionnal phone field'), 'date_start' : fields.date('Date Start'), 'date_stop' : fields.date('Date Stop'), 'state' : fields.selection([('past', 'Past'),('current', 'Current')], 'State', required=True), diff --git a/addons/base_contact/base_contact_view.xml b/addons/base_contact/base_contact_view.xml index 3abb67c98c5..2298334ca7a 100644 --- a/addons/base_contact/base_contact_view.xml +++ b/addons/base_contact/base_contact_view.xml @@ -12,6 +12,7 @@ + @@ -34,6 +35,7 @@ + @@ -45,6 +47,9 @@ + + + @@ -56,6 +61,9 @@ + + + @@ -113,6 +121,9 @@ + + +
@@ -121,6 +132,9 @@ + + + @@ -271,12 +285,16 @@ + +
+ + @@ -297,6 +315,8 @@ + + @@ -316,6 +336,8 @@ + + diff --git a/addons/base_contact/i18n/base_contact.pot b/addons/base_contact/i18n/base_contact.pot index 2c2ff5d1228..b71600862d3 100644 --- a/addons/base_contact/i18n/base_contact.pot +++ b/addons/base_contact/i18n/base_contact.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2009-02-06 15:20:38+0000\n" -"PO-Revision-Date: 2009-02-06 15:20:38+0000\n" +"POT-Creation-Date: 2009-02-19 22:54:38+0000\n" +"PO-Revision-Date: 2009-02-19 22:54:38+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -31,13 +31,21 @@ msgid "The Object name must start with x_ and not contain any special character msgstr "" #. module: base_contact -#: model:ir.actions.act_window,name:base_contact.action_partner_contact_form -#: model:ir.ui.menu,name:base_contact.menu_partner_contact_form -#: model:process.node,name:base_contact.process_node_contacts0 -#: view:res.partner:0 -#: view:res.partner.address:0 -#: field:res.partner.address,job_ids:0 -msgid "Contacts" +#: model:ir.module.module,description:base_contact.module_meta_information +msgid "\n" +" This module allows you to manage entirely your contacts.\n" +"\n" +" It lets you define\n" +" *contacts unrelated to a partner,\n" +" *contacts working at several addresses (possibly for different partners),\n" +" *contacts with possibly different functions for each of its job's addresses\n" +"\n" +" It also add new menu items located in\n" +" Partners \ Contacts\n" +" Partners \ Functions\n" +"\n" +" Pay attention that this module converts the existing addresses into \"addresses + contacts\". It means that some fields of the addresses will be missing (like the contact name), since these are supposed to be defined in an other object.\n" +" " msgstr "" #. module: base_contact @@ -45,6 +53,11 @@ msgstr "" msgid "Partner Seq." msgstr "" +#. module: base_contact +#: constraint:ir.ui.view:0 +msgid "Invalid XML for View Architecture!" +msgstr "" + #. module: base_contact #: selection:res.partner.job,state:0 msgid "Current" @@ -60,6 +73,11 @@ msgstr "" msgid "Contact Partner Function" msgstr "" +#. module: base_contact +#: field:res.partner.job,other:0 +msgid "Other" +msgstr "" + #. module: base_contact #: model:process.transition,name:base_contact.process_transition_contacttofunction0 msgid "Contact to function" @@ -70,6 +88,11 @@ msgstr "" msgid "Partner Function" msgstr "" +#. module: base_contact +#: field:res.partner.contact,title:0 +msgid "Title" +msgstr "" + #. module: base_contact #: model:process.transition,name:base_contact.process_transition_partnertoaddress0 msgid "Partner to address" @@ -86,8 +109,13 @@ msgid "Function" msgstr "" #. module: base_contact -#: field:res.partner.contact,function_id:0 -msgid "Main Job" +#: field:res.partner.job,fax:0 +msgid "Fax" +msgstr "" + +#. module: base_contact +#: field:res.partner.contact,lang_id:0 +msgid "Language" msgstr "" #. module: base_contact @@ -101,8 +129,13 @@ msgid "Defines contacts and functions." msgstr "" #. module: base_contact -#: field:res.partner.contact,title:0 -msgid "Title" +#: model:ir.actions.act_window,name:base_contact.action_partner_contact_form +#: model:ir.ui.menu,name:base_contact.menu_partner_contact_form +#: model:process.node,name:base_contact.process_node_contacts0 +#: view:res.partner:0 +#: view:res.partner.address:0 +#: field:res.partner.address,job_ids:0 +msgid "Contacts" msgstr "" #. module: base_contact @@ -121,6 +154,7 @@ msgid "Order of importance of this job title in the list of job title of the lin msgstr "" #. module: base_contact +#: field:res.partner.contact,email:0 #: field:res.partner.job,email:0 msgid "E-Mail" msgstr "" @@ -152,6 +186,11 @@ msgstr "" msgid "Order of importance of this address in the list of addresses of the linked contact" msgstr "" +#. module: base_contact +#: field:res.partner.contact,function_id:0 +msgid "Main Job" +msgstr "" + #. module: base_contact #: view:res.partner:0 msgid "Categories" @@ -163,8 +202,8 @@ msgid "Define partners and their addresses." msgstr "" #. module: base_contact -#: constraint:ir.ui.view:0 -msgid "Invalid XML for View Architecture!" +#: help:res.partner.job,other:0 +msgid "Additionnal phone field" msgstr "" #. module: base_contact @@ -178,8 +217,8 @@ msgid "Seq." msgstr "" #. module: base_contact -#: field:res.partner.contact,lang_id:0 -msgid "Language" +#: field:res.partner.job,extension:0 +msgid "Extension" msgstr "" #. module: base_contact @@ -187,6 +226,11 @@ msgstr "" msgid "Mobile" msgstr "" +#. module: base_contact +#: help:res.partner.job,extension:0 +msgid "Internal/External extension phone number" +msgstr "" + #. module: base_contact #: model:process.node,note:base_contact.process_node_contacts0 msgid "People you work with."