# coding: utf-8"""Interact with Odoo by python codeBefore launching script, launch the following command:export DJANGO_SETTINGS_MODULE='scripts_settings'(a file named scripts_settings.py is present in this directory)"""#importsys,getopt,ossys.path.append(os.path.abspath('../..'))fromoutils.commonimportOdooAPIdefmain():api=OdooAPI()# etc.....if__name__=="__main__":main()