- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.6 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="_assets_utils" inherit_id="web._assets_utils">
  4. <xpath expr="//link[last()]" position="after">
  5. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/mixins.scss"/>
  6. </xpath>
  7. </template>
  8. <template id="_assets_primary_variables" inherit_id="website._assets_primary_variables" priority="1">
  9. <xpath expr="//link[last()]" position="after">
  10. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/primary_variables.scss"/>
  11. </xpath>
  12. </template>
  13. <template id="assets_frontend" inherit_id="website.assets_frontend" priority="1">
  14. <xpath expr="//link[last()]" position="after">
  15. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/fonts.scss"/>
  16. </xpath>
  17. </template>
  18. <template id="assets_editor" inherit_id="website.assets_editor">
  19. <xpath expr="//script[last()]" position="after">
  20. <script type="text/javascript" src="/theme_common/static/src/js/compatibility_editor.js"/>
  21. </xpath>
  22. </template>
  23. <!-- Compatibility templates -->
  24. <template id="compatibility-saas-10-1" name="Compatibility for saas-10 - 1" inherit_id="website.assets_frontend" priority="1" active="False">
  25. <xpath expr="//link[last()]" position="before">
  26. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/compatibility-saas-10-1.scss"/>
  27. </xpath>
  28. </template>
  29. <template id="compatibility-saas-10-2" name="Compatibility for saas-10 - 2" inherit_id="website.assets_frontend" priority="1" active="False">
  30. <xpath expr="//link[last()]" position="before">
  31. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/compatibility-saas-10-2.scss"/>
  32. </xpath>
  33. </template>
  34. <template id="compatibility-saas-11-4-variables" name="Compatibility for saas-11.4 (variables)" inherit_id="website._assets_primary_variables" priority="1" active="False">
  35. <xpath expr="//link[last()]" position="before">
  36. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/compatibility-saas-11.4-variables.scss"/>
  37. </xpath>
  38. </template>
  39. <template id="compatibility-saas-11-4" name="Compatibility for saas-11.4" inherit_id="website.assets_frontend" priority="1" active="False">
  40. <xpath expr="//link[last()]" position="before">
  41. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/compatibility-saas-11.4.scss"/>
  42. </xpath>
  43. </template>
  44. </odoo>