Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Snippet examples

by
Bringsvor Consulting AS, Torvald Bringsvor
- 01/10/2020 10:55:14
Hi

This might be the wrong email list but pointers appreciated...

Working on a small website project and one requirement is making a page with some airbnb properties. So I was adding the HTML from Airbnb for each one, but it is cumbersome so I wanted to make a snippet where one could edit the description and the property ID. But I have not been able to find a working description of how to create a snippet for the website builder, let alone one that has editable properties like that. An alternative to adding each property as a snippet would be to make a domain object with the info and then display that on a page, but have not come across any easy examples of web views for that either...

Torvald Baade Bringsvor
Bringsvor Consulting AS - Consulting and Odoo implementor

Tel (+47) 4548 2848

Follow-Ups