I've added the change and also had a read at lambda function. Unfortunately, on the client the code seems to be ignored as the field is not being populated. I have the following in my ir.sequence table 176790;18;1;"";"";;"crm.case";"crm";1;7;1;"EOQ\";TRUE;""
My full code is line this from osv import fields from osv import osv class crm_case(osv.osv): _name='crm.case' _inherit='crm.case' _columns={'inq_name':fields.char('Enquiry Number',size=16),} _defaults={'inq_name': self.pool.get('ir.sequence').get(cr, uid, 'crm.case'),} crm_case() -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=34982#34982 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
