mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
a28ce440dc
Strangely, the _compile method required a CompilationContext whenever it was compiled as a sub template, but this parent context was actually not really needed. I guess that it was the case in the past, but this was changed at some point. This commit makes another significant change: the xml element is no longer mandatory. It is actually only required for slots (because the template is not registered to qweb). Finally, the interface for the whole method has been changed to use an option object, which makes more sense with 3 optional paremeters.