Thank’s a lot for replying . actually i am new to trytond… i just setup using docker on windows pc . thing is i cant find the project directory in the container . i tried directly implementing the code in docker using ssh
Thanks for your help i tried importing file in __init__.py
My __init__.py
import os
import time
import warnings
from email import charset
from test import *
__version__ = "5.6.4"
os.environ['TZ'] = 'UTC'
if hasattr(time, 'tzset'):
time.tzset()
if time.tzname[0] != 'UTC':
warnings.warn('Timezone must be set to UTC instead of %s' % time.tzname[0])
# set email encoding for utf-8 to 'quoted-printable'
charset.add_charset('utf-8', charset.QP, charset.QP)
thanks @ced
i was able to get it working by implementing same code in routes.py of timesheet module .although i was not required to send bearer token … i got the response directly without any user authorization
Thanks a lot is there a way i could log the error using console in docker