expose inheritance meta-information though webservices

Registered by Raphaƫl Valyi - http://www.akretion.com

OpenERP objects are largely exposed by webservices, this is great. However, when some external system try to accomodate to the OpenERP business models, while we can retrieve the basic UML structure by reading the ir.models and ir.models.fields tables, we currently have no way for instance to discover that say the product.product object inherits the product.template object. This makes it hard for instance to discover which default fields we should read for that object without dealing with the views directly.
One of the projects that suffer of this is the OOOR Ruby connector, see for instance that bug:
http://github.com/rvalyi/ooor/issues#issue/33 and its workaround.

So it would be far better if a model could tel us, by webservice (just some kind of fields) if it inherits one or more models.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Pending Approval
Series goal:
Accepted for trunk
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.