+
+class event_registration(orm.Model):
+ _inherit = 'event.registration'
+
+ _columns = {
+ 'gender': fields.selection([
+ ('female', 'Female'),
+ ('male', 'Male'),
+ ('other', 'Other')],
+ 'Gender'),
+ 'position': fields.selection([
+ ('employee', 'Employee'),
+ ('individual', 'Invividual'),
+ ('volunteer', 'Volunteer')],
+ 'Position'),
+ 'funding_main': fields.selection([
+ ('individual', 'Individual'),
+ ('opco', 'OPCO'),
+ ('company', 'Company'),
+ ('pole_emploi', 'Pole Emploi')],
+ 'Main funding', help='Main funding origin'),
+ 'fundings_others': fields.char('Others fundings origins', size=128),
+ }
+