~thibaut-dirlik/openobject-server/fix-inherits-bug-303455

Viewing all changes in revision 3553.

  • Committer: Thibaut DIRLIK
  • Date: 2011-08-25 14:58:56 UTC
  • Revision ID: t.dirlik@adep.com-20110825145856-2qa7im2awmm5gxjz
[FIX] create() does not write in the _inherits parent when fields have the same name.

The problem is that when you have a field in an object, and that field
is also defined in its parent (defined with _inherits), when OpenERP creates
the object, the field value was used to fill the parent value, not object.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: