[BUG] put default maximum registration to 1000 else it was 0 and it raised and error
bzr revid: mva@openerp.com-20120207112614-2adyy8u937rnlfev
This commit is contained in:
parent
5c07b95388
commit
db98d53e69
|
@ -158,6 +158,7 @@ class event_event(osv.osv):
|
|||
'state': 'draft',
|
||||
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'event.event', context=c),
|
||||
'user_id': lambda obj, cr, uid, context: uid,
|
||||
'register_max': 1000,
|
||||
}
|
||||
|
||||
def _check_closing_date(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue