diff options
| author | HDA (OpenERP) <hda@tinyerp.com> | 2010-03-03 12:51:09 +0530 |
|---|---|---|
| committer | HDA (OpenERP) <hda@tinyerp.com> | 2010-03-03 12:51:09 +0530 |
| commit | bca733707d0ea11c8c6b57dbde69b062e2c35ee3 (patch) | |
| tree | 36347fbd3e3fd8b49e43e696abdee9c4ad49042a /bin/tools | |
| parent | 33749177de30de1b98cf9317c60e2394aeca94dd (diff) | |
added noupdate=1 if csv is in init_xml
bzr revid: hda@tinyerp.com-20100303072109-qoi1h70ohfsjq96h
Diffstat (limited to 'bin/tools')
| -rw-r--r-- | bin/tools/convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/convert.py b/bin/tools/convert.py index 4314651d084..d4f3d86b9ae 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -838,7 +838,7 @@ def convert_csv_import(cr, module, fname, csvcontent, idref=None, mode='init', except: logger = netsvc.Logger() logger.notifyChannel("init", netsvc.LOG_ERROR, "Cannot import the line: %s" % line) - pool.get(model).import_data(cr, uid, fields, datas,mode, module,noupdate,filename=fname_partial) + pool.get(model).import_data(cr, uid, fields, datas,mode, module, noupdate, filename=fname_partial) if config.get('import_partial'): data = pickle.load(file(config.get('import_partial'))) data[fname_partial] = 0 |
