msgstr ""
"Project-Id-Version: OpenERP Server 7.0alpha-20121206-000102\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-14 14:24+0000\n"
-"PO-Revision-Date: 2014-01-14 15:26+0100\n"
+"POT-Creation-Date: 2014-01-14 15:01+0000\n"
+"PO-Revision-Date: 2014-01-14 16:02+0100\n"
"Last-Translator: Ludovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>\n"
"Language-Team: \n"
"Language: fr_FR\n"
#. module: velosenville
#: view:res.partner:0
-#, fuzzy
msgid "Join membership"
msgstr "Facturer une adhésion"
msgid "Partners control user"
msgstr "Utilisateur de contrôle des Partenaires"
+#. module: velosenville
+#: field:res.partner,birthdate_date:0
+msgid "Birthdate"
+msgstr "Date de naissance"
+
#. module: velosenville
#: model:product.template,name:velosenville.product_standard_membership_product_template
msgid "Standard membership"
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-01-14 14:24+0000\n"
-"PO-Revision-Date: 2014-01-14 14:24+0000\n"
+"POT-Creation-Date: 2014-01-14 15:01+0000\n"
+"PO-Revision-Date: 2014-01-14 15:01+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
msgid "Partners control user"
msgstr ""
+#. module: velosenville
+#: field:res.partner,birthdate_date:0
+msgid "Birthdate"
+msgstr ""
+
#. module: velosenville
#: model:product.template,name:velosenville.product_standard_membership_product_template
msgid "Standard membership"
_columns = {
#Overload birthdate field to have date format. Don't know why it's char type in mainstream version
- 'birthdate': fields.date('Birthdate'),
+ 'birthdate_date': fields.date('Birthdate'),
}
- def _check_birthdate(self, cr, uid, ids, context=None):
+ def _check_birthdate_date(self, cr, uid, ids, context=None):
obj = self.browse(cr, uid, ids[0], context=context)
- if obj.birthdate:
- if obj.birthdate < '1900-01-01' or obj.birthdate > str(date.today()):
+ if obj.birthdate_date:
+ if obj.birthdate_date < '1900-01-01' or obj.birthdate_date > str(date.today()):
return False
return True
_constraints = [
- (_check_birthdate, 'Error: this birthdate is not valid.', ['birthdate']),
+ (_check_birthdate_date, 'Error: this birthdate is not valid.', ['birthdate']),
]
res_partner()
<field name="inherit_id" ref="bikecoop.view_bikecoop_members_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='year']" position="replace">
- <field name="birthdate" attrs="{'required': [('is_company','=', False)]}"/>
+ <field name="birthdate_date" attrs="{'required': [('is_company','=', False)]}"/>
</xpath>
</field>
</record>