← Back to team overview

openerp-community team mailing list archive

lp:~openerp-community/partner-contact-management/base_partner_surname into lp:partner-contact-management/6.1

 

Maxime Chambreuil (http://www.savoirfairelinux.com) has proposed merging lp:~openerp-community/partner-contact-management/base_partner_surname into lp:partner-contact-management/6.1.

Requested reviews:
  Partner and Contact Core Editors (partner-contact-core-editors)

For more details, see:
https://code.launchpad.net/~openerp-community/partner-contact-management/base_partner_surname/+merge/149651
-- 
https://code.launchpad.net/~openerp-community/partner-contact-management/base_partner_surname/+merge/149651
Your team OpenERP Community is subscribed to branch lp:~openerp-community/partner-contact-management/base_partner_surname.
=== added directory 'base_partner_surname'
=== added file 'base_partner_surname/__init__.py'
--- base_partner_surname/__init__.py	1970-01-01 00:00:00 +0000
+++ base_partner_surname/__init__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+import partner
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file

=== added file 'base_partner_surname/__openerp__.py'
--- base_partner_surname/__openerp__.py	1970-01-01 00:00:00 +0000
+++ base_partner_surname/__openerp__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,40 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+{
+    "name" : "Base Partner Surname",
+    "version" : "1.0",
+    "author" : "Tiny, Serpent Consulting Services",
+    "website" : "http://www.openerp.com";,
+    "category" : "Generic Modules/Base",
+    "description": """
+This module is used for separate surname from contact name of partner. Now You can give first name & last name on contact Name.
+This module is deprecated, it is highly recommended to use base_contact instead.
+
+    """,
+    "depends" : ["base"],
+    "init_xml" : [ ],
+    "demo_xml" : [ ],
+    "update_xml" : [ "partner_view.xml" ],
+    "installable": True,
+    "auto_install": False
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+

=== added file 'base_partner_surname/__terp__.py'
--- base_partner_surname/__terp__.py	1970-01-01 00:00:00 +0000
+++ base_partner_surname/__terp__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,39 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+{
+    "name" : "Base Partner Surname",
+    "version" : "1.0",
+    "author" : "Tiny",
+    "website" : "http://www.openerp.com";,
+    "category" : "Generic Modules/Base",
+    "description": """
+This module use for seperate surname from contact name of partner. Now You can give first name & last name on contact Name.
+This module is deprecated, it is higly recommended to use base_contact instead.
+
+    """,
+    "depends" : ["base"],
+    "init_xml" : [ ],
+    "demo_xml" : [ ],
+    "update_xml" : [ "partner_view.xml" ],
+    "installable": True
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+

=== added directory 'base_partner_surname/i18n'
=== added file 'base_partner_surname/i18n/base_partner_surname.pot'
--- base_partner_surname/i18n/base_partner_surname.pot	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/base_partner_surname.pot	2013-02-20 18:18:30 +0000
@@ -0,0 +1,51 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* base_partner_surname
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-11-25 05:35:30+0000\n"
+"PO-Revision-Date: 2009-11-25 05:35:30+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: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid "\n"
+"This module use for seperate surname from contact name of partner. Now You can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact instead.\n"
+"\n"
+"    "
+msgstr ""
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr ""
+

=== added file 'base_partner_surname/i18n/ca.po'
--- base_partner_surname/i18n/ca.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/ca.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,63 @@
+# Catalan translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-07-20 19:22+0000\n"
+"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
+"<jesteve@xxxxxxxxxxxxxxx>\n"
+"Language-Team: Catalan <ca@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML no vàlid per a l'estructura de la vista!"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Cognoms"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Base - Cognoms a les empreses"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Nom"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+"\n"
+"Aquest mòdul serveix per a separar nom i cognoms en el contacte de "
+"l'empresa. Permet introduir el nom i cognoms en el nom de contacte.\n"
+"Aquest mòdul està obsolet, es molt recomanable en el seu lloc utilitzar "
+"base_contact.\n"
+"\n"
+"    "
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Contactes de l'empresa"

=== added file 'base_partner_surname/i18n/es.po'
--- base_partner_surname/i18n/es.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/es.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,62 @@
+# Spanish translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-09-03 08:05+0000\n"
+"Last-Translator: OpenERP Administrators <Unknown>\n"
+"Language-Team: Spanish <es@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "¡XML no válido para la estructura de la vista!"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Apellidos"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Nombre y apellidos para contactos de empresas"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Nombre"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+"\n"
+"Este módulo sirve para separar nombre y apellidos en el contacto de la "
+"empresa. Permite introducir el nombre y apellidos en el nombre de contacto.\n"
+"Este módulo está obsoleto, es muy recomendable en su lugar utilizar "
+"base_contact.\n"
+"\n"
+"    "
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Contactos de la empresa"

=== added file 'base_partner_surname/i18n/fi.po'
--- base_partner_surname/i18n/fi.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/fi.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,55 @@
+# Finnish translation for openobject-addons
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2011-06-28 06:54+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Finnish <fi@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "Virheellinen XML näkymä-arkkitehtuurille!"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Sukunimi"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Kumppanin sukunimi"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Etunimi"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Partnerin yhteystiedot"

=== added file 'base_partner_surname/i18n/fr.po'
--- base_partner_surname/i18n/fr.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/fr.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,55 @@
+# French translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-06-04 07:10+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: French <fr@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML non valide pour l'architecture de la vue"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Nom"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Prénom"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Contacts du partenaire"

=== added file 'base_partner_surname/i18n/fr_BE.po'
--- base_partner_surname/i18n/fr_BE.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/fr_BE.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,51 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* base_partner_surname
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.6\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-11-25 05:35:30+0000\n"
+"PO-Revision-Date: 2009-11-25 05:35:30+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: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid "\n"
+"This module use for seperate surname from contact name of partner. Now You can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact instead.\n"
+"\n"
+"    "
+msgstr ""
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr ""
+

=== added file 'base_partner_surname/i18n/it.po'
--- base_partner_surname/i18n/it.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/it.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,62 @@
+# Italian translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-08-18 12:13+0000\n"
+"Last-Translator: OpenERP Administrators <Unknown>\n"
+"Language-Team: Italian <it@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML non valido per visualizzare l'Achitettura!"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Cognome"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Cognome Partner di base"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Nome"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+"\n"
+"Questo modulo si usa per separare il cognome dal nome contatto del partner. "
+"Ora puoi dare Nome & Cognome a Nome Contatto.\n"
+"Questo modulo è obsoleto, è altamente raccomandato l'utilizzo del modulo: "
+"base_contact al suo posto.\n"
+"\n"
+"    "
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Contatti del partner"

=== added file 'base_partner_surname/i18n/pt.po'
--- base_partner_surname/i18n/pt.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/pt.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,62 @@
+# Portuguese translation for openobject-addons
+# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
+# This file is distributed under the same license as the openobject-addons package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openobject-addons\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-11-30 14:52+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Portuguese <pt@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr "XML Inválido para a Arquitectura de Vista!"
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr "Ùltimo Nome"
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Apelido de Terceiro Base"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr "Primeiro Nome"
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+"\n"
+"Este módulo serve para separar nome e apelido do contacto do terceiro. "
+"Permite introduzir o primeiro nome e o último nome de contacto.\n"
+"Este módulo é obsoleto, é altamente recomendado que utilize base_contact "
+"como alternativa .\n"
+"\n"
+"    "
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr "Contactos de Terceiros"

=== added file 'base_partner_surname/i18n/sv.po'
--- base_partner_surname/i18n/sv.po	1970-01-01 00:00:00 +0000
+++ base_partner_surname/i18n/sv.po	2013-02-20 18:18:30 +0000
@@ -0,0 +1,54 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* base_partner_surname
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 5.0.14\n"
+"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
+"POT-Creation-Date: 2009-11-25 05:35+0000\n"
+"PO-Revision-Date: 2010-11-22 21:29+0000\n"
+"Last-Translator: Olivier Dony (OpenERP) <Unknown>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2012-12-05 05:38+0000\n"
+"X-Generator: Launchpad (build 16335)\n"
+
+#. module: base_partner_surname
+#: constraint:ir.ui.view:0
+msgid "Invalid XML for View Architecture!"
+msgstr ""
+
+#. module: base_partner_surname
+#: field:res.partner.address,last_name:0
+msgid "Last Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,shortdesc:base_partner_surname.module_meta_information
+msgid "Base Partner Surname"
+msgstr "Base Partner Surname"
+
+#. module: base_partner_surname
+#: field:res.partner.address,first_name:0
+msgid "First Name"
+msgstr ""
+
+#. module: base_partner_surname
+#: model:ir.module.module,description:base_partner_surname.module_meta_information
+msgid ""
+"\n"
+"This module use for seperate surname from contact name of partner. Now You "
+"can give first name & last name on contact Name.\n"
+"This module is deprecated, it is higly recommended to use base_contact "
+"instead.\n"
+"\n"
+"    "
+msgstr ""
+
+#. module: base_partner_surname
+#: view:res.partner:0
+msgid "Partner Contacts"
+msgstr ""

=== added file 'base_partner_surname/partner.py'
--- base_partner_surname/partner.py	1970-01-01 00:00:00 +0000
+++ base_partner_surname/partner.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,77 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+from osv import fields, osv
+
+
+class res_partner_address(osv.osv):
+    _inherit = 'res.partner.address'
+    _columns = {
+        'first_name' : fields.char('First Name', size=128),
+        'last_name' : fields.char('Last Name', size=128),
+        'name' : fields.char('Name', size=128, readonly=True),
+    }
+    
+    def write(self, cr, uid, ids, vals, context=None):
+        if context is None:
+            context = {}
+        if isinstance(ids,list):
+            ids = ids[0]
+        data = self.read(cr, uid, ids, ['first_name','last_name'], context=context)
+        first_name = data['first_name'] or ''
+        if 'first_name' in vals:
+            first_name = vals['first_name'] or ''
+        
+        last_name = data['last_name'] or ''
+        if 'last_name' in vals:
+            last_name = vals['last_name'] or ''
+
+        if first_name or last_name:
+            vals['name'] = first_name + ' ' + last_name
+        return super(res_partner_address, self).write(cr, uid, ids, vals, context)
+
+    def create(self, cr, uid, vals, context=None):
+        if context is None:
+            context = {}
+        first_name = ''
+        last_name = ''
+        if 'first_name' in vals:
+            first_name = vals['first_name'] or ''
+        if 'last_name' in vals:
+            last_name = vals['last_name'] or ''
+            
+        if first_name or last_name:
+            vals['name'] = first_name + ' ' + last_name
+        return super(res_partner_address, self).create(cr, uid, vals, context)
+
+    def onchange_name(self, cr, uid, id, first_name, last_name):
+        res = {}
+        if not first_name:
+            first_name = ''
+        if not last_name:
+            last_name = ''
+        if first_name or last_name:
+            res = {'name': first_name + ' ' + last_name}
+        return {'value': res}
+
+res_partner_address()
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+

=== added file 'base_partner_surname/partner_view.xml'
--- base_partner_surname/partner_view.xml	1970-01-01 00:00:00 +0000
+++ base_partner_surname/partner_view.xml	2013-02-20 18:18:30 +0000
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+    <record model="ir.ui.view" id="view_partner_address_form1_inherited">
+        <field name="name">res.partner.address.form1.inherit</field>
+        <field name="model">res.partner.address</field>
+        <field name="type">form</field>
+        <field name="inherit_id" ref="base.view_partner_address_form1"/>
+        <field name="arch" type="xml">
+            <field name="type" position="before">
+                <field name="first_name" select="1" on_change="onchange_name(first_name,last_name)"/>
+                <field name="last_name" select="1" on_change="onchange_name(first_name,last_name)"/>
+                <newline/>
+            </field>
+        </field>
+    </record>
+
+    <record model="ir.ui.view" id="view_partner_form_inherited">
+        <field name="name">res.partner.form.inherit</field>
+        <field name="model">res.partner</field>
+        <field name="type">form</field>
+        <field name="inherit_id" ref="base.view_partner_form"/>
+        <field name="arch" type="xml">
+            <xpath expr="/form/notebook/page[@string='General']/field/form/group/field[@name='name']" position="before">
+                <field name="first_name" on_change="onchange_name(first_name,last_name)"/>
+                <field name="last_name" on_change="onchange_name(first_name,last_name)"/>
+                <newline />
+            </xpath>
+        </field>
+    </record>
+    </data>
+</openerp>

=== added directory 'crm_lead_formatted_phone'
=== added file 'crm_lead_formatted_phone/__init__.py'
--- crm_lead_formatted_phone/__init__.py	1970-01-01 00:00:00 +0000
+++ crm_lead_formatted_phone/__init__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+import crm_lead_formatted_phone

=== added file 'crm_lead_formatted_phone/__openerp__.py'
--- crm_lead_formatted_phone/__openerp__.py	1970-01-01 00:00:00 +0000
+++ crm_lead_formatted_phone/__openerp__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+{
+    "name" : "Format phone numbers of lead ",
+    "version" : "0.1",
+    "author" : "Savoir-faire Linux",
+    "website" : "http://www.savoirfairelinux.com";,
+    "license" : "AGPL-3",
+    "category" : "CRM",
+    "description" : """
+This module formats the lead phone numbers based on the country phone format.
+    """,
+    "images" : [],
+    "depends" : ["crm", "res_partner_address_formatted_phone"],
+    "demo" : [],
+    "test" : [],
+    "data" : [
+        "crm_lead_formatted_phone.xml",
+    ],
+    "installable": True,
+    "complexity": "easy",
+}

=== added file 'crm_lead_formatted_phone/crm_lead_formatted_phone.py'
--- crm_lead_formatted_phone/crm_lead_formatted_phone.py	1970-01-01 00:00:00 +0000
+++ crm_lead_formatted_phone/crm_lead_formatted_phone.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+import re
+from osv import fields, osv
+
+class crm_lead_formatted_phone(osv.osv):
+    _inherit = 'crm.lead'
+    
+    def on_change_phone(self, cr, uid, ids, field_name, phone, country_id=False):
+        result = phone
+        if phone:
+            digits = [c for c in phone if c.isdigit()]
+            if len(digits) >= 10:
+                result = u"(%s) %s-%s" % ("".join(digits[0:3]), "".join(digits[3:6]), 
+                        "".join(digits[6:10]))
+                if len(digits) > 10:
+                    result += " x %s" % "".join(digits[10:])
+        return { 'value': { field_name: result } }
+
+crm_lead_formatted_phone()

=== added file 'crm_lead_formatted_phone/crm_lead_formatted_phone.xml'
--- crm_lead_formatted_phone/crm_lead_formatted_phone.xml	1970-01-01 00:00:00 +0000
+++ crm_lead_formatted_phone/crm_lead_formatted_phone.xml	2013-02-20 18:18:30 +0000
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="crm_lead_formatted_phone_form">
+            <field name="name">crm.lead.formatted.phone.form</field>
+            <field name="model">crm.lead</field>
+            <field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <data>
+
+                    <xpath expr="//notebook/page[@string='Lead']/group/field[@name='phone']"
+                           position="replace">
+                        <field name="phone" on_change="on_change_phone('phone', phone, country_id)"/>
+                    </xpath>
+
+                    <xpath expr="//notebook/page[@string='Lead']/group/field[@name='mobile']"
+                           position="replace">
+                        <field name="mobile" on_change="on_change_phone('mobile', mobile, country_id)"/>
+                    </xpath>
+
+                    <xpath expr="//notebook/page[@string='Lead']/group/field[@name='fax']"
+                           position="replace">
+                        <field name="fax" on_change="on_change_phone('fax', fax, country_id)"/>
+                    </xpath>
+
+                </data>
+            </field>
+        </record>
+
+    </data>
+</openerp>

=== added directory 'res_partner_address_formatted_phone'
=== added file 'res_partner_address_formatted_phone/__init__.py'
--- res_partner_address_formatted_phone/__init__.py	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/__init__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+import res_partner_address_formatted_phone
+import res_country_phone_format

=== added file 'res_partner_address_formatted_phone/__openerp__.py'
--- res_partner_address_formatted_phone/__openerp__.py	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/__openerp__.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+{
+    "name" : "Format phone numbers of partner",
+    "version" : "0.1",
+    "author" : "Savoir-faire Linux",
+    "website" : "http://www.savoirfairelinux.com";,
+    "license" : "AGPL-3",
+    "category" : "Partner",
+    "description" : """
+This module formats the partner phone numbers based on the format of the 
+phonenumbers library (http://pypi.python.org/pypi/phonenumbers).
+    """,
+    "images" : [],
+    "depends" : ["base"],
+    "demo" : [],
+    "test" : [],
+    "data" : [
+        "res_partner_address_formatted_phone.xml",
+        "res_country_phone_format_view.xml",
+        "res_country_phone_format_data.xml",
+    ],
+    "installable": True,
+    "complexity": "easy",
+}

=== added file 'res_partner_address_formatted_phone/res_country_phone_format.py'
--- res_partner_address_formatted_phone/res_country_phone_format.py	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/res_country_phone_format.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+import re
+from osv import fields, osv
+
+class res_country_phone_format(osv.osv):
+    _inherit = 'res.country'
+    _columns = {
+        'phone_format': fields.char('Phone Format', size=100)
+    }
+    
+res_country_phone_format()

=== added file 'res_partner_address_formatted_phone/res_country_phone_format_data.xml'
--- res_partner_address_formatted_phone/res_country_phone_format_data.xml	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/res_country_phone_format_data.xml	2013-02-20 18:18:30 +0000
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data noupdate="1">
+
+        <record model="res.country" id="base.ca">
+            <field name="phone_format">(XXX) XXX-XXXX x XXX</field>
+        </record>
+
+    </data>
+</openerp>

=== added file 'res_partner_address_formatted_phone/res_country_phone_format_view.xml'
--- res_partner_address_formatted_phone/res_country_phone_format_view.xml	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/res_country_phone_format_view.xml	2013-02-20 18:18:30 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+
+        <record model="ir.ui.view" id="view_res_country_phone_format_form">
+            <field name="name">res.country.phone.format.form</field>
+            <field name="model">res.country</field>
+            <field name="inherit_id" ref="base.view_country_form"/>
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <field name="address_format" position="after">
+                    <field name="phone_format"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>

=== added file 'res_partner_address_formatted_phone/res_partner_address_formatted_phone.py'
--- res_partner_address_formatted_phone/res_partner_address_formatted_phone.py	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/res_partner_address_formatted_phone.py	2013-02-20 18:18:30 +0000
@@ -0,0 +1,41 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#    
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2012 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     
+#
+##############################################################################
+
+import re
+from osv import fields, osv
+
+class res_partner_address_formatted_phone(osv.osv):
+    _inherit = 'res.partner.address'
+
+    def on_change_phone(self, cr, uid, ids, field_name, phone, country_id=False):
+        result = phone
+        phone_format = self.pool.get('phone_format')
+        if phone:
+            digits = [c for c in phone if c.isdigit()]
+            crosses = [x for x in phone_format if c == 'X']
+            if len(digits) >= len(crosses):
+                result = u"(%s) %s-%s" % ("".join(digits[0:3]), "".join(digits[3:6]),
+                        "".join(digits[6:10]))
+                if len(digits) > 10:
+                    result += " x %s" % "".join(digits[10:])
+        return { 'value': { field_name: result } }
+    
+res_partner_address_formatted_phone()

=== added file 'res_partner_address_formatted_phone/res_partner_address_formatted_phone.xml'
--- res_partner_address_formatted_phone/res_partner_address_formatted_phone.xml	1970-01-01 00:00:00 +0000
+++ res_partner_address_formatted_phone/res_partner_address_formatted_phone.xml	2013-02-20 18:18:30 +0000
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <record model="ir.ui.view"
+            id="view_customer_american_phone_formatter_form">
+            <field name="name">res.partner.american_phone_formatter.form</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="base.view_partner_form" />
+            <field name="type">form</field>
+            <field name="arch" type="xml">
+                <data>
+                    <xpath expr="//notebook/page[@string='General']/field/form//group/field[@name='phone']"
+                        position="replace">
+                        <field name="phone" on_change="on_change_phone('phone', phone, country_id)" />
+                    </xpath>
+                    <xpath expr="//notebook/page[@string='General']/field/form//group/field[@name='mobile']"
+                        position="replace">
+                        <field name="mobile"  on_change="on_change_phone('mobile', mobile, country_id)" />
+                    </xpath>
+                    <xpath expr="//notebook/page[@string='General']/field/form//group/field[@name='fax']"
+                        position="replace">
+                        <field name="fax"  on_change="on_change_phone('fax', fax, country_id)" />
+                    </xpath>
+                </data>
+            </field>
+        </record>
+    </data>
+</openerp>


Follow ups