[VIEW] -some fields in bikecoop members form
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 1 Mar 2016 15:12:49 +0000 (16:12 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Tue, 1 Mar 2016 15:12:49 +0000 (16:12 +0100)
__openerp__.py
data/members.xml [new symlink]
i18n/cyclofficine_pantin.pot [new file with mode: 0644]
i18n/fr.po [new file with mode: 0644]
view/bikecoop.xml [new file with mode: 0644]

index 12f54a6..7b5968e 100644 (file)
@@ -49,6 +49,7 @@ It installs the profile for bike co-ops to manage some features like:
         'data/products_categories.xml',
         'data/products_products.xml',
         'data/members.xml',
+        'view/bikecoop.xml',
     ],
     'installable': True,
     'auto_install': False,
diff --git a/data/members.xml b/data/members.xml
new file mode 120000 (symlink)
index 0000000..80cfc17
--- /dev/null
@@ -0,0 +1 @@
+../sec/data/members.xml
\ No newline at end of file
diff --git a/i18n/cyclofficine_pantin.pot b/i18n/cyclofficine_pantin.pot
new file mode 100644 (file)
index 0000000..893badc
--- /dev/null
@@ -0,0 +1,16 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-04 12:00+0000\n"
+"PO-Revision-Date: 2015-12-04 12:00+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"
+
diff --git a/i18n/fr.po b/i18n/fr.po
new file mode 100644 (file)
index 0000000..dd9e875
--- /dev/null
@@ -0,0 +1,17 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-12-04 13:02+0100\n"
+"PO-Revision-Date: 2015-12-04 13:02+0100\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.8.6\n"
+"Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
+"Language: fr\n"
diff --git a/view/bikecoop.xml b/view/bikecoop.xml
new file mode 100644 (file)
index 0000000..7bc64c6
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record id="view_bikecoop_members_form" model="ir.ui.view">
+            <field name="name">res.partner.form</field>
+            <field name="model">res.partner</field>
+            <field name="inherit_id" ref="bikecoop.view_bikecoop_members_form"/>
+            <field name="arch" type="xml">
+                <field name="nationality_id" position="replace"/>
+                <field name="occupation_id" position="replace"/>
+                <xpath expr="//notebook[@name='Volunteer activities']" position="replace"/>
+            </field>
+        </record>
+    </data>
+</openerp>