Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

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

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
style
2 Antwoorden
3969 Weergaven
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
Annuleer
Avatar
Elon Vu
Auteur Beste antwoord

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
Annuleer
Avatar
André Canilho
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How can I customize the visual style of OpenERP to use my company logo and color scheme? Opgelost
style
Avatar
1
apr. 23
11644
How to customize reports ?
style
Avatar
Avatar
2
mrt. 15
7073
How do dynamically set the value of a style attribute based on the value from the model? Opgelost
style css
Avatar
Avatar
Avatar
Avatar
Avatar
4
mrt. 24
15149
Style Error on Web Portal
error style
Avatar
Avatar
Avatar
2
okt. 21
9614
is it possible to change text style in SO?
style odoo10
Avatar
Avatar
3
aug. 20
5086
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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