bzr revid: fp@tinyerp.com-20100625101333-dnyg2t4kogb6lz6u
This commit is contained in:
Fabien Pinckaers 2010-06-25 12:13:33 +02:00
parent 789be10d22
commit a9cbbd8ad7
4 changed files with 1 additions and 5 deletions

View File

@ -685,7 +685,6 @@ class actions_server(osv.osv):
res_id = False
obj_pool = self.pool.get(action.srcmodel_id.model)
res_id = obj_pool.create(cr, uid, res)
cr.commit()
if action.record_id:
self.pool.get(action.model_id.model).write(cr, uid, [context.get('active_id')], {action.record_id.name:res_id})

View File

@ -101,7 +101,6 @@ class ir_values(osv.osv):
cr.execute('SELECT indexname FROM pg_indexes WHERE indexname = \'ir_values_key_model_key2_index\'')
if not cr.fetchone():
cr.execute('CREATE INDEX ir_values_key_model_key2_index ON ir_values (key, model, key2)')
cr.commit()
def set(self, cr, uid, key, key2, name, models, value, replace=True, isobject=False, meta=False, preserve_user=False, company=False):
if type(value)==type(u''):

View File

@ -317,7 +317,7 @@
<page string="Notes">
<field colspan="4" name="comment" nolabel="1"/>
</page>
<page string="History" groups="crm.group_crm_user,base.group_extended">
<page string="History" groups="base.group_extended">
</page>
</notebook>
</form>

View File

@ -419,8 +419,6 @@ class res_config_installer(osv.osv_memory):
cr, uid,
modules.search(cr, uid, [('name','in',to_install)]),
'to install', ['uninstalled'], context=context)
cr.commit()
pooler.restart_pool(cr.dbname, update_module=True)
res_config_installer()