you just need to create a method which will call get method of your sequence. 
and modify the returned value of your sequence and return new one.
you have to create .xml file for sequence first 
see sale/sale_sequence.xml for example.
use that sequence in default value of your farmer_id field.

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




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

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

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


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

Reply via email to