frontend-js

Installation
SKILL.md

Odoo Frontend JavaScript Patterns

Critical Rules

  1. Website themes: Use publicWidget framework ONLY — NOT Owl or vanilla JS
  2. JS modules: Start every file with /** @odoo-module **/
  3. No inline JS/CSS: Always separate files in static/src/js/ and static/src/scss/
  4. Bootstrap: v5.1.3 for Odoo 16+ (never Tailwind)
  5. Translations: Use _t() at DEFINITION TIME for static JS labels

Version Detection

Odoo Bootstrap Owl JavaScript
14 4.x ES6+
15 4.x v1 ES6+
16 5.1.3 v1 ES2020+
17 5.1.3 v2 ES2020+
18-19 5.1.3 v2 ES2020+
Related skills
Installs
2
GitHub Stars
52
First Seen
Apr 23, 2026