Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

A css error occured, using an old style to render this page odoo18

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
odoo18OwlError
3 Replies
4323 Rodiniai
Portretas
med th

Odoo18, ubuntu 24
Follow the chapter 1 Owl components.
I got this error : A css error occured, using an old style to render this page in the page
and these errors in the console : 
OwlError@http://marinos:8069/web/assets/c9b3954/awesome_owl.assets_playground.min.js:715:1
Uncaught (in promise) Error: Missing template: "awesome_owl.playground" (for component "Playground")

tutorials folder is in the root folder next to odoo-bin

and it is set in odoo.conf file : 

[options]
addons_path = /home/alchemycode/Desktop/Alchemy/odoo/odoo18/odoo/addons,
/home/alchemycode/Desktop/Alchemy/odoo/odoo18/odoo/custom_addons,
/home/alchemycode/Desktop/Alchemy/odoo/odoo18/tutorials
db_host = localhost
db_port = 5432
db_user = odoo_alchemy
db_password = odoo_alchemy
default_productivity_apps = True
admin_passwd = $pbkdf2-sha512$600000$EIIwxvhfy7lXCmFMSclZaw$sDHADZ64zMqevCyyinBgu5zQdF41vD6r9OA3zHYWeUKRW8KjVGQT2p.wZs6XRymg1YYz85GIm6t0m.PjvsEzVQ

Any help for this problem 
i did not anything just follow the first step which is install awesome_owl module and visit localhost:8069/awesome_owl
Thanks in advance

0
Portretas
Atmesti
Portretas
med th
Autorius Best Answer

@Nikhil Nakrani
Thanks for answering.
But i used the same awesome_owl repo 18.0.
And still get these errors
----------------------------------------------------
Ok i found a solution : 
for the old style error : A css error occured, using an old style to render this page in the page
(1) In the manifest file : 

change this : 

'assets': {
'awesome_owl.assets_playground': [
# bootstrap
('include', 'web._assets_helpers'), #let
'web/static/src/scss/pre_variables.scss', #let
'web/static/lib/bootstrap/scss/_variables.scss',#let
('include', 'web._assets_bootstrap_backend'),# get rid of

# required for fa icons
'web/static/src/libs/fontawesome/css/font-awesome.css', # let

# include base files from framework
('include', 'web._assets_core'),# let

'web/static/src/core/utils/functions.js',# get rid of
'web/static/src/core/browser/browser.js',# get rid of
'web/static/src/core/registry.js',# get rid of
'web/static/src/core/assets.js',# get rid of
'awesome_owl/static/src/**/*', # let
],
},

To this : 

'assets': {
'awesome_owl.assets_playground': [
('include', 'web._assets_helpers'),
'web/static/src/scss/pre_variables.scss',
'web/static/lib/bootstrap/scss/_variables.scss',
'web/static/lib/bootstrap/scss/_maps.scss', # add this
('include', 'web._assets_bootstrap'),# add this
('include', 'web._assets_core'),# add this
'web/static/src/libs/fontawesome/css/font-awesome.css',
'awesome_owl/static/src/**/*',
],
},

And in main js file : (The problem of not displaying hello world)
change this : 

import { browser } from "@web/core/browser/browser";
import { mount, whenReady } from "@odoo/owl";
import { Playground } from "./playground";
import { templates } from "@web/core/assets";

// Mount the Playground component when the document.body is ready
whenReady( () => {
mount(Playground, document.body, { templates, dev: true, name: "Owl Tutorial" });
});

To this : 

import { browser } from "@web/core/browser/browser";
import { mount, whenReady } from "@odoo/owl";
import { mountComponent } from "@web/env";

import { Playground } from "./playground";
import { templates } from "@web/core/assets";

// Mount the Playground component when the document.body is ready
whenReady( () => {
mountComponent(Playground, document.body, { templates, dev: true, name: "Owl Tutorial" });
});

PS: use mountComponent from @web/env instead of mount.
PS: @Nikhil Nakrani owl="1" didn't work
It worked for me This way

1
Portretas
Atmesti
Nikhil Nakrani

Hi,
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">

<t t-name="awesome_owl.playground">
<div class="p-3">
hello world
</div>
</t>

</templates>

// try this way here

<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">

<t t-name="awesome_owl.playground" owl="1">
<div class="p-3">
hello world
</div>
</t>

</templates>

template the owl="1" attribute in the definition.

Portretas
Luis Valentin Domé
Best Answer

I have the same problem, I just clone the repo and run the module, then I get "Uncaught Error (in promise): Missing template: "awesome_owl.playground" (for component "Playground")" in the browser, I use Debian 12 and Mozilla Firefox and Chrome

0
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registracija
Related Posts Replies Rodiniai Veikla
OwlError: Invalid props for component 'ActionpadWidget': unknown key 'disabled' Solved
pos odoo18 OwlError
Portretas
1
bal. 25
2040
POS order line custom field (serial_id) not synced to backend after payment (Odoo 18)
odoo18
Portretas
Portretas
1
lapkr. 25
414
Auto Session time out for users ODOO 18
odoo18
Portretas
Portretas
Portretas
2
rugs. 25
3196
Odoo18,in list view,select a record,from 'Actions' menu,select 'Delete',doesn't work properly
odoo18
Portretas
Portretas
1
rugp. 25
2507
How to share cash payment method with all the Shop point in POS module in Odoo 18?
odoo18
Portretas
Portretas
1
rugp. 25
1483
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now