parent
789be10d22
commit
a9cbbd8ad7
|
@ -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})
|
||||
|
||||
|
|
|
@ -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''):
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue