Daily updates from Odoo
Friday, March 23, 2018
1 change
Features or functions removed from Odoo
An old web report entry point that was no longer used and could fail with an error has been removed. This reduces confusion and avoids exposing a non-working path, with little expected impact because current reporting flows use other supported mechanisms.
Original PR description
it raises error because dispatch_rpc method doesn't handle case when
service_name is equal to 'report'
```
Traceback (most recent call last):
File "/mnt/odoo-source/addons/web/controllers/main.py", line 74, in wrap
return f(*args, **kwargs)
File "/mnt/odoo-source/addons/web/controllers/main.py", line 1511, in index
action["report_name"], report_ids, report_data, context])
File "/mnt/odoo-source/odoo/http.py", line 115, in dispatch_rpc
result = dispatch(method, params)
UnboundLocalError: local variable 'dispatch' referenced before assignment
```
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr