Monday, August 26, 2024
13 changes · master
Enhancements to existing features
Users can now tailor each social post's message and images for every selected social media channel, with separate tabs and previews for each one. This makes campaigns more effective by adapting content to each platform, and Instagram posting reliability is improved with longer API timeouts.
Original PR description
Purpose ======= Allow to customize the content of the social post (the message and the images), based on the media on which we are posting. Specification ============= Allow to split the configuration for all selected medias, each selected medias have one tab in which we can change the message or the images and see the preview. Task-3109395
Accounting access groups now have clearer names and helper text, making it easier for users to understand permission choices. The basic accounting group is also hidden when the accountant app is uninstalled, reducing confusion in settings.
Original PR description
Improve the name and tooltips of accounting security groups to improve the UX for users. At the same time, we hide the `basic` group on un-installation of account_accountant. Task-4128182 community: https://github.com/odoo/odoo/pull/177368
Recruitment now separates long-term candidate profiles from individual job applications. This helps teams keep a single, reusable candidate record with contact details, skills, salary expectations, and application history while tracking each job application separately.
Original PR description
[IMP] hr_recruitment: Introduce hr.candidate model Purpose ======= Based on this task https://www.odoo.com/odoo/9285/tasks/4037988/9285/project.task/4050307?debug=1&cids=1 and many feedbacks we got…
[IMP] hr_recruitment: Introduce hr.candidate model Purpose ======= Based on this task https://www.odoo.com/odoo/9285/tasks/4037988/9285/project.task/4050307?debug=1&cids=1 and many feedbacks we got before (leading partially to Headhunter industry), we realize that if we want to cover the whole market of ATS we need a strong solution. Specification ============= We split hr.applicant between candidates and applications A candidate is created outside of a job position, it contains all data that will never change (skills, name, contact info, expected salary), it gathers history (applied job positions, states, ...) An application is the link between an candidate and a Job Position, it contains all related data (source, medium, proposed salary, evaluation, ...) and it got a state (first interview, contract proposed, refused) In a Job position, you would see distinct applicants, but through the hr.applications model. This mechanism is similar to a vehicle which is the link between a Model and a Driver. The list view "all applications" would list "All Applicants" and each Applicant would have a smartbutton "Applications" Details: https://link.excalidraw.com/l/65VNwvy7c4X/5SjjwEHMIPG TaskID: 4050442
Clicking a statement total in bank reconciliation now opens a cleaner statement form experience instead of showing elements that do not fit well in the popup. This makes the reconciliation workflow look more polished and easier to use after recent form view changes.
Original PR description
Before, in the bank reconciliation widget, when clicking on the statement total, the form view of the statement was opened in a popup. This doesn't look good anymore after 120a546295b9e99b2bd50736003506311419562e as that commit adds the chatter and the attachment previewer to the form view. The popup now can be replaced with opening the form view directly instead of in a popup. No task.
Product catalog and document cards have been simplified to use newer layout standards, making the screens easier to maintain and more consistent. Users should see the same core information with a cleaner, more reliable presentation across field service sales, stock-related tours, and PLM document views.
Original PR description
In this commit we have simplified the kanban arch for the product and their related view modules. the goal is to simplify them,make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name="..." widget="image"/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color="color_field_name" on root node - oe_kanban_colorpicker is deprecated, use kanban_color_picker widget instead Task-3992107
The helpdesk timesheet and timesheet grid kanban views were updated to use newer, cleaner layout components. This makes the views easier to maintain and keeps them aligned with current Odoo interface standards, with minimal direct business impact.
Original PR description
In this commit we have simplified the kanban arch for the helpdesk_timesheet and timesheet_grid module.the goal is to simplify them, make them easier to read and use bootstrap utility classnames. - Previously, we used kanban-box, but now we are using kanban-card instead. - Deprecated oe_kanban_global_click and oe_kanban_global_click_edit. - More use of <field/> tags - Removed the oe_kanban_colorpicker class and replaced it with the kanban_color_picker widget. - Changed type='edit' to type='open' to open records. since version 16, records always open in edit mode by default. - kanban_image from rendering context, is deprecated so we use <field name="..." widget="image"/> instead - kanban_color, kanban_getcolor and kanban_getcolorname are deprecated use new attribute highlight_color="color_field_name" on root node - oe_kanban_colorpicker is deprecated, use kanban_color_picker widget instead Task-3992107
Mexican e-commerce customers can now select the required payment way during checkout. This helps ensure electronic invoices contain mandatory information, reducing the need to cancel and reissue invoices later.
Original PR description
This commit adds the field `l10n_mx_edi_payment_method_id` to the website checkout, so that the customer can choose the correct option to be saved into the sale order and to fill the attribute in the XML. Purpose: In Mexican electronic invoicing, some fields are mandatory for signing an invoice. Now, on e-commerce, one field is missing to avoid requests to cancel invoices due to lack of information. This missing field is "Payment way" (l10n_mx_edi_payment_method_id). This commit also restructures the placement of `t-if`/`div`s so that they appear in the right places and not generate empty divs. task-id: 4064069
This update standardizes how website pages are identified across related apps, including appointments and helpdesk. It helps keep website behavior consistent and easier to maintain without introducing major visible changes for users.
Original PR description
to squash
Resolved issues and error corrections
The spreadsheet version history side panel now uses the correct padding, making the panel look cleaner and easier to read. This minor visual fix improves consistency in the spreadsheet editing experience without changing functionality.
Original PR description
Task: [4131488](https://www.odoo.com/web#id=4131488&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Miscellaneous changes
When the user was connecting an IoT to the database there was no notification or any information to tell him that he succeded / failed / had to wait to see it in the "connected" list. We now display those notifications. Task: 4104811 Forward-Port-Of: odoo/enterprise#68394
Original PR description
When the user was connecting an IoT to the database there was no notification or any information to tell him that he succeded / failed / had to wait to see it in the "connected" list. We now display those notifications. Task: 4104811 Forward-Port-Of: odoo/enterprise#68394
Fixed an issue that could prevent the IoT device page from working after a shared system update removed a library it depended on. The page now loads the needed component so device monitoring and related updates continue to work normally.
Original PR description
As a result of community PR #174213, jQuery has been removed from the backend JS bundle. The IoT device page relied on jQuery for longpolling requests. This PR simply adds a call to ensure jQuery is loaded. PR that caused the bug: https://github.com/odoo/odoo/pull/174213
The Studio kanban editor now displays cards and grouped columns at the same scale and layout as the regular kanban view. This makes editing more consistent and restores expected controls such as adding columns and loading more records where appropriate.
Original PR description
This commit fixes the scale of the kanban editor, which was increased compared to the size of the standard kanban view. This was made in an attempt to ease the edition inside of the card, but has become unecessary, since hooks displayed when dragging an item have already an increased padding to make the drop target larger. The paddings of the hooks have been adapted for this purpose instead. task-4075367
round() on the fractional part of shift_template.end_time/start_time can lead to problems when the result is very close to 1.0 (e.g., anything greater than 0.994). Specifically, round() can cause the fractional part to round up to 1.0 (so 60 minutes), which is not wanted. We can either set it to 59 as done here, or 0 and add 1 hour to the hours. Forward-Port-Of: odoo/enterprise#68756
Original PR description
round() on the fractional part of shift_template.end_time/start_time can lead to problems when the result is very close to 1.0 (e.g., anything greater than 0.994). Specifically, round() can cause the fractional part to round up to 1.0 (so 60 minutes), which is not wanted. We can either set it to 59 as done here, or 0 and add 1 hour to the hours. Forward-Port-Of: odoo/enterprise#68756