Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2761 Vistas

Hello Odoo Community,

We are currently developing a custom module aimed at incorporating additional fields and computations for contacts, utilizing MX valid catalogs for addresses.

Up until now, our development on the dedicated branches has been seamless. We've successfully observed changes, updated the module, and examined version numbers, as well as inspected added/inherited views.

Recently, we smoothly transitioned the first version of our changes from the main development branch to the staging branch, which worked effortlessly.

However, today, while attempting to update the staging branch with the latest changes from the main development branch, the modifications aren't reflecting. Despite various attempts, including rebuilding the staging branch and updating the module via the web shell, the issue persists.

During our diagnostic process, we encountered an error when inspecting module information from the "applications" list (Error message is: Can't fetch record(s) 1079. They might have been deleted.). It's worth noting that we observed the error for all our custom modules.

Upon checking the database (table ir_module_module), we confirmed that the ID mentioned in the error message does exist and is assigned to our module (specifically, 'quadro_l10n_mx' in this case; ID 1079). Similarly, when inspecting the current code of the custom module using the web Editor, it appears to be up-to-date with the GitHub repository.

We are reaching out to the community for support and insights into similar experiences. We are seeking both solutions and preventive measures for these types of errors. While we initially assumed that a branch rebuild from the odoo.sh web UI should suffice, it hasn't resolved the issue.

Ideally, we are looking for a solution that avoids the need to delete and recreate the staging branch. Although recreating the instance container from scratch is an option, we want the branch to behave as if it were a fresh staging branch without resorting to a complete deletion.

Any guidance or shared experiences would be greatly appreciated.

Thank you for your assistance!

Avatar
Descartar
Autor Mejor respuesta

If anyone is wondering, we were able to restore the expected behavior by dragging our staging branch to development and accepting to drop the staging environment, and after a few minutes dragging the branch back to staging.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 24
1082
2
ene 23
2342
3
feb 25
4326
2
ene 23
3909
0
ene 24
1853