Exception: Not implemented get_memory method !

Bug #1047229 reported by Andrei Levin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

when I try to read a content of osv.osv_memory class with this instruction:

for data in self.read(cr, uid, ids, context=context):

I get an error:

  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1965, in read
    res2 = self._columns[f].get_memory(cr, self, ids, f, user, context=context, values=result)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/fields.py", line 111, in get_memory
    raise Exception(_('Not implemented get_memory method !'))
Exception: Not implemented get_memory method !

Revision history for this message
Denero Team (deneroteam) wrote :

Hi

I also get same error before.

I looked into and fix the issue. I have attached a patch file here.

Please apply it.

I hope for the best.

Thanks,

Dhaval Patel.
Denero Team.

Changed in openobject-server:
status: New → Confirmed
Denero Team (deneroteam)
security vulnerability: no → yes
visibility: public → private
security vulnerability: yes → no
visibility: private → public
Revision history for this message
Andrei Levin (andrei-levin) wrote :

Thank you Dhaval!

Your patch resolve the problem.

Andrei

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.