Daily updates from Odoo
Sunday, January 12, 2025
4 changes · 18.0
Resolved issues and error corrections
Odoo now skips automatic installation attempts for modules that are marked as not installable. This avoids unnecessary warning messages in logs and keeps module setup behavior aligned with configuration.
Original PR description
Description of the issue/feature this PR addresses: Do not try install auto installable modules that are not installable Current behavior before PR: If you have an auto_installable module (auto_install = True) that is not installable (installable = False) odoo is trying to install it and displaying warnings on the log Desired behavior after PR is merged: Avoid trying to install modules that are auto_install = True and installable = False --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
Accountants that start a new DB in Odoo may want to fetch more than 3 months of historic for CODAs (i.e. bank statements). So we're raising this to 1 year so that it's enough time to fetch every transaction needed for an annual closing. Although this may seem like a lot to import, and we may timeout, it's not really a problem because after each imported CODA, we commit it. So next time the user syncs the CODAs, we'll continue where we left off, and we'll import only the CODAs whose date is a
Original PR description
Accountants that start a new DB in Odoo may want to fetch more than 3 months of historic for CODAs (i.e. bank statements). So we're raising this to 1 year so that it's enough time to fetch every transaction needed for an annual closing. Although this may seem like a lot to import, and we may timeout, it's not really a problem because after each imported CODA, we commit it. So next time the user syncs the CODAs, we'll continue where we left off, and we'll import only the CODAs whose date is after the last imported one. task-id: none Forward-Port-Of: odoo/enterprise#76913 Forward-Port-Of: odoo/enterprise#76824
Steps to reproduce: - Create an invoice with a future date and set auto post to "At Date." - Add an item with a start date in the past and an end date. - In list view, click "Post entries" and validate without checking "Force." Deferred entries are created with reference "Deferral of /" and posted. When the invoice auto-posts, new deferrals are created. The fix ensures `_generate_deferred_entries` is not called if the move is not posted. opw-4357335 Forward-Port-Of: odoo/enterprise#
Original PR description
Steps to reproduce: - Create an invoice with a future date and set auto post to "At Date." - Add an item with a start date in the past and an end date. - In list view, click "Post entries" and validate without checking "Force." Deferred entries are created with reference "Deferral of /" and posted. When the invoice auto-posts, new deferrals are created. The fix ensures `_generate_deferred_entries` is not called if the move is not posted. opw-4357335 Forward-Port-Of: odoo/enterprise#75661
This commit ensures the asynchronous fetching cron is activated or deactivated only when necessary. Previously, the cron was executed every 5 minutes to check for online accounts to fetch transactions, even when none were present, leading to useless call to the cron. With this update, a toggle function is introduced, which is triggered whenever a journal or an online account is created, modified, or removed. Before deactivating the cron, the function verifies that no journals with an online
Original PR description
This commit ensures the asynchronous fetching cron is activated or deactivated only when necessary. Previously, the cron was executed every 5 minutes to check for online accounts to fetch transactions, even when none were present, leading to useless call to the cron. With this update, a toggle function is introduced, which is triggered whenever a journal or an online account is created, modified, or removed. Before deactivating the cron, the function verifies that no journals with an online account are currently in the fetching process, preventing unnecessary execution. no task id Forward-Port-Of: odoo/enterprise#76843