← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 828009] Re: "id" field in a view

 

Hello Francois,

Would you please provide me the domain which you applied with your end
view. I have checked this issue by putting 'id' field directly in the
view and also try to put domain which contains id field.I did not face
any problem.

Thanks and waiting for reply.

** Changed in: openobject-server
       Status: New => Incomplete

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

Title:
  "id" field in a view

Status in OpenERP Server:
  Incomplete

Bug description:
  Hi!

  I would like to use the "id" field for domain purposes in a view. In
  __view_look_dom_arch of orm.py file I read this (l. 1666):

   # sometime, the view may contain the (invisible) field 'id' needed
  for a domain (when 2 objects have cross references)

  Unfortunately, if I use this id field in a view, it crashes because
  "id" does not appear in _columns ("key error").

  I originally posted that in "answers" but it seems to me it's a bug (a
  small one, I admit).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/828009/+subscriptions


References