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

Odoo14 creates the database and runs for a while prompting[ Database creation error: Access denied]

S'inscrire

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

Cette question a été signalée
v14
1 Répondre
4767 Vues
Avatar
Mantra

win10+python3.8.5 or python3.7.7 + postgresql12.2 + odoo14 community 20201113

http://localhost:8069/web/database/manager
Odoo14 creates the database and runs for a while prompting Database creation error: Access denied.


Look at the database and see that it was created successfully, there are only 93 tables, the log has these errors, I wonder why

-------------------------odoo-server.log-------------------------------------

2020-11-13 14:34:39,648 2152 ERROR odoo14 odoo.addons.base.models.ir_cron: Call from cron Expense OCR: Update All Status for server action #665 failed in Job #31 

Traceback (most recent call last):

  File "F:\odoo14\odoo\tools\safe_eval.py", line 324, in safe_eval

    return unsafe_eval(c, globals_dict, locals_dict)

  File "", line 1, in <module>

AttributeError: 'hr.expense' object has no attribute 'check_all_status'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "F:\odoo14\odoo\addons\base\models\ir_cron.py", line 110, in _callback

    self.env['ir.actions.server'].browse(server_action_id).run()

  File "F:\odoo14\odoo\addons\base\models\ir_actions.py", line 622, in run

    res = runner(run_self, eval_context=eval_context)

  File "F:\odoo14\odoo\addons\base\models\ir_actions.py", line 491, in _run_action_code_multi

    safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True)  # nocopy allows to return 'action'

  File "F:\odoo14\odoo\tools\safe_eval.py", line 340, in safe_eval

    raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))

ValueError: <class 'AttributeError'>: "'hr.expense' object has no attribute 'check_all_status'" while evaluating

'model.check_all_status()'

2020-11-13 14:34:39,649 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Expense OCR: Update All Status` done. 

2020-11-13 14:35:39,654 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Post process payment transactions`. 

2020-11-13 14:35:39,664 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Post process payment transactions` done. 

2020-11-13 14:38:39,691 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Lunch: automatic email send`. 

2020-11-13 14:38:39,701 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Lunch: automatic email send` done. 

2020-11-13 14:38:39,702 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Starting job `Lunch: alert chat notification`. 

2020-11-13 14:38:39,712 2152 INFO odoo14 odoo.addons.base.models.ir_cron: Job `Lunch: alert chat notification` done. 



////////////////////odoo.conf//////////////////////////

[options]

addons_path = F:\odoo14\extra-addons

admin_passwd = $pbkdf2-sha512$25000$jXEOgbDWeu/9H.Nci1FKqQ$cpRPnQeSOtvVLnGjMKsdvcHIMLArzGt8c7F0fkbs4pD6y1Y6uXwg2.OBu9qLQ5wR6H/zPYgPmht/WhLTc0R/XA

csv_internal_sep = ,

data_dir = F:\odoo14\data

db_host = localhost

db_maxconn = 64

db_name = False

db_password = odoo

db_port = 5432

;db_sslmode = prefer

db_template = template0

db_user = odoo

dbfilter = 

demo = {}

email_from = False

geoip_database = C:\usr\share\GeoIP\GeoLite2-City.mmdb

http_enable = True

http_interface = 

http_port = 8069

import_partial =

limit_memory_hard = 2684354560

limit_memory_soft = 2147483648

limit_request = 8192

limit_time_cpu = 60

limit_time_real = 120

limit_time_real_cron = -1

list_db = True

log_db = False

log_db_level = warning

log_handler = :INFO

log_level = info

logfile = F:\odoo14\odoo-server.log

longpolling_port = 8072

max_cron_threads = 2

osv_memory_age_limit = False

osv_memory_count_limit = False

pg_path = F:\PostgreSQL\12\bin

pidfile = 

proxy_mode = False

reportgz = False

screencasts = 

screenshots = C:\Users\Administrator\AppData\Local\Temp\odoo_tests

server_wide_modules = base,web

smtp_password = False

smtp_port = 25

smtp_server = localhost

smtp_ssl = False

smtp_user = False

syslog = False

test_enable = False

test_file = 

test_tags = None

transient_age_limit = 1.0

translate_modules = ['all']

unaccent = False

upgrade_path = 

without_demo = False

workers = None

0
Avatar
Ignorer
Hilar Andikkadavath

Error from model hr expense, make sure extra addons are working correctly. also, make sure the role is configured correctly

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,

Make sure that the function is defined in the correct model.


Hope it helps

1
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é
Attached PDF file is not formatted properly
v14
Avatar
Avatar
1
déc. 25
278
Odoo14 alternative for Automated Translations through Gengo API module
v14
Avatar
Avatar
Avatar
Avatar
3
sept. 25
3712
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
Avatar
0
août 25
1145
How to Managing Birthdate and Age in Odoo
v14
Avatar
Avatar
1
août 25
3513
Update Initial Stock of Product using XMLRPC API [Odoo14] Résolu
v14
Avatar
Avatar
Avatar
2
juil. 25
9128
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