61
61
# Build a new AbstractModel with the name of the module and the suffix
62
62
name = "%s.installed" % openerp_module_name
63
63
class_name = name.replace('.', '_')
64
model = orm.MetaModel(class_name, (orm.AbstractModel,), {'_name': name})
65
68
# Update the module of the model, it should be the caller's one
69
75
# install the connector itself