odoo / owl

OWL: A web framework for structured, dynamic and maintainable applications
https://odoo.github.io/owl/
Other
1.1k stars 332 forks source link

[IMP] template set config: getTemplate function #1580

Closed Polymorphe57 closed 5 months ago

Polymorphe57 commented 6 months ago

A template set can now obtain a template by calling the function getTemplate (if any) received in the initial config. The returned value can be an Element instance, a template string, a function (i.e. a compiled template), or null. In the last case, owl will look into the template set rawTemplates object.

Polymorphe57 commented 6 months ago

Hello @sdegueldre, could you please have a look?

ged-odoo commented 5 months ago

dont forget to update the doc page on App