← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 727727] Re: Orm.create() should not drop nonexisting fields in passed values

 

Bad programming as it is not to check the return value, I wanted to add
that the write operation above does in fact return 'True', just as the
create operation does return a proper partner id.

-- 
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/727727

Title:
  Orm.create() should not drop nonexisting fields in passed values

Status in OpenERP Server:
  Incomplete

Bug description:
  Hi,

  When I create an instance of an OpenERP object, any nonexisting
  fields-value pairs are dropped silently. This means a great
  opportunity to protect data integrity against logical errors and typos
  of developers is lost. A sanity check, if only a debug statement in
  the logs at this point would be very helpful.

  Cheers,
  Stefan.



References