Comment 5 for bug 930318

Revision history for this message
Raphaƫl Valyi - http://www.akretion.com (rvalyi) wrote : Re: [Bug 930318] Re: import must not ask for _inherits field

Hello Xavier,

I suggest we make this information - if the m2o is from an inherits or not
- available in the field information, so over RPC as it's trivial but
useful in many situations, not just here. For inatance in OOOR and
imitations, this is an information we always lack and do approximative
heuristics to deal with.

The GTK and web-client often don't have such issue because much of their
logic is driven by the fields they encounter in the views, but basing it
all from the hard- coded views is cetainly not good practise either, so I
suggest letting the clients know this information.

Hope it's clear, sorry sent from phone in airport.
On Feb 10, 2012 5:40 PM, "Ferdinand @ Camptocamp" <email address hidden>
wrote:

> I forgot to mention - and it is not visible on the import form - it's
> not "my" field_get but the product import. nothing "I" can do about
>
>
> ** Changed in: openerp-web
> Status: Invalid => New
>
> --
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenERP Web.
> https://bugs.launchpad.net/bugs/930318
>
> Title:
> import must not ask for _inherits field
>
> Status in OpenERP Web:
> New
>
> 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/openerp-web/+bug/930318/+subscriptions
>