Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2855 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 24
1136
2
led 23
2421
3
úno 25
4452
2
led 23
3994
0
led 24
1905