[IMP] qweb: allow xml documents as template definition

Before this commit, the addTemplates method only accepts a string.  But
whenever we perform a $.get call, we get a parsed xml document. So, to
make Owl more convenient to use in that situation, we simply accept xml
documents in addition to strings.
This commit is contained in:
Géry Debongnie
2019-08-23 15:15:40 +02:00
parent 4b53e48e91
commit 2294c1967f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "owl",
"version": "0.18.0",
"version": "0.18.1",
"description": "Odoo Web Library (OWL)",
"main": "src/index.ts",
"scripts": {