Tuesday, April 22, 2025
11 changes · 17.0
Resolved issues and error corrections
Users splitting an expense can now adjust the tax field directly in the split wizard. This fixes a restriction that could prevent accurate tax allocation, helping expense records better reflect the intended accounting details.
Original PR description
This commit remove the readonly on the tax_ids field, in the expense_split wizard. task-4703493
This fix makes Odoo's web interface handle a wider range of internal data safely when copying information in the background. It reduces the risk of errors during maintenance fixes without changing visible behavior for users.
Original PR description
The current implementation of deepCopy only supports fully JSON stringifiable objects but its behaviour was modified in later versions to support `undefined` as well. This commit backports that change as it does not break the current behaviour and reduces the chances of an unfortunate error in bugfixes. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Hungarian electronic invoice reports now show product code labels without an extra space before the colon. This small formatting correction makes invoices look cleaner and match the expected syntax.
Original PR description
Changing the syntax of the product code line in the invoice to not have a space before the colon. Example: `VTSZ : 8604000` -> `VTSZ: 8604000` task-4707459
The countdown block’s due date field now uses a text color that remains clearly visible on its dark background. This makes selecting and reviewing dates in the website editor easier and reduces confusion for content editors.
Original PR description
The text color in the input is purple and not clearly visible with the dark input background. Steps to reproduce: ------------------- * Go to edit mode. * Drag and drop a "countdown" block. * Open the date picker by clicking the "Due Date" input in the options. * Click on a date. > Observation: Why the fix: ------------ Make it visible opw-4589158 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Swiss QR payment codes are no longer shown on draft invoices, ensuring they only appear when the invoice is valid and finalized. This prevents customers or staff from using payment details before the document is ready, reducing confusion and errors in Swiss invoicing workflows.
Original PR description
Through the many iteration, one of the condition was removed: https://github.com/odoo/odoo/pull/198498 and `move.display_qr_code` is not enough to translate the apparently necessary condition `move.company_id.account_fiscal_country_id.code == 'CH'` https://github.com/odoo/odoo/commit/84152f2d65712b1c21d1e627a3801e94db3c3992 Testing the flow is quite complex without tour hence the the `assert` opw-4585574
This fix limits Chilean VAT formatting changes to invoice reports only, instead of affecting all XML-based outputs. It helps prevent unintended formatting issues in other documents while keeping invoice tax information displayed correctly.
Original PR description
This corrects 9f96aa7648ed4320849c6736e85b9cb6c988232c that was impacting all xml files whereas it should only have had an impact on the invoice report. opw-4661577
Users can now return from an accounting report customization view by clicking the report name without encountering an error. This keeps the navigation experience consistent across accounting reports and prevents disruption while configuring reports.
Original PR description
Steps to reproduce:
- Open any accounting report
- Click on the wheel to customize it
- Try to come back to the report by using the name's report
Issue:
When customizing any accounting report in V17, attempting to exit the view via the report's name (as done in other reports) throws an OwlError Traceback:
`Invalid props for component 'AccountReport': unknown key 'state'`
This happens because the 'state' prop is passed to the component but not declared as a valid prop. This commit adds 'state' as an optional prop to avoid the error and ensure consistent behavior across customized reports.
opw: 4708540The Field Service product catalog now correctly uses the related sales order when one is not passed directly. This ensures added products display their quantity information properly, making it easier for users to review items on field service orders.
Original PR description
### Steps to reproduce: - Create a task in Field Service - Navigate to the product's catalog through the smart button - Add some products to the SO - Filter with 'Added products' - Notice the quantity bar is not shown ### Cause: This is happening as when click on the product smart button we are passing the order_id in the context to get the order lines info https://github.com/odoo/enterprise/blob/6e7525e0e0c2858e028694e9227077b2275d88c5/industry_fsm_sale/static/src/components/product_catalog/kanban_model.js#L21-L26 but if we still didn't create an order for this task order_id will be false, so it won't have an order to fetch its data and will just add the default data where the quantity will be 0 https://github.com/odoo/enterprise/blob/6e7525e0e0c2858e028694e9227077b2275d88c5/industry_fsm_sale/models/sale_order.py#L45-L48 ### Fix: If we have a fsm_task we can fallback on its order_id if order_id is false. opw-4712922
This change reverts an earlier adjustment that unintentionally affected generated Chilean electronic document XML files. The VAT formatting change is kept limited to invoice reports, reducing the risk of unexpected changes in official electronic document outputs.
Original PR description
This reverts commit cbcff76a94750a6759fd72d9c952d785e603a974. Fix in community was changing all the xml files generated, whereas it should only have had an impact on the invoice report. opw-4661577
Duplicating an Indian employee record now leaves unique payroll identifiers such as UAN, PAN, and ESIC blank on the new record. This prevents duplication from failing because the copied record would otherwise reuse values that must stay unique.
Original PR description
The UAN, PAN and ESIC number fields on the IN employee have a unique constraint. However, they are not set to not being copied upon record duplication, which would cause duplication impossible. This PR fixes the issue by not copying the value of those field upon duplication. task-4708324
This update fixes an error that could appear when users returned to an accounting report from the breadcrumb after opening a related partner form. It improves reliability for accounting report navigation, especially in debug mode.
Original PR description
Steps to reproduce: 1. Open any Accounting Report. For example, 'Partner Ledger' 2. Open any 'Partner Form View' for UI change. 3. Again, go to the report from 'breadcrumb' (In Debug Mode). => Traceback Props validation was missing of `state` in `AccountReport` component, which will be added with this PR. Support Ticket: https://www.odoo.com/odoo/project/49/tasks/4741316