From f3a7ab8ac4af0c178c6ddda6dbbc83a1cadee394 Mon Sep 17 00:00:00 2001 From: DiG Date: Sun, 6 Feb 2022 02:44:19 +0100 Subject: [PATCH] Added config folder with TSV columns for each model --- remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote.py b/remote.py index 3e12a33..475edec 100755 --- a/remote.py +++ b/remote.py @@ -386,7 +386,7 @@ def export_json( model, domains ): if field.ttype == 'many2one': id = data[field.name][0] - _filename = "%s/%s/%s.json" % ( FOLDER, field.relation, id ) + _filename = "%s/%s/%s.json" % ( DATADIR, field.relation, id ) print( field.ttype, field.relation, id, _filename ) if not os.path.exists( _filename ): export_json( field.relation, [('id','=',id)] )