Last active
February 3, 2020 14:06
-
-
Save jev-odoo/6496b4da72e560c0c4194a48eeaae17c to your computer and use it in GitHub Desktop.
Scripts Global Vars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -------------------------------------------------------------------------- | |
| # GLOBALS - Adjust as needed | |
| CRON_BEGIN_UTC = datetime.time(<<BEGIN_UTC_HOUR>>, <<BEGIN_UTC_MIN>>) # UTC TIME | |
| CRON_END_UTC = datetime.time(<<END_UTC_HOUR>>, <<END_UTC_MIN>>) # UTC TIME | |
| USER_MUST_BE_IN_COMPANY = False # False or company_id | |
| MAXIMUM_ORDER_BY_SESSION = <<MAX_ORDER_BY_SESSION>> | |
| EMAIL_TO = '[email protected]' | |
| RETRY_FAILED_PROCESS = False | |
| SPLIT_SESSION_KEYWORD = 'Split' | |
| SMALL_SESSIONS = False | |
| ADDITIONAL_SESSION_STATES = <<ADDITIONAL_SESSION_STATES>> | |
| MAXIMUM_CLOSING_ATTEMPT_BEFORE_TIMEOUT = 4 | |
| SPECIFIC_SESSIONS = <<SPECIFIC_SESSIONS>> | |
| # -------------------------------------------------------------------------- | |
| # DO NOT MODIFY THESE | |
| DEFAULT_SESSION_STATE = ['opened'] | |
| NOW = datetime.datetime.utcnow | |
| LOG_LINE_ACTION_NAME = <<ACTION_NAME>> | |
| LOG_LINE_NAME = 'Support Intervention' | |
| LOG_LINE_START_NAME = 'Begin Cron' | |
| # TECHNICAL FIELDS | |
| NUMBER_OF_CLOSING_ATTEMPT = 0 | |
| LOG_DATETIME = 1 | |
| LOG_IS_SENT = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment