Daily updates from Odoo
Friday, February 28, 2025
4 changes · master
Resolved issues and error corrections
Fixes an error that could occur after OTP validation when users fetched GSTR-2B data or pushed GSTR-1 from a GST return period. This helps Indian GST reporting workflows complete reliably instead of blocking users at the authentication step.
Original PR description
This commit fixes the incorrect access of `l10n_in_update_move_using_irn` function, from `l10n_in.gst.return.period` model. Steps:- 1. go to gst return period 2. try to perform gstr2b fetch or gstr1 push 3. you will be directed to OTP request 4. error on otp validation Reason:- The return_period variable may be record of `account.move` or `l10n_in.gst.return.period` model. The issue was caused from the commit https://github.com/odoo/enterprise/commit/344e09e103636d4134e43d806c96ce4c4347a0ef
Manufacturing orders no longer automatically mark components or byproducts as picked when the produced quantity is changed. This keeps inventory consumption and byproduct production aligned with deliberate user actions or final production completion, reducing accidental stock updates.
Original PR description
When the quantity being produced in a MO is updated, the consumption of components and the production of byproducts were automatically picked. However, this behavior should only occur when the user manually picks it or when the production is completed. This commit fixes the issue and updates some tests to reflect the intended behavior. task: 4314900
The payroll company full-time hours field now consistently reflects the hours from the relevant company's main working schedule and is kept read-only. This prevents incorrect full-time hour values from being edited or displayed, supporting more reliable payroll and contract schedule calculations.
Original PR description
The company full time field should be readonly and always represent the amount of hours in the relevant company's main schedule. task-3942484
Upsell quote notes for subscriptions now update automatically when the start date changes, so customers see the correct prorated period. The change also cleans up how these notes are maintained, making the subscription sales process more reliable and easier to support.
Original PR description
Before this commit, When creating an upsell quote for a subscription, a note is automatically added to the sales order showing the prorated period, but it doesn’t account for the start date on the quote. With this commit, The upsell description now recalculates automatically if the upsell start date is changed. task-4299774