1 2 3 4 5 6 7 8
#!/usr/bin/env python3 # set server timezone in UTC before time module imported __import__('os').environ['TZ'] = 'UTC' import odoo if __name__ == "__main__": odoo.cli.main()