[quote="StephaneWirtel"]With the name of the inherited model.[/quote]

This will work if I have oly one extension. But if there're many extensions in 
one module, it becomes ambiguous which extension is being used :


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()



class res_customer(osv.osv):
_description='Customer Partner'
_inherit='res.partner'
#_name='res.partner.customer'

_columns = {
'child_ids': fields.one2many('res.partner', 'parent_id', 'Customer Ref.'),
}
res_customer()

It's difficult to tell the view which model to use.

Thanks.

Mugoma.




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

Reply via email to