openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15901
[Bug 930318] Re: import must not ask for _inherits field
Hello,
related to this:
I would suggest to have the ir.model object expose what are the _inherits fields to the RPC clients. Today this information is not exposed and leads to this issue for instance. Today, OpenERP GTK adn web-client rely on the fact that those _inherits fields are carefully not included in the XML of the views (like the fact there is no product_tmpl_id in the product.product forms) but this is a kind of hardcoded workaround, a much more elegant and generic solution would be to expose to RPC clients those keys so they know how to deal with them. That would allow to fix that bug too.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/930318
Title:
import must not ask for _inherits field
Status in OpenERP Server:
Confirmed
Bug description:
product_tmpl_id is pure internal and must be hidden from users
this field will never be in an import csv as users must and will not
know internal ID's
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/930318/+subscriptions