Comment 2 for bug 590410

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Andrien,

When you are using _inherits, you cannot have the field in the view by which you have inherited. As its a link to the inherited class and which is by default saved. Its giving such error as its getting two values for the same field. you can have any other field in the view except it. It is not a bug at all.

i.e. in your case
'_inherits = {
        'product.product': 'product_inherited_id'
    }
You can not keep "'product_inherited_id'" in the view.
And "product_id" field is not found either in your given module or in the product module so we can not keep a field which is not found in any of the module.

Thanks.