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

Odoov13 UI suddenly stop working

Subscribe

Get notified when there's activity on this post

This question has been flagged
odooV13
1 Reply
2028 Views
Avatar
Bernardo

Hello!

I cannot access my odoo instance anymore, it always returns a 500 error.

The error on the /opt/bitnami/apps/odoo/log/production.log​ file is:

2024-11-16 15:38:51,810 2819 INFO erp20202_003 odoo.modules.loading: loading 1 modules...

2024-11-16 15:38:51,826 2819 INFO erp20202_003 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries

2024-11-16 15:38:51,841 2819 WARNING erp20202_003 odoo.modules.graph: module mai_pos_receipt_custom: not installable, skipped

2024-11-16 15:38:51,889 2819 INFO erp20202_003 odoo.modules.loading: loading 111 modules...

2024-11-16 15:38:52,125 2819 WARNING erp20202_003 odoo.models: The model catalogo.unidad.medida has no _description

2024-11-16 15:38:52,130 2819 WARNING erp20202_003 odoo.models: The model import.account.payment.from.xml has no _description

2024-11-16 15:38:52,176 2819 INFO erp20202_003 odoo.modules.loading: 111 modules loaded in 0.29s, 0 queries

2024-11-16 15:38:52,178 2819 ERROR erp20202_003 odoo.modules.loading: Some modules are not loaded, some dependencies or manifest may be missing: ['mai_pos_receipt_custom']

2024-11-16 15:38:52,404 2819 WARNING erp20202_003 odoo.modules.loading: Transient module states were reset

2024-11-16 15:38:52,405 2819 ERROR erp20202_003 odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 60, in __new__

