I'm working with tiny for almost one year and it is really good. 

At the moment, in each table mapped to a tiny-resouce, there must be a column 
called 'id' acting as the primary key. In order to support legacy databases, it 
would be very handy to by able to set different name of the primary key column.

For example:
class my_object(osv.osv):
   _name='my_module.my_object'
   _pk = 'my_object_id'         # 'id' by default of course
   ....
At the moment 'id' is beeing hard-coded in the osv/orm.py file.

Are there any plans to support that?

Jan




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

--
http://www.openerp.com/forum/viewtopic.php?p=26689#26689

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


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

Reply via email to