Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • 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 Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & 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
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
v14
1 Reply
4808 Views
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
Discard
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
Best Answer

Hi,

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


Hope it helps

1
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Attached PDF file is not formatted properly
v14
Avatar
Avatar
1
Dec 25
378
Odoo14 alternative for Automated Translations through Gengo API module
v14
Avatar
Avatar
Avatar
Avatar
3
Sep 25
3805
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
Avatar
0
Aug 25
1213
How to Managing Birthdate and Age in Odoo
v14
Avatar
Avatar
1
Aug 25
3613
Update Initial Stock of Product using XMLRPC API [Odoo14] Solved
v14
Avatar
Avatar
Avatar
2
Jul 25
9231
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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