Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

AW: Migration v14 -> v16

by
NICO SOLUTIONS - ENGINEERING & IT
, Nils Coenen
- 20/04/2024 16:57:49

Hey Holger,

many thanks!

This helped to find the problem.

Even if the db was defined in the conf file i add with -c, i had to add -d DBNAME explicitly  to the script execution and everything is fine.

I am not sure why this did not appear before, but thanks to your hint i was able to track the problem!

 

Cheerio

Nils

 

Ein Bild, das Text, Computer, Person, Menschliches Gesicht enthält.

Automatisch generierte Beschreibung

Nils Coenen

Inhaber

Phone: +49 (0)4298-4667492 

Web: www.nico-solutions.de  

Email: nils.coenen@nico-solutions.de

         

NICO SOLUTIONS – ENGINEERING & IT
Dr.-Ruckert-Str. 1G, DE-28865 Lilienthal

Confidentiality Note: This email may contain confidential and/or private information. If you received this email in error please delete and notify sender.

 

Von: Holger Brunn <notifications@odoo-community.org>
Gesendet: Samstag, 20. April 2024 15:17
An: Contributors <contributors@odoo-community.org>
Betreff: Re: Migration v14 -> v16

 

ACHTUNG! Diese E-Mail stammt von außerhalb der Organisation. Klicken Sie nicht auf Links und öffnen Sie keine Anhänge, es sei denn, Sie kennen den Absender und wissen, dass der Inhalt sicher ist.

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