Daily updates from Odoo
Sunday, January 12, 2025
2 changes · master
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