hello,
i want to import a file to my new custom module, where the file is located at a different custom module like so:
odoo
↳ custom_addon
↳ module_1
↳ constant
↳ i_want_to_import_this_file.py
↳ new_module_2
↳ model_file_that_i_use.py
↳ odoo
i can't use this line of code on my new model:
[code from model_file_that_i_use.py]
from .module_1.constant.i_want_to_import_this_file.py import AFunction
Error:
ModuleNotFoundError: No module named x
thanks for the help!