Skip to content

Instantly share code, notes, and snippets.

View madprog's full-sized avatar

Paul Morelle madprog

  • Odoo
  • Ramillies, Belgium
View GitHub Profile
@madprog
madprog / log_split.py
Created September 11, 2019 16:30
Odoo log splitter
import os
import sys
import time
def split_files(path):
path_dir = os.path.join(os.path.dirname(path), 'extracted_' + time.asctime())
if not os.path.exists(path_dir):
os.mkdir(path_dir)
odoo.define('openerp_enterprise.BootstrapDialog', function (require) {
'use strict';
const {
Component,
hooks: { useRef },
misc: { Portal },
} = owl;
class BootstrapDialog extends Component {