Browse Source

Generalise to not make this a dependency.

pull/193/head
Richard deMeester 9 years ago
parent
commit
4d0cc4ad6e
  1. 10
      partner_contact_personal_information_page/README.rst
  2. 12
      partner_contact_personal_information_page/i18n/partner_contact_personal_information_page.pot
  3. 3
      partner_contact_personal_information_page/views/res_partner.xml

10
partner_contact_personal_information_page/README.rst

@ -11,13 +11,15 @@ This module extends the contact management functionality.
Its only purpose is to serve as a base for other modules that add personal Its only purpose is to serve as a base for other modules that add personal
information fields to **contacts that are persons**. 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 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 Configuration
============= =============

12
partner_contact_personal_information_page/i18n/partner_contact_personal_information_page.pot

@ -1,13 +1,13 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * partner_contact_base
# * partner_contact_personal_information_page
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 8.0-20150514\n"
"Project-Id-Version: Odoo Server 9.0-20151126\n"
"Report-Msgid-Bugs-To: \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" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -15,8 +15,8 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \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" msgid "Personal Information"
msgstr "" msgstr ""

3
partner_contact_personal_information_page/views/res_partner.xml

@ -2,7 +2,8 @@
<odoo> <odoo>
<data> <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="name">Personal information page for contacts form</field>
<field name="model">res.partner</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/> <field name="inherit_id" ref="base.view_partner_form"/>

Loading…
Cancel
Save