[FIX] crm: fix

bzr revid: hmo@tinyerp.com-20121010072244-5wsnaqwpydx59dmg
This commit is contained in:
Harry (OpenERP) 2012-10-10 12:52:44 +05:30
parent 5e4ddf78da
commit 4034afc923
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class base_action_rule(osv.osv):
write['section_id'] = action.act_section_id.id
if hasattr(action, 'act_categ_id') and action.act_categ_id:
write['categ_ids'] = [4, action.act_categ_id]
write['categ_ids'] = [4, action.act_categ_id.id]
model_obj.write(cr, uid, [obj.id], write, context)
return res