Split config.py
This commit is contained in:
parent
4fbd775936
commit
a6ee9c8b2c
|
@ -0,0 +1,9 @@
|
|||
|
||||
# CONFIG
|
||||
FOLDER = '/home/dig/odoo-export/datas'
|
||||
MODEL_IGNORE = []
|
||||
with open(".modelignore", "r") as file:
|
||||
for line in file:
|
||||
MODEL_IGNORE.append(line.strip())
|
||||
|
||||
|
10
remote.py
10
remote.py
|
@ -14,15 +14,7 @@ import odoorpc # pip install odoorpc
|
|||
from utils import *
|
||||
from renderers import render, tsv
|
||||
|
||||
|
||||
|
||||
# CONFIG
|
||||
FOLDER = '/home/dig/odoo-export/datas'
|
||||
MODEL_IGNORE = []
|
||||
with open(".modelignore", "r") as file:
|
||||
for line in file:
|
||||
MODEL_IGNORE.append(line.strip())
|
||||
|
||||
from config import *
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue