Tuesday, October 15, 2024
14 changes
1 change
Resolved issues and error corrections
This fix ensures companies are listed in the expected order in account reports, with the main company shown before its branches. This helps keep report results consistent and avoids confusion when reviewing multi-company data.
Original PR description
Companies will be returned main first then branches. reshuffling the expected results
13 changes
Resolved issues and error corrections
This fixes account code availability checks so codes mapped from other companies no longer incorrectly block new accounts. Businesses using multiple companies can reuse valid account codes in the intended company without unnecessary setup conflicts.
Original PR description
In #181352, we relaxed the constraint that prevented accounts from being mapped to an account code in a company the account doesn't belong to, if there already exists an account in that company that already has that code. That constraint was annoying because it meant that mapping an account to a code in a different company would "reserve" that code in the other company's CoA. When we relaxed that constraint, we forgot to modify '_search_new_account_codes' such that the previously-reserved codes would now be available for new accounts. This commit fixes that. task-none
Discount descriptions on sales orders now display more clearly with the updated product description layout. This helps sales teams and customers better understand applied discounts without confusing or poorly formatted text.
Original PR description
c3e98851d9b509e97fbcc78616ff5580222425d1 introduced a new widget for products' descriptions on SO. This commit aims to fine-tune the behavior of discount description to better fit the new display.
The message action label was shortened from “Copy Message Link” to “Copy Link” in mail and live chat. This makes the interface cleaner and easier to scan without changing the underlying behavior.
Original PR description
Shorter is better. Part of Task-4260440 
The Italian electronic invoicing direct debit flow now identifies payments more accurately after a status change in Odoo. This prevents already paid transactions from being missed when determining the payment method, reducing errors in Italian payment reporting.
Original PR description
When computing the payment method, we searched for `in_process` but now we consider them `paid`, so we're just checking for `not draft` payments instead. Related PR: odoo/odoo#178235 Runbot link: https://runbot.odoo.com/web#id=76193&model=runbot.build.error&menu_id=405 runbot-76193
Quotation template users are now prevented from uploading unsupported file types in the quote builder. This avoids confusing upload failures and system errors when non-PDF files are selected.
Original PR description
Currently, an exception was generated when the user uploaded a non-pdf file in Quate Builder of quotation templates. error: `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte` This commit will fix the above issue by preventing uploading non-supported files that were uploaded by users. sentry-5962839786
This fix prevents the point of sale from failing when a product does not have an Indian HSN code set. Cashiers can add such products to orders normally, reducing interruptions during sales.
Original PR description
Before this commit, adding a product without the l10n_in_hsn_code field to an order would cause an error, as the system expected this field to be a string. opw-4254621 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where extra browser launch settings could be lost when fullscreen or kiosk mode was enabled. It helps hardware-connected browser sessions open with the intended options and restores fullscreen behavior in Firefox.
Original PR description
Before this PR, the `Browser` helper class used a `chromium_additional_args` variable to keep track of extra command line arguments. However, it's contents were overwritten by the `fullscreen()` and `enable_kiosk_mode()` functions, causing the additional arguments to be lost. This PR removes the variable and instead constructs the argument list when `open_browser` is called. It also fixes fullscreen mode in Firefox by restoring a keypress call that was removed in v18. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The To-Do form view now expands to use the available screen height, matching the experience users already have with task forms. This also fixes related resizing behavior for rich text fields when records are saved or changed with the pager, making editing more consistent.
Original PR description
Before this commit, the height of the form view does not really take the whole space available in the screen as it is the case in the form view of task. This commit makes sure the height of the form view in To-Do app takes the whole screen height as task form view.
Employees on flexible-hour schedules now get a single work entry when their attendance spans lunch. This prevents inflated or fragmented work records and keeps payroll-related time tracking aligned with actual attendance.
Original PR description
Steps --- * Create a flexible hours working schedule * Create a running contract for some employee that uses this schedule * `work_entry_source = 'attendance'` * Create an attendance overlapping lunch for the employee * (e.g 10:00 -> 20:00) * => 2 work entries are generated. But we want only one (10 - 20). * 10 - 12 * 13 - 20
Restaurant point of sale users can now print a bill for an order that has not yet been sent without triggering an error. The change prevents the system from trying to update an order in the backend before it has been fully created there, avoiding an interruption during service.
Original PR description
Steps to reproduce : -------------------------- - Install the pos_restaurant module. - Open session and add something to order. - Don't order them and try to print the bill. Issue : -------- - There will be a traceback as it was trying to update order at backend. Cause : --------- - The order is still draft and have string_id so we can't update it. Fix : ------ - Only update if order is created at backend and have integer id.
Exported journal reports in PDF format now include appropriate side margins. This prevents content from running to the edge of the page, making printed or shared reports easier to read and more professional.
Original PR description
Before this commit, when we export the journal report as a pdf, the side of the content were extended to the side of the page. This commit adds a css property to set margin to the content of the page. task-4260189
Manufacturing users can now post work-in-progress accounting entries even when a work order has been started but its time tracking has not yet been ended. This avoids a blocking error and helps keep manufacturing accounting actions usable during normal operations.
Original PR description
before this commit, if user tries to open/generate WIP entry for manufacturing without recording the end time in the time tracking inside the work order a traceback is shown to user * create a manufacturing order that generate work order * in the work orders generated, start a work order * now click on POST WIP accounting entry from action * traceback is shown after this commit, no traceback wont be shown in the above scenario
This fix updates checkout test flows so rental orders correctly reach the delivery step before confirmation. It helps ensure the online rental checkout experience is validated reliably and reduces the risk of unnoticed checkout issues.
Original PR description
…checkout _* = website_sale_renting, website_sale_stock_renting Added the 'tourUtils.confirmOrder(),' to fix the tour.