mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
c78e070636
When defining a template with a name that the template set already contains, we currently always check whether the template is the same and throw an error when it's not. This is potentially expensive as it can involve serializing a pretty large XML document. This check is only supposed to help during development so this commit disables this check outside dev mode.