← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693354] [NEW] New 5.0 server api for osv_memory.read()

 

Public bug reported:

Hi!
The latest 5.0 server code for osv_memory.read() returns an integer if ids is an integer. 

In poweremail_send_wizard.py the line
            screen_vals = self.read(cr, uid, ids[0], [], context)[0]
should be changed to
            screen_vals = self.read(cr, uid, ids, [], context)[0]
or something similar.

** Affects: poweremail
     Importance: Undecided
         Status: New

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

Title:
  New 5.0 server api for osv_memory.read()

Status in Power e-Mail for Open ERP:
  New

Bug description:
  Hi!
The latest 5.0 server code for osv_memory.read() returns an integer if ids is an integer. 

In poweremail_send_wizard.py the line
            screen_vals = self.read(cr, uid, ids[0], [], context)[0]
should be changed to
            screen_vals = self.read(cr, uid, ids, [], context)[0]
or something similar.





Follow ups

References