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

Odoo 17 problem installing accounting app

Subscribe

Get notified when there's activity on this post

This question has been flagged
accountinginstall
2 Replies
4333 Views
Avatar
Yahya Kassem


i am using odoo online 17

I had a problem with accounting app so i have removed it and then when i try to install it i get this error


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/home/odoo/src/odoo/17.0/odoo/tools/cache.py", line 99, in lookup

    r = d[key]

  File "", line 2, in __getitem__

  File "/home/odoo/src/odoo/17.0/odoo/tools/func.py", line 87, in locked

    return func(inst, *args, **kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/tools/lru.py", line 34, in __getitem__

    a = self.d[obj]

KeyError: ('ir.model.data', , 'account.1_general')


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1722, in _serve_db

    return service_model.retrying(self._serve_ir_http, self.env)

  File "/home/odoo/src/odoo/17.0/odoo/service/model.py", line 133, in retrying

    result = func()

  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1749, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1953, in dispatch

    result = self.request.registry['ir.http']._dispatch(endpoint)

  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_http.py", line 235, in _dispatch

    response = super()._dispatch(endpoint)

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_http.py", line 222, in _dispatch

    result = endpoint(**request.params)

  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 722, in route_wrapper

    result = endpoint(self, *args, **params_ok)

  File "/home/odoo/src/odoo/17.0/addons/web/controllers/dataset.py", line 24, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/home/odoo/src/odoo/17.0/addons/web/controllers/dataset.py", line 20, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/api.py", line 468, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/api.py", line 453, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/home/odoo/src/custom/trial/saas_trial/models/module.py", line 103, in button_immediate_install

    return super(IrModuleModule, self).button_immediate_install()

  File "", line 2, in button_immediate_install

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_module.py", line 75, in check_and_log

    return method(self, *args, **kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_module.py", line 467, in button_immediate_install

    return self._button_immediate_function(self.env.registry[self._name].button_install)

  File "/home/odoo/src/custom/trial/saas_trial/models/module.py", line 70, in _button_immediate_function

    res = super(IrModuleModule, self)._button_immediate_function(function)

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_module.py", line 591, in _button_immediate_function

    registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "", line 2, in new

  File "/home/odoo/src/odoo/17.0/odoo/tools/func.py", line 87, in locked

    return func(inst, *args, **kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/modules/registry.py", line 113, in new

    odoo.modules.load_modules(registry, force_demo, status, update_module)

  File "/home/odoo/src/odoo/17.0/odoo/modules/loading.py", line 480, in load_modules

    processed_modules += load_marked_modules(env, graph,

  File "/home/odoo/src/odoo/17.0/odoo/modules/loading.py", line 364, in load_marked_modules

    loaded, processed = load_module_graph(

  File "/home/odoo/src/odoo/17.0/odoo/modules/loading.py", line 245, in load_module_graph

    getattr(py_module, post_init)(env)

  File "/home/odoo/src/enterprise/17.0/account_accountant/__init__.py", line 36, in _account_accountant_post_init

    ChartTemplate._load_data({

  File "/home/odoo/src/odoo/17.0/addons/account/models/chart_template.py", line 515, in _load_data

    'values': deref(record, self.env[model]),

  File "/home/odoo/src/odoo/17.0/addons/account/models/chart_template.py", line 438, in deref

    raise e

  File "/home/odoo/src/odoo/17.0/addons/account/models/chart_template.py", line 435, in deref

    values[fname] = self.ref(value).id if value not in ('', 'False', 'None') else False

  File "/home/odoo/src/odoo/17.0/addons/account/models/chart_template.py", line 945, in ref

    or self.env.ref(f"account.{self.env.company.parent_ids[0].id}_{xmlid}", raise_if_not_found)

  File "/home/odoo/src/odoo/17.0/odoo/api.py", line 579, in ref

    res_model, res_id = self['ir.model.data']._xmlid_to_res_model_res_id(

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_model.py", line 2189, in _xmlid_to_res_model_res_id

    return self._xmlid_lookup(xmlid)

  File "", line 2, in _xmlid_lookup

  File "/home/odoo/src/odoo/17.0/odoo/tools/cache.py", line 104, in lookup

    value = d[key] = self.method(*args, **kwargs)

  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_model.py", line 2182, in _xmlid_lookup

    raise ValueError('External ID not found in the system: %s' % xmlid)

ValueError: External ID not found in the system: account.1_general


The above server error caused the following client error:

RPC_ERROR: Odoo Server Error

    at makeErrorFromResponse (https://www.maherabbaspolyclinic.com/web/assets/b3be89f/web.assets_web.min.js:2874:163)

    at XMLHttpRequest. (https://www.maherabbaspolyclinic.com/web/assets/b3be89f/web.assets_web.min.js:2878:13)

0
Avatar
Discard
ASESORÍAS Y CONSULTORÍA MUCK Y CÍA. LTDA.

Did you solve it? I just got the same error trying to install accounting on a test database recently upgraded from 16 to 17.

Milan Bojovic

Hello, I encountered the same error during the test database upgrade. Has anyone found a solution yet?


Upgrading the invoicing app didn't solve the issue.

Avatar
Pektsekye
Best Answer

Hello,

If it is Odoo Online (not Odoo sh) then you have no access to the files.

You should contact the Odoo support:

https://www.odoo.com/help


Stanislav

1
Avatar
Discard
Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,
Try upgrading the invoicing app (account) and see if it resolves your issue.
Thanks

0
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
How do I run the account configuration wizard again?
accounting install wizards
Avatar
Avatar
Avatar
2
May 15
7412
Can not install Accounting Module
accounting install hr_payroll
Avatar
Avatar
1
Mar 15
5963
New date format odoo 19
accounting
Avatar
Avatar
Avatar
2
Dec 25
1518
Bank Suspense vs Bank Suspense Account on Odoo Chart of Accounts default Solved
accounting
Avatar
Avatar
2
Dec 25
463
Peppol - Envoie de mails à mon comptable pour WinAuditor
accounting
Avatar
Avatar
Avatar
3
Dec 25
1610
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