Browse Source

Add module partner_contact_base.

pull/120/head
Jairo Llopis 10 years ago
parent
commit
68a5f7e321
  1. 55
      partner_contact_base/README.rst
  2. 0
      partner_contact_base/__init__.py
  3. 31
      partner_contact_base/__openerp__.py
  4. 117
      partner_contact_base/i18n/de.po
  5. 23
      partner_contact_base/i18n/es.po
  6. 119
      partner_contact_base/i18n/fr.po
  7. 22
      partner_contact_base/i18n/partner_contact_base.pot
  8. 120
      partner_contact_base/i18n/sl.po
  9. 21
      partner_contact_base/views/res_partner.xml

55
partner_contact_base/README.rst

@ -0,0 +1,55 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
Contacts' Personal Data
=======================
This module was written to extend the contact management functionality.
Its only purpose is to serve as a base for other modules that add personal
information fields to contacts that are persons.
Installation
============
**You should NOT install this module yourself**, because it does nothing by
itself. This module should get installed automatically when you install
other modules that actually do something useful.
Usage
=====
You can find a new page called *Personal Information* in the contact's form.
For further information, please visit:
* https://www.odoo.com/forum/help-1
* https://github.com/OCA/partner-contact/
Known issues / Roadmap
======================
* None.
Credits
=======
Contributors
------------
* Jairo Llopis <j.llopis@grupoesoc.es>
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.

0
partner_contact_base/__init__.py

31
partner_contact_base/__openerp__.py

@ -0,0 +1,31 @@
# -*- encoding: utf-8 -*-
# Odoo, Open Source Management Solution
# Copyright (C) 2014-2015 Grupo ESOC <www.grupoesoc.es>
#
# 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 for contact modules",
"version": "1.0",
"author": "Odoo Community Association (OCA)",
"category": "Customer Relationship Management",
"website": "https://odoo-community.org/",
"depends": [
"base"
],
"data": [
"views/res_partner.xml",
],
}

117
partner_contact_base/i18n/de.po

@ -0,0 +1,117 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * base_contact
#
# Rudolf Schnapka <schnapkar@golive-saar.de>, 2014.
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-19 10:13+0000\n"
"PO-Revision-Date: 2015-05-19 12:15+0100\n"
"Last-Translator: Jairo Llopis <j.llopis@grupoesoc.es>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\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.7.6\n"
#. module: partner_contact_base
#: view:res.partner:partner_contact_base.personal_information
msgid "Personal Information"
msgstr "Persönliche Auskunft"
#~ msgid "City"
#~ msgstr "Stadt"
#~ msgid "other position"
#~ msgstr "andere Position"
#~ msgid "Contacts"
#~ msgstr "Kontakte"
#~ 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:"
#~ msgid "Street..."
#~ msgstr "Straße..."
#~ msgid "State"
#~ msgstr "Bundesland"
#~ msgid "at"
#~ msgstr "bei"
#~ msgid "Tags..."
#~ msgstr "Schlagworte..."
#~ msgid "Other Positions"
#~ msgstr "Andere Positionen"
#~ msgid "Phone:"
#~ msgstr "Telefon:"
#~ msgid "Company"
#~ msgstr "Unternehmen"
#~ msgid "Main Contact"
#~ msgstr "Hauptkontakt"
#~ msgid "Fax:"
#~ msgstr "Fax:"
#~ msgid "Standalone Contact"
#~ msgstr "Alleinstehender Kontakt"
#~ msgid "Nationality."
#~ msgstr "Nationalität."
#~ msgid "Address"
#~ msgstr "Anschrift"
#~ msgid "Nationality"
#~ msgstr "Nationalität"
#~ msgid "Attached to existing Contact"
#~ msgstr "Mit bestehendem Kontakt verknüpft"
#~ msgid "ZIP"
#~ msgstr "PLZ"
#~ msgid "Country"
#~ msgstr "Land"
#~ msgid "Birthdate"
#~ msgstr "Geburtsdatum"
#~ msgid "Person"
#~ msgstr "Person"
#~ msgid "Contact"
#~ msgstr "Kontakt"
#~ msgid "Mobile:"
#~ msgstr "Mobil:"
#~ msgid "All partner positions"
#~ msgstr "Alle Positionen des Partners"
#~ msgid "All positions"
#~ msgstr "Alle Positionen"
#~ msgid "other positions"
#~ msgstr "andere Positionen"
#~ msgid "Contact Type"
#~ msgstr "Kontaktart"
#~ msgid "Partner"
#~ msgstr "Partner"
#~ msgid "Others Positions"
#~ msgstr "Andere Positionen"
#~ msgid "e.g. Sales Director"
#~ msgstr "z. B. Verkaufsleiter"

23
partner_contact_base/i18n/es.po

@ -0,0 +1,23 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_base
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150514\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-19 10:13+0000\n"
"PO-Revision-Date: 2015-05-19 12:16+0100\n"
"Last-Translator: Jairo Llopis <j.llopis@grupoesoc.es>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 1.7.6\n"
"Language: es_ES\n"
#. module: partner_contact_base
#: view:res.partner:partner_contact_base.personal_information
msgid "Personal Information"
msgstr "Información personal"

119
partner_contact_base/i18n/fr.po

