diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index df8f4132af5..2b4d1ef5eea 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -456,7 +456,6 @@ openerp.web.pyeval = function (instance) { return py.NotImplemented; } var s = tmxxx(this.year, this.month, this.day + other.days); - console.log(this, other, s); return datetime.date.fromJSON(s.year, s.month, s.day); }, __radd__: function (other) { return this.__add__(other); }, diff --git a/addons/web/static/test/evals.js b/addons/web/static/test/evals.js index d4f72b1c374..994c122f1e6 100644 --- a/addons/web/static/test/evals.js +++ b/addons/web/static/test/evals.js @@ -189,9 +189,7 @@ openerp.testing.section('eval.types', { ok(py.eval('a - day == date(2002, 3, 1)', ctx)); ok(py.eval('-day + a == date(2002, 3, 1)', ctx)); ok(py.eval('a + week == date(2002, 3, 9)', ctx)); - console.group(9) ok(py.eval('a - week == date(2002, 2, 23)', ctx)); - console.groupEnd(); ok(py.eval('a + 52*week == date(2003, 3, 1)', ctx)); // 10 ok(py.eval('a - 52*week == date(2001, 3, 3)', ctx)); ok(py.eval('(a + week) - a == week', ctx));