[TEST] Log for debug

bzr revid: jke@openerp.com-20140311122729-ullchqwem8725iw2
This commit is contained in:
Kersten Jeremy
2014-03-11 13:27:29 +01:00
parent 09e5ec2345
commit 849d0ad860
+3 -1
View File
@@ -51,7 +51,9 @@ openerp.testing = {};
testing.templates = { };
testing.add_template = function (name) {
try {
var xhr = QWeb2.Engine.prototype.get_xhr();
console.log(name + " loading ...");
var xhr = window.QWeb2.Engine.prototype.get_xhr();
console.log(name + " loaded ...");
xhr.open('GET', name, false);
xhr.send(null);
(testing.templates[testing.current_module] =