[REF] Renamed file and moved import statement.
bzr revid: jth@openerp.com-20100307164907-t1cevokp7u1zz2tx
This commit is contained in:
parent
ad22780875
commit
a17092ba94
|
@ -24,7 +24,6 @@ import win32
|
|||
from config import *
|
||||
from misc import *
|
||||
from convert import *
|
||||
from yaml_test import *
|
||||
from translate import *
|
||||
from graph import graph
|
||||
from amount_to_text import *
|
||||
|
|
|
@ -37,6 +37,7 @@ import netsvc
|
|||
import osv
|
||||
import pooler
|
||||
from config import config
|
||||
from yaml_import import convert_yaml_import
|
||||
|
||||
class ConvertError(Exception):
|
||||
def __init__(self, doc, orig_excpt):
|
||||
|
|
|
@ -368,7 +368,7 @@ class YamlInterpreter(object):
|
|||
model = self.get_model(record.model)
|
||||
record_dict = self._create_record(model, fields)
|
||||
id = self.pool.get('ir.model.data')._update(self.cr, self.uid, record.model, \
|
||||
self.module, record_dict, record.id, noupdate=self.isnoupdate(node), mode=self.mode)
|
||||
self.module, record_dict, record.id, noupdate=self.isnoupdate(record), mode=self.mode)
|
||||
self.id_map[record.id] = int(id)
|
||||
if config.get('import_partial', False):
|
||||
self.cr.commit()
|
Loading…
Reference in New Issue