Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
style
2 Réponses
3697 Vues
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
Ignorer
Avatar
Elon Vu
Auteur Meilleure réponse

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
Ignorer
Avatar
André Canilho
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How can I customize the visual style of OpenERP to use my company logo and color scheme? Résolu
style
Avatar
1
avr. 23
11522
How to customize reports ?
style
Avatar
Avatar
2
mars 15
6962
How do dynamically set the value of a style attribute based on the value from the model? Résolu
style css
Avatar
Avatar
Avatar
Avatar
Avatar
4
mars 24
14927
Style Error on Web Portal
error style
Avatar
Avatar
Avatar
2
oct. 21
9505
is it possible to change text style in SO?
style odoo10
Avatar
Avatar
3
août 20
4940
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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