Skip to content

[FIX] server: find_module should only return modules + improve diagnostic #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 28, 2025

Conversation

mmahrouss
Copy link
Collaborator

No description provided.

@mmahrouss mmahrouss added bug Something isn't working documentation Improvements or additions to documentation labels Apr 25, 2025
@mmahrouss mmahrouss added this to the 0.6.2 milestone Apr 25, 2025
@mmahrouss mmahrouss requested a review from fda-odoo April 25, 2025 13:55
@mmahrouss mmahrouss force-pushed the master-fix-find-module-mdms branch from 03e7996 to 2711035 Compare April 25, 2025 14:03
continue;
};
if matches!(module_symbol.borrow().typ(), SymType::PACKAGE(PackageType::MODULE)) {
session.sync_odoo.modules.insert(name.clone(), Rc::downgrade(&module_symbol));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this addition to sync_doo.modules is necessary as create_from_path is already doing it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is redundant indeed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@mmahrouss mmahrouss force-pushed the master-fix-find-module-mdms branch from 2711035 to dfd08f4 Compare April 25, 2025 14:29
@mmahrouss mmahrouss requested a review from fda-odoo April 25, 2025 14:29
@mmahrouss mmahrouss self-assigned this Apr 28, 2025
@fda-odoo fda-odoo merged commit 1560cda into master Apr 28, 2025
1 check passed
@mmahrouss mmahrouss deleted the master-fix-find-module-mdms branch April 28, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants