I am doing a refactor of our code base and was suggested we create a python module that will store functions that are used across different modules in Odoo 14 (sale, project for example), this is in a different file in the structure. My question is, Odoo will allow importing the new relative module and that way call the function I need?
Trying to import the module gives me ModulenotFoundError: no module named ...
from rw_utilities import working_hours_calculation
With the research that I've done, this should be possible with a simple python app but inside Odoo for the moment I'm not too clear. We run the application in the Odoo.sh cloud Not local.
File structure the goal is modules like sales and project can use the same function.