return cls.registries[db_name]

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/[func.py](http://func.py)", line 69, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/[lru.py](http://lru.py)", line 44, in __getitem__

a = self.d[obj].me

KeyError: 'erp20202_003'

  

During handling of the above exception, another exception occurred:

  

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 86, in new

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[loading.py](http://loading.py)", line 438, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 255, in setup_models

model._setup_fields()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[models.py](http://models.py)", line 2693, in _setup_fields

field.setup_full(self)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 433, in setup_full

self._setup_related_full(model)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 486, in _setup_related_full

field = target._fields[name]

KeyError: 'district_id'

2024-11-16 15:38:55,467 2840 INFO erp20202_003 odoo.modules.loading: loading 1 modules...

2024-11-16 15:38:55,484 2840 INFO erp20202_003 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries

2024-11-16 15:38:55,498 2840 WARNING erp20202_003 odoo.modules.graph: module mai_pos_receipt_custom: not installable, skipped

2024-11-16 15:38:55,541 2840 INFO erp20202_003 odoo.modules.loading: loading 111 modules...

2024-11-16 15:38:55,793 2840 WARNING erp20202_003 odoo.models: The model catalogo.unidad.medida has no _description

2024-11-16 15:38:55,798 2840 WARNING erp20202_003 odoo.models: The model import.account.payment.from.xml has no _description

2024-11-16 15:38:55,852 2840 INFO erp20202_003 odoo.modules.loading: 111 modules loaded in 0.31s, 0 queries

2024-11-16 15:38:55,854 2840 ERROR erp20202_003 odoo.modules.loading: Some modules are not loaded, some dependencies or manifest may be missing: ['mai_pos_receipt_custom']

2024-11-16 15:38:56,111 2840 WARNING erp20202_003 odoo.modules.loading: Transient module states were reset

2024-11-16 15:38:56,112 2840 ERROR erp20202_003 odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 60, in __new__

return cls.registries[db_name]

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/[func.py](http://func.py)", line 69, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/[lru.py](http://lru.py)", line 44, in __getitem__

a = self.d[obj].me

KeyError: 'erp20202_003'

  

During handling of the above exception, another exception occurred:

  

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 86, in new

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[loading.py](http://loading.py)", line 438, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 255, in setup_models

model._setup_fields()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[models.py](http://models.py)", line 2693, in _setup_fields

field.setup_full(self)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 433, in setup_full

self._setup_related_full(model)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 486, in _setup_related_full

field = target._fields[name]

KeyError: 'district_id'

2024-11-16 15:38:56,122 2840 ERROR erp20202_003 werkzeug: Error on request:

Traceback (most recent call last):

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/[serving.py](http://serving.py)", line 270, in run_wsgi

execute(self.server.app)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/[serving.py](http://serving.py)", line 258, in execute

application_iter = app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/[server.py](http://server.py)", line 439, in app

return self.app(e, s)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/[wsgi_server.py](http://wsgi_server.py)", line 140, in application

return ProxyFix(application_unproxied)(environ, start_response)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/contrib/[fixers.py](http://fixers.py)", line 152, in __call__

return self.app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/[wsgi_server.py](http://wsgi_server.py)", line 117, in application_unproxied

result = odoo.http.root(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[http.py](http://http.py)", line 1287, in __call__

return self.dispatch(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[http.py](http://http.py)", line 1257, in __call__

return self.app(environ, start_wrapped)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/[wsgi.py](http://wsgi.py)", line 766, in __call__

return self.app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[http.py](http://http.py)", line 1439, in dispatch

odoo.registry(db).check_signaling()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[__init__.py](http://__init__.py)", line 104, in registry

return modules.registry.Registry(database_name)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 62, in __new__

return cls.new(db_name)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 86, in new

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[loading.py](http://loading.py)", line 438, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/[registry.py](http://registry.py)", line 255, in setup_models

model._setup_fields()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[models.py](http://models.py)", line 2693, in _setup_fields

field.setup_full(self)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 433, in setup_full

self._setup_related_full(model)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/[fields.py](http://fields.py)", line 486, in _setup_related_full

field = target._fields[name]

KeyError: 'district_id' 14 0.016 0.655

2024-11-16 15:38:56,531 2840 INFO erp20202_003 odoo.modules.loading: loading 1 modules...

2024-11-16 15:38:56,549 2840 INFO erp20202_003 odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries

2024-11-16 15:38:56,769 2840 WARNING erp20202_003 odoo.modules.graph: module mai_pos_receipt_custom: not installable, skipped

2024-11-16 15:38:56,809 2840 INFO erp20202_003 odoo.modules.loading: loading 111 modules...

2024-11-16 15:38:57,037 2840 WARNING erp20202_003 odoo.models: The model catalogo.unidad.medida has no _description

2024-11-16 15:38:57,042 2840 WARNING erp20202_003 odoo.models: The model import.account.payment.from.xml has no _description

2024-11-16 15:38:57,092 2840 INFO erp20202_003 odoo.modules.loading: 111 modules loaded in 0.28s, 0 queries

2024-11-16 15:38:57,094 2840 ERROR erp20202_003 odoo.modules.loading: Some modules are not loaded, some dependencies or manifest may be missing: ['mai_pos_receipt_custom']

2024-11-16 15:38:58,219 2840 WARNING erp20202_003 odoo.modules.loading: Transient module states were reset

2024-11-16 15:38:58,219 2840 ERROR erp20202_003 odoo.modules.registry: Failed to load registry

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 60, in __new__

return cls.registries[db_name]

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/func.py", line 69, in wrapper

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/tools/lru.py", line 44, in __getitem__

a = self.d[obj].me

KeyError: 'erp20202_003'

  

During handling of the above exception, another exception occurred:

  

Traceback (most recent call last):

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 86, in new

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/loading.py", line 438, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 255, in setup_models

model._setup_fields()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/models.py", line 2693, in _setup_fields

field.setup_full(self)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/fields.py", line 433, in setup_full

self._setup_related_full(model)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/fields.py", line 486, in _setup_related_full

field = target._fields[name]

KeyError: 'district_id'

2024-11-16 15:38:58,226 2840 ERROR erp20202_003 werkzeug: Error on request:

Traceback (most recent call last):

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/serving.py", line 270, in run_wsgi

execute(self.server.app)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/serving.py", line 258, in execute

application_iter = app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/[server.py](http://server.py)", line 439, in app

return self.app(e, s)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/wsgi_server.py", line 140, in application

return ProxyFix(application_unproxied)(environ, start_response)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/contrib/fixers.py", line 152, in __call__

return self.app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/service/wsgi_server.py", line 117, in application_unproxied

result = odoo.http.root(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 1287, in __call__

return self.dispatch(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 1257, in __call__

return self.app(environ, start_wrapped)

File "/opt/bitnami/python/lib/python3.7/site-packages/Werkzeug-0.14.1-py3.7.egg/werkzeug/wsgi.py", line 766, in __call__

return self.app(environ, start_response)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/http.py", line 1439, in dispatch

odoo.registry(db).check_signaling()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/__init__.py", line 104, in registry

return modules.registry.Registry(database_name)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 62, in __new__

return cls.new(db_name)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 86, in new

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

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/loading.py", line 438, in load_modules

registry.setup_models(cr)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/modules/registry.py", line 255, in setup_models

model._setup_fields()

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/models.py", line 2693, in _setup_fields

field.setup_full(self)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/fields.py", line 433, in setup_full

self._setup_related_full(model)

File "/opt/bitnami/apps/odoo/lib/odoo-13.0.post20200815-py3.7.egg/odoo/fields.py", line 486, in _setup_related_full

field = target._fields[name]

KeyError: 'district_id' 14 0.013 1.696  

I have tried many things so far without any luck, I have tried:

  1. Updating all modules with the -u all​ option with odoo-bin​
  2. Updating just the web​ module
  3. Load only with base,web​ modules
  4. I’ve seen that district_id​ belongs to a module named fieldservice​, I have tried setting state=uninstalled​ directly in the db
  5. I do not remember what else

Can you please provide some guide? The thing about the registry looks important but cannot find a solution that works for me on the web or chatgpt

Thanks a lot!

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

Hi,
If there is some recent technical changes, review the code and see if the added code are right and in proper syntax and standards.

* Try updating the specific app: fieldservice

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
i have a new develop enviorment in odoo 13 but when i try to fet in give me this error please Help
odooV13
Avatar
Avatar
1
Apr 23
3338
Has anyone been able to connect to Zapier with a self hosted version of Odoo?
odooV13
Avatar
Avatar
Avatar
Avatar
Avatar
7
Feb 23
10151
Table relationship between payment_transaction and sale_order
odooV13
Avatar
0
Sep 22
2285
How troubleshoot the issue of "Something went wrong!"
odooV13
Avatar
Avatar
1
Jul 22
2276
User Preference cannot be opened when the language not default English
odooV13
Avatar
Avatar
1
Mar 22
2315
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