mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 02:08:36 +00:00
Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template Target Python3.7 Adapt modules to fix few issues
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
'external_dependencies': {
|
||||
'python': ['pythonjsonlogger'],
|
||||
},
|
||||
'website': 'http://www.camptocamp.com',
|
||||
'website': 'https://github.com/camptocamp/odoo-cloud-platform',
|
||||
'data': [],
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
@@ -33,9 +33,9 @@ class OdooJsonFormatter(jsonlogger.JsonFormatter):
|
||||
|
||||
|
||||
if is_true(os.environ.get('ODOO_LOGGING_JSON')):
|
||||
format = ('%(asctime)s %(pid)s %(levelname)s'
|
||||
'%(dbname)s %(name)s: %(message)s')
|
||||
formatter = OdooJsonFormatter(format)
|
||||
format_str = ('%(asctime)s %(pid)s %(levelname)s'
|
||||
'%(dbname)s %(name)s: %(message)s')
|
||||
formatter = OdooJsonFormatter(format_str)
|
||||
logging.getLogger().handlers[0].formatter = formatter
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user