Tuesday, June 27, 2023
11 changes · master
Enhancements to existing features
Partner lookup for CRM leads now uses a more efficient location-based search method. This should make assigning nearby partners to leads faster, improving responsiveness for teams handling geographically routed opportunities.
Original PR description
Rework `search_geo_partner` to use a quadtree SP-GIST index to speedup partner lookup based on the leads coordinates. task-3269610 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now uses the standard display name field directly when searching and showing record names, reducing unnecessary database work. This improves performance and consistency across many apps, especially in screens with autocomplete or record selection.
Original PR description
To avoid one extra SQL request to read trivial display_name (== `_rec_name` by example), we use `_fetch_query`.
The recruitment app now makes applicant progress easier to follow with status-based Kanban indicators and a clearer first step for new applications. Recruiters also see the application date more prominently as “Applied On,” helping teams review and prioritize candidates faster.
Original PR description
- kanban view progressbar based on status - new first column 'New' with the welcome mail template - create date column renamed to 'applied on' and moved to front task 3346175
Canned responses now record when they were last used, making it easier for teams to identify outdated or unused reply templates. This helps live chat and messaging administrators keep response libraries relevant and easier to maintain.
Original PR description
This PR make add a last used date to the canned responses in order to know whether they are still usefull or not. part of task-3332872
Customers using restaurant self-ordering are now informed when their order is paid at the counter, so the order is no longer mistakenly editable on their phone. If they reopen the page later, the order status is refreshed to match the restaurant's records.
Original PR description
Previously, when an order was paid for at the restaurant counter, the self-orderer received no update that the order had been paid for. Now, if the customer self-order page is still open on their phone, it will receive a notification via websocket that the order has been paid for from the restaurant counter.The order will no longer be editable. In the event that they have already closed the self-order when paying at the counter, the next time they return to this page. An RPC request will be made with the access_token of the old order and the states will be aligned.
Belgian SODA payroll imports now include a guided step to match payroll provider accounts with the company’s Odoo accounts. The chosen matches are saved for future imports while still allowing adjustments each time, reducing manual work and import errors.
Original PR description
Currently we support the import of SODA files for Belgium. These are XML files containing journal entries related to payroll. The accounts defined in these files come from the payroll service provider (social secretariat) and might not be the same as the ones used in the user's accounting. To ease the import of these files, we add a wizard where the user can map the accounts from the SODA file to accounts in Odoo. We save this mapping for subsequent imports to ease the process for the user, while still allowing him to change the accounts on every import. [task-3090423](https://www.odoo.com/web#id=3090423&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form)
Recruitment interviewers now receive broader access within employee referrals after their role was moved into the recruitment group. This helps ensure interviewers can carry out referral-related recruitment work without unnecessary permission barriers.
Original PR description
The following commit is a consequence to moving recruitment interviewer from hidden group, to recruitment group. task - 3179332
Grid users can now keep editing faster with keyboard shortcuts: Enter moves editing to the cell below, Tab moves to the next cell, and Space works for day-style toggle cells. Pressing Escape now correctly cancels changes instead of saving them, reducing accidental entries.
Original PR description
## [IMP] web_grid: continue editing when hitting "enter" on grid cell Before this commit, when the user hits on "Enter" key when he has finished to edit a grid cell, the edition is finished, that is, it does not move into another cell, it just stops the edition. This commit allows the user to continue to edit when he hits on "Enter" key, that is, when the user hits on "Enter" key, the cell below the one edited will be in edit mode and once the user will be in the last row and hits "Enter" then the cell in the first and in the same column of the one edited will be in edit mode. ## [IMP] web_grid: discard edition on grid cell when hitting Escape Before this commit, when the user hits on `Escape` key, the value edited is saved instead of discarding the edition. This commit discards the edition when the user hits on `Escape` key task-2618994
Asset depreciation schedules now treat duration as the total expected asset duration, even when past depreciation entries are imported. This helps avoid incorrect depreciation calculations and improves prorata handling for assets that begin depreciating partway through a period.
Original PR description
The field Duration (method_number) was only considering the duration that odoo needed to compute while people would expect the total duration, which could cause problems when importing entries. Now, we subtract the number of imported entries to the method_number to compute depreciation_number, which corresponds to the number of depreciations in Odoo. This commit also changes the prorata_entry to compute from the prorata_data to first_depreciating_date, instead of the first day of the fiscal year (or the month in case of monthly depreciations). task-2779840
The recruitment referral workflow has been refined based on heavy real-world usage, particularly in India. Related referral tests were updated to help ensure the process remains reliable for users.
Original PR description
update referral tests see odoo/odoo#123293 task 3346175
Accounting report exports to Excel now show currency amounts as properly formatted currency instead of plain text. Dates in reports such as the partner ledger are also exported as real date values, making spreadsheets easier to read, sort, and analyze.
Original PR description
Before, the currency amounts in the accounting reports were exported as text without any currency symbol in xlsx. Now they are exported as currency. Before, some dates were not exported in the date format for xlsx (in partner ledger for example). After this commit, these dates should be well formated.