[FIX]base: When you use Send to the server from OpenOffice with user other than Administrator(uid=1) you will notice a warning message saying Access Error and report will not be seen at destination model
bzr revid: mma@tinyerp.com-20121121095609-v9qk2o7pah2a9k56
This commit is contained in:
parent
e5133ecca4
commit
b74c00568d
Binary file not shown.
|
@ -166,7 +166,8 @@ class SendtoServer(unohelper.Base, XJobExecutor):
|
|||
'model': docinfo.getUserFieldValue(3),
|
||||
'value': 'ir.actions.report.xml,'+str(id),
|
||||
'key2': 'client_print_multi',
|
||||
'object': True
|
||||
'object': True,
|
||||
'user_id': uid
|
||||
}
|
||||
res = self.sock.execute(database, uid, self.password, 'ir.values' , 'create',rec )
|
||||
else :
|
||||
|
|
Loading…
Reference in New Issue