You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In smile_upgrade on Odoo 17, here is this line in upgrade.py (line 271):
for adp in addons.module.ad_paths:
But ad_paths doesn't exist anymore (replaced after deprecation) and this results to a fatal error during start if line 270 condition is false.
Here is ad_paths() deprecation warning from Odoo 14 code:
# ad_paths is a deprecated alias, please use odoo.addons.__path__ @tools.lazy def ad_paths(): warnings.warn( '"odoo.modules.module.ad_paths" is a deprecated proxy to ' '"odoo.addons.__path__".', DeprecationWarning, stacklevel=2) return odoo.addons.__path__
The text was updated successfully, but these errors were encountered:
Hi,
In smile_upgrade on Odoo 17, here is this line in upgrade.py (line 271):
for adp in addons.module.ad_paths:
But ad_paths doesn't exist anymore (replaced after deprecation) and this results to a fatal error during start if line 270 condition is false.
Here is ad_paths() deprecation warning from Odoo 14 code:
# ad_paths is a deprecated alias, please use odoo.addons.__path__ @tools.lazy def ad_paths(): warnings.warn( '"odoo.modules.module.ad_paths" is a deprecated proxy to ' '"odoo.addons.__path__".', DeprecationWarning, stacklevel=2) return odoo.addons.__path__
The text was updated successfully, but these errors were encountered: