openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27594
[Bug 1306356] [NEW] Mail Organizer not work if attachemnt and not super user
Public bug reported:
Not work
if user not super user and email have attachemnt, with out attashment it work.
OpenERP 7.0 - 20140409
"""
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Message, Operation: write)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/share/pyshared/openerp/addon-other/mail_organizer/wizard/wizard_mail_organizer.py", line 107, in confirm
cr, uid, wz.message_id.id, data, context=context)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4223, in write
self.check_access_rule(cr, user, ids, 'write', context=context)
File "/usr/share/pyshared/openerp/addons/mail/mail_message.py", line 740, in check_access_rule
(self._description, operation))
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: Message, Operation: write)')
> /usr/share/pyshared/openerp/addons/mail/mail_message.py(740)check_access_rule()
-> (self._description, operation))
"""
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1306356
Title:
Mail Organizer not work if attachemnt and not super user
Status in OpenERP Addons (modules):
New
Bug description:
Not work
if user not super user and email have attachemnt, with out attashment it work.
OpenERP 7.0 - 20140409
"""
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Message, Operation: write)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/share/pyshared/openerp/addon-other/mail_organizer/wizard/wizard_mail_organizer.py", line 107, in confirm
cr, uid, wz.message_id.id, data, context=context)
File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4223, in write
self.check_access_rule(cr, user, ids, 'write', context=context)
File "/usr/share/pyshared/openerp/addons/mail/mail_message.py", line 740, in check_access_rule
(self._description, operation))
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: Message, Operation: write)')
> /usr/share/pyshared/openerp/addons/mail/mail_message.py(740)check_access_rule()
-> (self._description, operation))
"""
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1306356/+subscriptions
Follow ups
References