Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] template set config: getTemplate function #1580

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Polymorphe57
Copy link
Contributor

@Polymorphe57 Polymorphe57 commented Jan 10, 2024

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 Polymorphe57 force-pushed the master-apply-inheritance-in-browser-dam branch 3 times, most recently from 51865c5 to a633c6d Compare January 10, 2024 17:02
@Polymorphe57 Polymorphe57 force-pushed the master-apply-inheritance-in-browser-dam branch 2 times, most recently from aa78ec7 to d654332 Compare January 10, 2024 17:11
@Polymorphe57
Copy link
Contributor Author

Hello @sdegueldre, could you please have a look?

@Polymorphe57 Polymorphe57 force-pushed the master-apply-inheritance-in-browser-dam branch 3 times, most recently from fb6a7c7 to 179e268 Compare January 11, 2024 14:31
@ged-odoo
Copy link
Contributor

dont forget to update the doc page on App

@Polymorphe57 Polymorphe57 force-pushed the master-apply-inheritance-in-browser-dam branch 2 times, most recently from 481a5bf to 48b7cce Compare January 12, 2024 09:53
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 Polymorphe57 force-pushed the master-apply-inheritance-in-browser-dam branch from 48b7cce to 1e4df4f Compare January 12, 2024 09:53
@sdegueldre sdegueldre changed the title Master apply inheritance in browser dam [IMP] template set config: getTemplate function Jan 12, 2024
@sdegueldre sdegueldre merged commit 7b454da into master Jan 12, 2024
3 checks passed
@sdegueldre sdegueldre deleted the master-apply-inheritance-in-browser-dam branch January 12, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants