c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #31098
[Bug 303455] Re: Inconsistent behaviour in _inherits
Hi,
The 6.1 is soon here, and this should be fixed. Smetimes we can avoid
using same fields name, but sometimes we can't (i.e: "active"). I don't
think it's a hudge patch, and it would make _inherits more usable.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/303455
Title:
Inconsistent behaviour in _inherits
Status in OpenERP Server:
Won't Fix
Bug description:
If one object _inherits from another (like product.product from
product.template) and both objects have a column with the same name,
the value of the father is shown in the view, however when saving the
child object, the child's table is written.
Example:
Try to move 'weight' field from product.template to product.product.
You can define a 'weight' column for product.product. When you open
the product form, the displayed 'weight' will be the one retrieved
from the product_template table, but if you change the value and save
it, the value will be saved on the product_product table.
Expected behaviour: When the same column exists in both, parent and
child, the child's value should be used.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/303455/+subscriptions