Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
3 Respuestas
9285 Vistas
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
Descartar
Avatar
S.A. Methsiri Madusanka Sooriyaarachchi
Mejor respuesta

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
Descartar
Avatar
Tobias Viljoen
Autor Mejor respuesta

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
Descartar
Avatar
Niyas Raphy (Walnut Software Solutions)
Mejor respuesta

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

Thanks 

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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