← Back to team overview

credativ team mailing list archive

[Bug 303455] Re: Inconsistent behaviour in _inherits

 

Thibaut's fix landed in trunk at revision  3841 revid:
odo@xxxxxxxxxxx-20111201121503-bf7671is06atteb4.

Well done, and thanks again!

** Changed in: openobject-server
       Status: Confirmed => Fix Released

** Changed in: openobject-server
    Milestone: None => 6.1

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/303455

Title:
  Inconsistent behaviour in _inherits

Status in OpenERP Server:
  Fix Released

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