Sorry My last patch will not work properly.
you need to override create and write method.
because your sequence is depend on other fields of the record.

def create(self, cr, user, vals, context=None):
        vals['name'] = vals['state'] + 
vals['district'] + vals['taluk'] + vals['village'] + 
vals['name']
        return 
super(purchase_order,self).create(cr, user, vals, context)


------------------------
OpenERP=Easier, Adaptable, Affordable, Modular




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=40409#40409

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to