[FIX] json-serialize evaluated data on evaluation failure

bzr revid: xmo@openerp.com-20120403135113-yac2m82nuwn4f23x
This commit is contained in:
Xavier Morel
2012-04-03 15:51:13 +02:00
parent 10085b7c9a
commit 6f24433aef
+3 -3
View File
@@ -580,7 +580,7 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
openerp.webclient.notification.warn('Context fail, report to xmo',
_.str.sprintf(fail_template, {
error: e.message,
source: source.contexts
source: JSON.stringify(source.contexts)
}), true);
}
@@ -598,7 +598,7 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
openerp.webclient.notification.warn('Domain fail, report to xmo',
_.str.sprintf(fail_template, {
error: e.message,
source: source.domains
source: JSON.stringify(source.domains)
}), true);
}
@@ -616,7 +616,7 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
openerp.webclient.notification.warn('GroupBy fail, report to xmo',
_.str.sprintf(fail_template, {
error: e.message,
source: source.group_by_seq
source: JSON.stringify(source.group_by_seq)
}), true);
}
},