Hi all.
Is it possible to create a new class (and model) by extending an existing class
but not creating a new table. Basically, I would like to create a new class
(and model) based on an existing model but modify existing labels. In the views
I would like to be able to specify new model.
Problem is that so far when I attempt to do this OpenERP creates a new table in
the database. This is not my intention.
e.g.
class res_vendor(osv.osv):
_description='Vendor Partner'
_inherit='res.partner'
_name='res.partner.vendor'
_columns = {
'child_ids': fields.one2many('res.partner', 'parent_id',
'Vendor Ref.'),
}
res_vendor()
Is this feasible?
Thanks.
Mugoma.
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users