Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Migration v14 -> v16

by
Holger Brunn
- 20/04/2024 15:10:58
the first exception is expected, the second is the one that's your problem.


> "/Users/user/PycharmProjects/odoo/v16/odoo-server/addons/website/models/ir_

> module_module.py", line 79, in write

> if request and request.db and request.context.get('apply_new_theme'):

I'd set a breakpoint here and inspect the value of request. I suspect a 
Request object without an environment set, while it should be unbound at this 
point. Then you need to backtrace to see where this is set.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

Reference