You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenERP doesn't tell over RPC which objects are inherited (_inherits), this sucks and forces us to to do nasty slow tests to find out if some field is inherited or not.
In fact, I just noticed that calling reading with no field to read may return the list of inheritance keys: such as for product.product:
[{'product_tmpl_id': 5, 'id': 5}]
May be we can use that info to speed up the tests. Of course, if OpenERP could just expose that information that would just be better.
The text was updated successfully, but these errors were encountered:
OpenERP doesn't tell over RPC which objects are inherited (_inherits), this sucks and forces us to to do nasty slow tests to find out if some field is inherited or not.
In fact, I just noticed that calling reading with no field to read may return the list of inheritance keys: such as for product.product:
[{'product_tmpl_id': 5, 'id': 5}]
May be we can use that info to speed up the tests. Of course, if OpenERP could just expose that information that would just be better.
The text was updated successfully, but these errors were encountered: