#
##############################################################################
+import eturecup
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
--- /dev/null
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# eturecup module for OpenERP, Custom module for Étu'Récup
+# Copyright (C) 2014-2015 Étu'Récup (<http://www.eturecup.org/>)
+#
+# This file is a part of eturecup
+#
+# eturecup is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# eturecup 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from openerp.osv import osv
+from openerp.osv import orm
+from openerp.osv import fields
+
+
+class Partner(orm.Model):
+ _inherit = 'res.partner'
+
+ _columns = {
+ 'newsletter': fields.boolean('Do you want to receive our monthly newsletter?'),
+ 'want_to_be_volunteer': fields.boolean(
+ 'Do you want to receive some informations about volunteer activities?',
+ help='… in company and its activities: bikecoop, events, …'),
+ }
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-12-10 10:57+0000\n"
-"PO-Revision-Date: 2014-12-10 10:57+0000\n"
+"POT-Creation-Date: 2015-11-23 07:07+0000\n"
+"PO-Revision-Date: 2015-11-23 07:07+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
+#. module: eturecup
+#: field:res.partner,newsletter:0
+msgid "Do you want to receive our monthly newsletter?"
+msgstr ""
+
+#. module: eturecup
+#: help:res.partner,want_to_be_volunteer:0
+msgid "… in company and its activities: bikecoop, events, …"
+msgstr ""
+
+#. module: eturecup
+#: field:res.partner,parent_name:0
+msgid "Parent name"
+msgstr ""
+
#. module: eturecup
#: view:res.partner:0
msgid "This is a special functionnality for Étu'Récup that doesn't use the point of sale at moment. It's not a permanent functionnality."
#. module: eturecup
#: view:res.partner:0
-msgid "Invoice membership"
+msgid "Join membership"
+msgstr ""
+
+#. module: eturecup
+#: model:ir.model,name:eturecup.model_res_partner
+msgid "Partner"
msgstr ""
#. module: eturecup
#: view:res.partner:0
-msgid "Join membership"
+msgid "Invoice membership"
+msgstr ""
+
+#. module: eturecup
+#: field:res.partner,want_to_be_volunteer:0
+msgid "Do you want to receive some informations about volunteer activities?"
msgstr ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-12-10 10:57+0000\n"
-"PO-Revision-Date: 2014-12-10 11:58+0100\n"
+"POT-Creation-Date: 2015-11-23 08:07+0100\n"
+"PO-Revision-Date: 2015-11-23 08:07+0100\n"
"Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
"Language-Team: \n"
"Language: fr\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.6.10\n"
+"X-Generator: Poedit 1.8.6\n"
+
+#. module: eturecup
+#: field:res.partner,newsletter:0
+msgid "Do you want to receive our monthly newsletter?"
+msgstr "Recevoir la newsletter mensuelle d'Etu'Récup?"
+
+#. module: eturecup
+#: help:res.partner,want_to_be_volunteer:0
+#, fuzzy
+msgid "… in company and its activities: bikecoop, events, …"
+msgstr ""
+"… dans la vie de l'association et ses activités: ateliers, collecte, "
+"événements, ..."
+
+#. module: eturecup
+#: field:res.partner,parent_name:0
+msgid "Parent name"
+msgstr "Partenaire parent"
#. module: eturecup
#: view:res.partner:0
"Ceci est une fonctionnalité pour Étu'Récup qui n'utilise pas le point de "
"vente pour le moment. Ce n'est pas une fonctionnalité permanente."
+#. module: eturecup
+#: view:res.partner:0
+msgid "Join membership"
+msgstr "Prendre une adhésion"
+
+#. module: eturecup
+#: model:ir.model,name:eturecup.model_res_partner
+#, fuzzy
+msgid "Partner"
+msgstr "Partenaire"
+
#. module: eturecup
#: view:res.partner:0
msgid "Invoice membership"
msgstr "Facturer une cotisation"
#. module: eturecup
-#: view:res.partner:0
-msgid "Join membership"
-msgstr "Prendre une adhésion"
+#: field:res.partner,want_to_be_volunteer:0
+msgid "Do you want to receive some informations about volunteer activities?"
+msgstr ""
+"Recevoir des informations supplémentaires pour m'impliquer en tant que "
+"bénévole?"
</xpath>
</field>
</record>
+ <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="priority" eval="8"/>
+ <field name="arch" type="xml">
+ <xpath expr="//notebook[@name='Volunteer activities']" position="replace">
+ <group colspan="4">
+ <field name="newsletter"/>
+ <field name="want_to_be_volunteer"/>
+ </group>
+ </xpath>
+ </field>
+ </record>
+
</data>
</openerp>