Browse Source

Merge pull request #193 from richard-willowit/personal_info_90

Update Partner Contact Personal Information module to 9.0
pull/215/merge
Eric Caudal 9 years ago
parent
commit
b68e584ced
  1. 5
      .gitignore
  2. 40
      partner_contact_personal_information_page/README.rst
  3. 33
      partner_contact_personal_information_page/__openerp__.py
  4. 12
      partner_contact_personal_information_page/i18n/partner_contact_personal_information_page.pot
  5. 9
      partner_contact_personal_information_page/views/res_partner.xml

5
.gitignore

@ -45,6 +45,11 @@ coverage.xml
# Pycharm
.idea
# Project
.project
.pydevproject
.settings/
# Backup files
*~
*.swp

40
partner_contact_personal_information_page/README.rst

@ -1,21 +1,30 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
===================================
Contacts' Personal Information Page
===================================
This module was written to extend the contact management functionality.
This module extends 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**.
Ultimately, this module is no longer required in version 9, as each module
that was previously dependent upon it will declare what it needs for itself.
Installation
============
.. warning::
**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.
This module exists to ensure that upgraded databases continue to work.
There should be no reason to install it directly, and there should be no
modules depending on it.
Configuration
=============
There is no configuration required for this module.
Usage
=====
@ -27,11 +36,27 @@ 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/9.0
Known issues / Roadmap
======================
* None.
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 `here <https://github.com/OCA/
partner-contact/issues/new?body=module:%20
partner_contact_personal_information_page%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
@ -42,6 +67,7 @@ Contributors
* Jairo Llopis <j.llopis@grupoesoc.es>
* Matjaž Mozetič <m.mozetic@matmoz.si>
* Rudolf Schnapka <schnapkar@golive-saar.de>
* Richard deMeester <richard@willowit.com.au>
Maintainer
----------
@ -56,4 +82,4 @@ 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.
To contribute to this module, please visit http://odoo-community.org.

33
partner_contact_personal_information_page/__openerp__.py

@ -1,33 +1,28 @@
# -*- coding: 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/>.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Personal information page for contacts",
"summary": "Add a page to contacts form to put personal information",
"version": "8.0.1.0.0",
"author": "Odoo Community Association (OCA)",
"version": "9.0.1.0.0",
"category": "Customer Relationship Management",
"website": "https://odoo-community.org/",
"author": "Odoo Community Association (OCA)",
"contributors": [
'EL Hadji DEM <elhadji.dem@savoirfairelinux.com>',
'Jairo Llopis <j.llopis@grupoesoc.es>',
'Matjaž Mozetič <m.mozetic@matmoz.si>',
'Rudolf Schnapka <schnapkar@golive-saar.de>',
'Richard deMeester <richard@willowit.com.au>',
],
"license": "AGPL-3",
'application': False,
'installable': True,
'auto_install': False,
"depends": [
"base"
],
"data": [
"views/res_partner.xml",
],
'installable': False,
}

12
partner_contact_personal_information_page/i18n/partner_contact_personal_information_page.pot

@ -1,13 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_contact_base
# * partner_contact_personal_information_page
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150514\n"
"Project-Id-Version: Odoo Server 9.0-20151126\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"
"POT-Creation-Date: 2015-11-26 09:18+0000\n"
"PO-Revision-Date: 2015-05-19 09:18+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -15,8 +15,8 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: partner_contact_base
#: view:res.partner:partner_contact_base.personal_information
#. module: partner_contact_personal_information_page
#: view:res.partner:base.personal_contact_information
msgid "Personal Information"
msgstr ""

9
partner_contact_personal_information_page/views/res_partner.xml

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<odoo>
<data>
<record id="personal_information" model="ir.ui.view">
<!-- Declared the same in every module that may need it -->
<record id="base.personal_contact_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"/>
@ -17,8 +18,8 @@
</page>
</xpath>
</data>
</field>
</field>
</record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save