Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Dropping snippet onto the page in odoo-9

  • All Blogs
  • Tech Blog
  • Dropping snippet onto the page in odoo-9
  • March 5, 2021 by
    Administrator

    For drooping the snippet onto the page first we have to open the src file, add some class and css feature in css file and jas file after that clicks on an option, the system will add the class specified in the data-select_class attribute.
    By replacing data-select_class with data-toggle_class you will be able to select more classes at the same time. For example you can see below.

    1. <template id=”snippet_testimonial_opt” name=”Snippet Testimonial Options” inherit_id=”website_less.snippet_options”>
    2. <xpath expr=”//div[@data-js=’background’]” position=”after”>
    3. <div data-selector=”.snippet_testimonial”> <!– Options group –>
    4. <li class=”dropdown-submenu”>
    5. <a href=”#”>Your Option</a>
    6. <ul class=”dropdown-menu”> <!– Options list –>
    7. <li data-select_class=”opt_shadow”><a>Shadow Images</a></li>
    8. <li data-select_class=”opt_grey_bg”><a>Grey Bg</a></li>
    9. <li data-select_class=””><a>None</a></li>
    10. </ul>
    11. </li>
    12. </div>
    13. </xpath>
    14. </template>

     

    in Tech Blog
    Automatically fill Many2many in Odoo

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)