Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Odoo 17 Client Error UncaughtPromiseError > OwlError Uncaught Promise > An error occured in the owl lifecycle

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
3 Risposte
9263 Visualizzazioni
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
Abbandona
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Risposta migliore

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
Abbandona
Avatar
Tobias Viljoen
Autore Risposta migliore

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
Abbandona
Avatar
Niyas Raphy (Walnut Software Solutions)
Risposta migliore

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

Thanks 

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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