cannot share a meeting :need string or buffer, bool found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
OpenERP R&D Addons Team 1 |
Bug Description
to test, share a view. Install share
Example, go to opportunity list, click share, enter an email address and share :
OpenERP Server Error
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
action = self.call_
File "/home/
return getattr(
File "/home/
*args)
File "/home/
result = self.connector.
File "/home/
raise fault
Server Traceback (most recent call last):
File "/home/
result = openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
self.
File "/home/
body += user.signature
TypeError: coercing to Unicode: need string or buffer, bool found
Related branches
- Olivier Dony (Odoo): Disapprove
- Bhumika Shrimali (community): Approve
-
Diff: 21 lines (+2/-2)1 file modifiedshare/wizard/share_wizard.py (+2/-2)
affects: | openerp-web → openobject-addons |
Changed in openobject-addons: | |
importance: | Undecided → High |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → In Progress |
Hello,
I have faced the another traceback after sharing, which is following.
Traceback (most recent call last): amp/workspace/ trunk6/ server/ openerp/ osv/osv. py", line 120, in wrapper amp/workspace/ trunk6/ server/ openerp/ osv/osv. py", line 172, in execute amp/workspace/ trunk6/ server/ openerp/ osv/osv. py", line 163, in execute_cr amp/workspace/ trunk6/ addons/ share/wizard/ share_wizard. py", line 661, in go_step_2 amp/workspace/ trunk6/ addons/ share/wizard/ share_wizard. py", line 532, in _create_ or_combine_ sharing_ rule normalize( eval(domain, eval_ctx)) common. nonliterals. CompoundDomain object at 0x9eff2ac>
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
restrict=True, context=context)
File "/home/
new_clause = expression.
File "<string>", line 1
<web.
^
SyntaxError: invalid syntax
So I requesting to the related team first fix this problem then again check it, the bug's original description.
I am confirming the above traceback also because two bug reporter have post it, please look in to lp:902898.
Thank you!