Hello hda,

Thank u for ur reply.

_defaults = {
        'name': lambda obj, cr, uid, context: 
obj.pool.get('person.unique').farmer_seq_get(cr, uid),
              }

def farmer_seq_get(self, cr, uid):
   name = self.pool.get('ir.sequence').get(cr, uid, 'person.unique')
   #Modify your name field here according to different fields.
   return name

In the given above code by you, 

#"Modify your name field here according to different fields", means what i need 
to update, can u explain clearly to get "Farmer Unique ID = State + District + 
Taluk + Village + Farm Number"

Thank you




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

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

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


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

Reply via email to