summaryrefslogtreecommitdiff
path: root/addons/mail/update.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-12-06 11:02:30 +0100
committerThibault Delavallée <tde@openerp.com>2013-12-06 11:02:30 +0100
commit4eec5e416c7682eaa22a5b29da297f7d232cf539 (patch)
treef9672357dbd84f4771d55ace766e876fe6f78ef9 /addons/mail/update.py
parent5b74bbe712a8a538f243072fa8ad5381bafa1984 (diff)
[IMP] mail: update: call to get_object updated
bzr revid: tde@openerp.com-20131206100230-n4xxvskdbf3m0h1f
Diffstat (limited to 'addons/mail/update.py')
-rw-r--r--addons/mail/update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/update.py b/addons/mail/update.py
index 3d07ce739ab..94286817648 100644
--- a/addons/mail/update.py
+++ b/addons/mail/update.py
@@ -94,7 +94,7 @@ class publisher_warranty_contract(osv.osv):
# old behavior based on res.log; now on mail.message, that is not necessarily installed
IMD = self.pool['ir.model.data']
user = self.pool['res.users'].browse(cr, SUPERUSER_ID, SUPERUSER_ID)
- poster = IMD.get_object(cr, SUPERUSER_ID, 'mail', 'group_all_employees')
+ poster = IMD.get_object(cr, SUPERUSER_ID, 'mail', 'group_all_employees', context=context, check_existence_and_raise=False)
if not poster.exists():
if not user.exists():
return True