c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #31100
[Bug 303455] Re: Inconsistent behaviour in _inherits
As requested, reopening the bug and assigning to Thibaut. Hope the community will be able to review your merge proposal soon :-)
Thanks for working on this!
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Status: Won't Fix => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => Thibaut DIRLIK (Logica) (thibaut-dirlik)
--
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:
Confirmed
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