@ -0,0 +1,119 @@
# 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: 2015-05-19 10:13+0000\n"
"PO-Revision-Date: 2015-05-19 12:15+0100\n"
"Last-Translator: Jairo Llopis <j.llopis@grupoesoc.es>\n"
"Language-Team: \n"
"Language: fr\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.7.6\n"
#. module: partner_contact_base
#: view:res.partner:partner_contact_base.personal_information
msgid "Personal Information"
msgstr "Informations personnelles"
#~ msgid "City"
#~ msgstr "Ville"
#~ msgid "other position"
#~ msgstr "fonction"
#~ msgid "Contacts"
#~ msgstr "Contacts"
#~ 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:"
#~ msgid "Street..."
#~ msgstr "Rue..."
#~ msgid "State"
#~ msgstr "État"
#~ msgid "at"
#~ msgstr "à"
#~ msgid "Tags..."
#~ msgstr "Étiquettes..."
#~ msgid "Other Positions"
#~ msgstr "Fonctions"
#~ msgid "Phone:"
#~ msgstr "Téléphone:"
#~ msgid "Company"
#~ msgstr "Organisme"
#~ msgid "Main Contact"
#~ msgstr "Principal contact"
#~ msgid "Fax:"
#~ msgstr "Fax :"
#~ msgid "Standalone Contact"
#~ msgstr "Contact autonome"
#~ msgid "Nationality."
#~ msgstr "Nationalité."
#~ msgid "Address"
#~ msgstr "Adresse"
#~ msgid "Nationality"
#~ msgstr "Nationalité"
#~ msgid "Attached to existing Contact"
#~ msgstr "Contact rattaché à un contact existant"
#~ msgid "ZIP"
#~ msgstr "Code postal"
#~ msgid "Country"
#~ msgstr "Pays"
#~ msgid "Birthdate"
#~ msgstr "Date de naissance"
#~ msgid "Person"
#~ msgstr "Personne"
#~ msgid "Contact"
#~ msgstr "Contact"
#~ msgid "Mobile:"
#~ msgstr "Portable :"
#~ msgid "All partner positions"
#~ msgstr "Tous les contacts"
#~ msgid "All positions"
#~ msgstr "Tous les contacts"
#~ msgid "ir.actions.act_window"
#~ msgstr "ir.actions.act_window"
#~ msgid "other positions"
#~ msgstr "fonctions"
#~ msgid "Contact Type"
#~ msgstr "Type de contact"
#~ msgid "Partner"
#~ msgstr "Partenaire"
#~ msgid "Others Positions"
#~ msgstr "Fonctions"
#~ msgid "e.g. Sales Director"
#~ msgstr "ex: Directeur des ventes"

22
partner_contact_base/i18n/partner_contact_base.pot

@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_base
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150514\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-19 10:13+0000\n"
"PO-Revision-Date: 2015-05-19 10:13+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_base
#: view:res.partner:partner_contact_base.personal_information
msgid "Personal Information"
msgstr ""

120
partner_contact_base/i18n/sl.po

@ -0,0 +1,120 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * base_contact
#
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015.
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-19 10:13+0000\n"
"PO-Revision-Date: 2015-05-19 12:15+0100\n"
"Last-Translator: Jairo Llopis <j.llopis@grupoesoc.es>\n"
"Language-Team: Slovenian <translate@matmoz.si>\n"
"Language: sl\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.7.6\n"
#. module: partner_contact_base
#: view:res.partner:partner_contact_base.personal_information
msgid "Personal Information"
msgstr "Osebni podatki"
#~ msgid "City"
#~ msgstr "Kraj"
#~ msgid "other position"
#~ msgstr "drug položaj"
#~ msgid "Contacts"
#~ msgstr "Stiki"
#~ msgid "To see personal information about this contact, please go to to the his person form:"
#~ msgstr "Za ogled osebnih podatkov o tem stiku pojdite na njegov glavni obrazec:"
#~ msgid "Street..."
#~ msgstr "Ulica..."
#~ msgid "State"
#~ msgstr "Zvezna država"
#~ msgid "at"
#~ msgstr "pri"
#~ msgid "Tags..."
#~ msgstr "Oznake..."
#~ msgid "Other Positions"
#~ msgstr "Drugi položaji"
#~ msgid "Phone:"
#~ msgstr "Telefon:"
#~ msgid "Company"
#~ msgstr "Družba"
#~ msgid "Main Contact"
#~ msgstr "Glavni stik"
#~ msgid "Fax:"
#~ msgstr "Faks:"
#~ msgid "Standalone Contact"
#~ msgstr "Samostojni stik"
#~ msgid "Nationality."
#~ msgstr "Nacionalnost"
#~ msgid "Address"
#~ msgstr "Naslov"
#~ msgid "Nationality"
#~ msgstr "Nacionalnost"
#~ msgid "Attached to existing Contact"
#~ msgstr "Pripeto obstoječemu stiku"
#~ msgid "ZIP"
#~ msgstr "Poštna številka"
#~ msgid "Country"
#~ msgstr "Država"
#~ msgid "Birthdate"
#~ msgstr "Rojstni datum"
#~ msgid "Person"
#~ msgstr "Oseba"
#~ msgid "Contact"
#~ msgstr "Stik"
#~ msgid "Mobile:"
#~ msgstr "Mobilni telefon:"
#~ msgid "All partner positions"
#~ msgstr "Vsi partnerjevi položaji"
#~ msgid "All positions"
#~ msgstr "Vsi položaji"
#~ msgid "ir.actions.act_window"
#~ msgstr "ir.actions.act_window"
#~ msgid "other positions"
#~ msgstr "drugi položaji"
#~ msgid "Contact Type"
#~ msgstr "Tip stika"
#~ msgid "Partner"
#~ msgstr "Partner"
#~ msgid "Others Positions"
#~ msgstr "Drugi položaji"
#~ msgid "e.g. Sales Director"
#~ msgstr "npr. vodja prodaje"

21
partner_contact_base/views/res_partner.xml

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="personal_information" model="ir.ui.view">
<field name="name">Personal information page for contacts form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//page[@name='internal_notes']" position="after">
<page name="personal_information"
string="Personal Information"
attrs="{'invisible': [('is_company','=',True)]}"/>
</xpath>
</data>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save