← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

We are currently changing osv_memory so it is a regular osv with some
automatic records removal. This means that any osv_memory-specific bug
will disappear on its own.

(Work in progress at https://code.launchpad.net/~openerp-dev/openobject-
server/trunk-no-osv-memory-vmt and the corresponding addons branch.)

** Changed in: openobject-server
       Status: Confirmed => Won't Fix

-- 
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:
  Won't Fix

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