Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo 18: A css error occured, using an old style to render this page

Odoberať

Get notified when there's activity on this post

This question has been flagged
style
2 Replies
3649 Zobrazenia
Avatar
Elon Vu

Hi, I got the style css when installing Odoo 18, python 3.10:

In Console: 

"c:usersuser

ppdatalocalprogramspythonpython39libsite-packagessassc.py:7 FutureWarning: The `sassc` entrypoint is deprecated, please use `pysassc`

  warnings.warn(

Usage: sassc [options] SCSS_FILE [OUT_CSS_FILE]


sassc: error: no such option: --stdin

This error occurred while compiling the bundle 'web.assets_web_print' containing:

    - /web/static/src/scss/functions.scss

    - /web/static/src/scss/primary_variables_print.scss

    - /web/static/src/views/kanban/kanban.print_variables.scss


This is strange, because I deleted the folder C/User/user/AppData/Local/Programs/python/python39 already, but Odoo still points to that and cause error. (I installed libsass 0.21.0). Do you know it? Please help! Thank you.

0
Avatar
Zrušiť
Avatar
Elon Vu
Autor Best Answer

Hi, thanks for reply. I uninstalled the python 3.9 and installed the 3.10. The mentioned folder is in the App Data/Local/Python (not in C/Programs) and I though it is remained. I setup the Python Interpreter inside my project, as showing here:
python -m site

sys.path = [

    'C:\\Users\\user\\Desktop\\LOGISTIC',

    'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python310\\python310.zip',

    'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python310\\DLLs',

    'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python310\\lib',

    'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python310',

    'C:\\Users\\user\\Desktop\\LOGISTIC\\venv',

    'C:\\Users\\user\\Desktop\\LOGISTIC\\venv\\lib\\site-packages',

    'C:\\Users\\user\\Desktop\\LOGISTIC\\venv\\lib\\site-packages\\win32',

    'C:\\Users\\user\\Desktop\\LOGISTIC\\venv\\lib\\site-packages\\win32\\lib',

    'C:\\Users\\user\\Desktop\\LOGISTIC\\venv\\lib\\site-packages\\Pythonwin',

]

USER_BASE: 'C:\\Users\\user\\AppData\\Roaming\\Python' (exists)

USER_SITE: 'C:\\Users\\user\\AppData\\Roaming\\Python\\Python310\\site-packages' (doesn't exist)

ENABLE_USER_SITE: False


I tried to add New Interpreter with Python 3.10, install all dependencies from the beginning, but that still happenes.

0
Avatar
Zrušiť
Avatar
André Canilho
Best Answer

You deleted the python folder? Hummm what could go wrong? xD

It is possible that you might have more than one Python installation, and that can create some conflicts when you don't use virtual environments as they are supposed to. 
(There must be One Python Venv per project). 
Changing global python definitions, versions and installed packages never works well. 

Odoo always creates it's own venv inside the Odoo project folder, and personally, Python 3.9 has been the one that works always well. I've installed it in Windows, Linux and Mac OS with sucess. 

On Windows, if you make multiple failed attemps at installing Odoo, the registry will leave back residual keys, that have to be manually removed. (go to regedit and look up "odoo" and "PgAdmin")

Not removing those keys, will mess any consequent installations attempts. 

One immediate effect can be seen while installing PgAdmin, is the destination folder for the program doesn't appear in the automatic setup. I've seen this happen too many times on Windows, and had to clean registry keys every single time, or manually config PgAdmin, with the  configs from the Odoo setup files. 

If you broke Python, and you are not using it for anything else, just remove it entirely from your machine (by Uninstalling and NOT deleting folders) and reinstall Python 3.9 which is the one that works best for ODOO.

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How can I customize the visual style of OpenERP to use my company logo and color scheme? Solved
style
Avatar
1
apr 23
11484
How to customize reports ?
style
Avatar
Avatar
2
mar 15
6930
How do dynamically set the value of a style attribute based on the value from the model? Solved
style css
Avatar
Avatar
Avatar
Avatar
Avatar
4
mar 24
14865
Style Error on Web Portal
error style
Avatar
Avatar
Avatar
2
okt 21
9486
is it possible to change text style in SO?
style odoo10
Avatar
Avatar
3
aug 20
4917
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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