[REM] stray logging
bzr revid: xmo@openerp.com-20121123095824-xg6afc1l01t3y48y
This commit is contained in:
@@ -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); },
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user