Skip to content

Commit

Permalink
[IMP] server: handle nightly builds
Browse files Browse the repository at this point in the history
Nightly builds have addons merges in odoo/addons. This commit remove this prerequise.
  • Loading branch information
fda-odoo committed Jan 24, 2025
1 parent d60a732 commit 91b55b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/src/core/odoo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ impl SyncOdoo {
);
}
} else {
let odoo_addon_path = PathBuf::from(odoo_path.clone()).join("addons");
session.log_message(MessageType::ERROR, format!("Unable to find odoo addons path at {}", odoo_addon_path.sanitize()));
return false;
session.log_message(MessageType::WARNING, format!("Unable to find odoo addons path at {}. You can ignore this message if you use a nightly build or if your community addons are in another addon paths.", odoo_addon_path.sanitize()));
}
for addon in session.sync_odoo.config.addons.iter() {
let addon_path = PathBuf::from(addon);
Expand Down

0 comments on commit 91b55b3

Please sign in to comment.