- 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.

54 lines
3.0 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. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/s_google_map.scss"/>
  17. </xpath>
  18. <xpath expr="//script[last()]" position="after">
  19. <script type="text/javascript" src="/theme_common/static/src/js/s_google_map_frontend.js"/>
  20. </xpath>
  21. </template>
  22. <template id="assets_editor" inherit_id="website.assets_editor">
  23. <xpath expr="//script[last()]" position="after">
  24. <script type="text/javascript" src="/theme_common/static/src/js/s_google_map_editor.js"/>
  25. <script type="text/javascript" src="/theme_common/static/src/js/compatibility_editor.js"/>
  26. </xpath>
  27. </template>
  28. <!-- Compatibility templates -->
  29. <template id="compatibility-saas-10-1" name="Compatibility for saas-10 - 1" 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-1.scss"/>
  32. </xpath>
  33. </template>
  34. <template id="compatibility-saas-10-2" name="Compatibility for saas-10 - 2" inherit_id="website.assets_frontend" 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-10-2.scss"/>
  37. </xpath>
  38. </template>
  39. <template id="compatibility-saas-11-4-variables" name="Compatibility for saas-11.4 (variables)" inherit_id="website._assets_primary_variables" 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-variables.scss"/>
  42. </xpath>
  43. </template>
  44. <template id="compatibility-saas-11-4" name="Compatibility for saas-11.4" inherit_id="website.assets_frontend" priority="1" active="False">
  45. <xpath expr="//link[last()]" position="before">
  46. <link rel="stylesheet" type="text/scss" href="/theme_common/static/src/scss/compatibility-saas-11.4.scss"/>
  47. </xpath>
  48. </template>
  49. </odoo>