projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e4ddf7
)
[FIX] crm: fix
author
Harry (OpenERP)
<hmo@tinyerp.com>
Wed, 10 Oct 2012 07:22:44 +0000
(12:52 +0530)
committer
Harry (OpenERP)
<hmo@tinyerp.com>
Wed, 10 Oct 2012 07:22:44 +0000
(12:52 +0530)
bzr revid: hmo@tinyerp.com-
20121010072244
-5wsnaqwpydx59dmg
addons/crm/crm_action_rule.py
patch
|
blob
|
history
diff --git
a/addons/crm/crm_action_rule.py
b/addons/crm/crm_action_rule.py
index
c923d37
..
910a1fc
100644
(file)
--- a/
addons/crm/crm_action_rule.py
+++ b/
addons/crm/crm_action_rule.py
@@
-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