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 Client Error UncaughtPromiseError > OwlError Uncaught Promise > An error occured in the owl lifecycle

Subscribe

Get notified when there's activity on this post

This question has been flagged
3 Replies
9233 Views
Avatar
Tobias Viljoen

Please help - I cant find any resolve for this ... 
Any-one else seen this ? 

I can't get into SETTINGS - it gives this error.


UncaughtPromiseError > OwlError

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

    at handleError (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:916:101)

    at App.handleError (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:1542:29)

    at ComponentNode.initiateRender (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:1006:19)


Caused by: Error: "res.config.settings"."anglo_saxon_accounting" field is undefined.

    at Field.parseFieldNode (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:7661:231)

    at http://localhost:8069/web/assets/b145335/web.assets_web.min.js:8539:865

    at visit (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4223:51)

    at visitChildren (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4222:171)

    at visit (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4223:129)

    at visitChildren (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4222:171)

    at visit (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4223:129)

    at visitChildren (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4222:171)

    at visit (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4223:129)

    at visitChildren (http://localhost:8069/web/assets/b145335/web.assets_web.min.js:4222:171)

0
Avatar
Discard
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Best Answer

The error you're encountering seems to be related to an issue in the Odoo settings, particularly with the anglo_saxon_accounting field in the res.config.settings model. This could happen due to a variety of reasons, such as missing or incorrectly configured modules, issues with custom code, or data inconsistencies.

Here’s how you can troubleshoot and potentially resolve this issue:

1. Check Installed Modules

  • Issue: The anglo_saxon_accounting field is related to the Anglo-Saxon accounting method, which is part of the Odoo accounting module.
  • Solution: Ensure that the accounting module is correctly installed. If you have uninstalled or updated any modules recently, try reinstalling or upgrading them to see if it resolves the issue.

Steps:

  • Go to Apps and search for account_accountant.
  • Ensure it is installed and up to date.

2. Disable Custom Modules

  • Issue: If you have custom modules or code that extends or modifies the res.config.settings model, it might be causing the issue.
  • Solution: Temporarily disable custom modules to see if the issue persists. If the issue is resolved after disabling a module, you'll need to inspect the custom code for any problems.

Steps:

  • Go to Apps.
  • Filter by Installed Modules.
  • Uninstall or disable custom modules one by one to identify the problematic one.

3. Check for Data Inconsistencies

  • Issue: There might be data inconsistencies or corruption in the database, particularly in the ir.model.fields table where field definitions are stored.
  • Solution: Check the ir.model.fields table for the anglo_saxon_accounting field and ensure it exists and is correctly defined.

Steps:

  • Access the Odoo database using a database manager like pgAdmin.
  • Run a query on the ir.model.fields table:
    sqlCopy codeSELECT * FROM ir_model_fields WHERE name = 'anglo_saxon_accounting' AND model = 'res.config.settings';
    
  • Verify if the field is present and correctly configured.

4. Clear Cache and Rebuild Assets

  • Issue: Cached assets or outdated files might be causing the issue.
  • Solution: Clear the cache and rebuild the web assets to ensure you're working with the latest version of the code.

Steps:

  • Go to Settings > Technical > Actions > Reload.
  • Alternatively, you can run the following command from your terminal:
    bashCopy code./odoo-bin -c /etc/odoo/odoo.conf -d your_database_name -u all --stop-after-init
    
  • This will update all modules and rebuild the assets.

5. Inspect the Odoo Logs

  • Issue: Detailed error logs might provide more insight into what's going wrong.
  • Solution: Check the Odoo server logs to see if there are any additional error messages or stack traces that can help identify the issue.

Steps:

  • Access the logs typically found in /var/log/odoo/ or wherever your Odoo instance is configured to store logs.
  • Look for errors around the time you try to access the Settings module.

6. Update Odoo

  • Issue: There might be a bug in your current version of Odoo.
  • Solution: Ensure that you are running the latest stable version of Odoo.

Steps:

  • Run the following command to update your Odoo instance:
    bashCopy codegit pull origin 
    ./odoo-bin -c /etc/odoo/odoo.conf -d your_database_name -u all --stop-after-init
    

7. Restore from Backup

  • Issue: If none of the above solutions work, the issue might be too complex to resolve directly.
  • Solution: Consider restoring the database from a backup taken before the issue occurred.

Steps:

  • Access your backups and restore the database to a point where the issue wasn’t present.
  • Test to ensure the issue is resolved.

8. Seek Professional Support

  • Issue: If you're unable to resolve the problem on your own, it may be necessary to consult with a professional.
  • Solution: Contact Odoo support or a certified Odoo partner to help diagnose and fix the issue.

By following these steps, you should be able to identify and resolve the error preventing you from accessing the Settings module in Odoo.

2
Avatar
Discard
Avatar
Tobias Viljoen
Author Best Answer

Thank you so much ! 
I can confirm this worked ! 

SOLUTION FOR this error: 
connect to odoo database using terminal and run this sql:

DELETE FROM ir_ui_view WHERE arch_db::text LIKE '%anglo_saxon_accounting%';

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

Hi,
Can you try with the solutions given here: https://github.com/odoomates/odooapps/issues/122#issuecomment-2010101461

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
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