Branch
[PERF] mrp: optimize move_finished_ids update to improve backorder creation performance for serial-tracked production Previously, all move_finished_ids in non-done state were updated regardless of whether their date or date_deadline values actually changed. This led to unnecessary write operations and potential slowdowns, especially in serial-tracked production where each finished product line generates a separate stock.move. This update improves the performance of completing manufacturing orders that produce serial-tracked finished products.
[PERF] purchase_mrp: optimize purchase_order_count computation using single SQL query The previous approach used multiple ORM traversals and len(set(...)) logic in Python, which caused performance degradation on large datasets. This PR improves the performance of the purchase_order_count computed field on the production order by replacing the slow Python-level iteration over stock moves with a single optimized SQL query. This refactor ensures fast and reliable results even on databases with thousands of stock moves and procurement groups.
[FIX] hr_holidays: Prevent accrual beyond defined end date **Current Behavior** When an allocation is configured with an automatic accrual and an end date, selecting a future date beyond the accrual end date still results in additional leaves being calculated. **Solution** Introduced a check to cap the selected date at the accrual_date_end when simulating future leave accruals. This ensures that no extra leaves are added beyond the intended accrual period.
[FIX] mail: exclude completed activities from the list when accessed via the clock icon When clicking on the clock icon to view scheduled activities, the system currently displays all activities, including those already marked as done. This clutters the view and makes it difficult for users to focus on pending tasks.
Merge remote-tracking branch 'odoo/17.0' into 17.0 Conflicts: addons/account/i18n/vi.po addons/account_check_printing/i18n/vi.po addons/account_fleet/i18n/vi.po addons/auth_oauth/i18n/vi.po addons/barcodes/i18n/vi.po addons/barcodes_gs1_nomenclature/i18n/vi.po addons/calendar/i18n/vi.po addons/crm_livechat/i18n/vi.po addons/event/i18n/vi.po addons/fleet/i18n/vi.po addons/gamification/i18n/vi.po addons/google_calendar/i18n/vi.po addons/google_gmail/i18n/vi.po addons/hr/i18n/vi.po addons/hr_attendance/i18n/vi.po addons/hr_contract/i18n/vi.po addons/hr_expense/i18n/vi.po addons/hr_fleet/i18n/vi.po addons/hr_holidays/i18n/vi.po addons/hr_holidays_attendance/i18n/vi.po addons/hr_work_entry/i18n/vi.po addons/im_livechat/i18n/vi.po addons/link_tracker/i18n/vi.po addons/mail_group/i18n/vi.po addons/mass_mailing/i18n/vi.po addons/microsoft_calendar/i18n/vi.po addons/microsoft_outlook/i18n/vi.po addons/mrp/i18n/fa.po addons/mrp/i18n/vi.po addons/mrp_subcontracting/i18n/vi.po addons/phone_validation/i18n/vi.po addons/point_of_sale/i18n/vi.po addons/pos_epson_printer/i18n/vi.po addons/product/i18n/vi.po addons/project/i18n/vi.po addons/purchase/i18n/vi.po addons/purchase_stock/i18n/vi.po addons/repair/i18n/fa.po addons/repair/i18n/vi.po addons/resource/i18n/vi.po addons/sale/i18n/vi.po addons/sale_crm/i18n/vi.po addons/sale_expense/i18n/vi.po addons/sale_management/i18n/vi.po addons/sale_project/i18n/vi.po addons/sale_stock/i18n/vi.po addons/sale_timesheet/i18n/vi.po addons/spreadsheet_dashboard_hr_expense/i18n/vi.po addons/spreadsheet_dashboard_im_livechat/i18n/vi.po addons/spreadsheet_dashboard_purchase/i18n/vi.po addons/stock/i18n/vi.po addons/stock_account/i18n/vi.po addons/stock_landed_costs/i18n/vi.po addons/stock_picking_batch/i18n/vi.po addons/stock_sms/i18n/vi.po addons/survey/i18n/vi.po addons/web/i18n/az.po addons/web/i18n/fa.po addons/web_editor/i18n/fa.po addons/web_editor/i18n/vi.po addons/website/i18n/vi.po addons/website_event_booth/i18n/vi.po addons/website_event_track_quiz/i18n/vi.po addons/website_forum/i18n/vi.po addons/website_mass_mailing/i18n/vi.po addons/website_sale_stock_wishlist/i18n/vi.po addons/website_sale_wishlist/i18n/vi.po addons/website_slides_forum/i18n/vi.po odoo/addons/base/i18n/vi.po