Friday, June 23, 2023
18 changes · master
Enhancements to existing features
Project tasks now give more priority to the manual sequence set by drag and drop. This makes reordered task lists behave more predictably, helping teams keep work in the intended order.
Original PR description
This PR increases the priority of the sequence in the ordering of tasks so that reordering by drag & dropping is more useful. Task-3371921
Landed cost records are now sorted by recorded date with the newest entries shown first. This makes recent cost updates easier to find and review without scrolling to the bottom of the list.
Original PR description
before this commit, when creating new record in landed cost, the newly added record is coming in the last position in the tree view. after this commit, the records shown in the tree view will be sorted based on the desc order of recorded date in the landed cost. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Developers can now create inherited views without repeating the model name when it is the same as the original view. This reduces boilerplate in customizations and lowers the chance of small configuration mistakes, with no expected change for end users.
Original PR description
It slightly decreases the amount of needed boilerplate code when creating inheriting views, by simply assuming the model is the same as the inherited one.
For example,
```xml
<!-- The commented line is no longer required -->
<record id="view_partner_form" model="ir.ui.view">
<!-- <field name="model">res.partner</field> -->
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<field name="name" position="after">
<field name="id" />
</field>
</field>
</record>
```
NOTE: A similar technique is already used to guess the view type. In the same spirit, it's extended to also guess the model.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe Point of Sale printer settings now show product categories as easy-to-read tags. This makes category selection clearer for users configuring printer rules.
Original PR description
before this commit, in pos.printer model the product_categories_ids is displayed without many2many_tags widget. after this commit, for product_categories_ids field many2many_tags widget is added Before:  After:  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The bank reconciliation form is being updated to use a newer interface component framework, making it easier to maintain and extend. Supporting web interface hooks and automated flow tests were adjusted to keep the user journey working smoothly after the change.
Original PR description
Add hooks to convert the form as a brand new owl component. task: 3193121 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Survey invite links now show a clear access error when opened by someone logged in with different credentials than the invited user. This avoids confusing redirects to the home page and helps users understand why they cannot complete a survey.
Original PR description
Current behavior before PR: once users got an invitation to fill out any survey and if they log in with another credential than the shared credentials, they will be redirected to the home page instead of a survey. Desired behavior after PR is merged: if the user tries to fill out the survey with another credential, an error will be raised that the user doesn't have access Task-2960271
Returns are now handled more consistently across deliveries, receipts, purchases, barcode workflows, and the customer portal. This makes return processing easier for staff and gives customers better visibility, including access to return labels.
Original PR description
Improve the returns process by adding the following improvements: - Removal of the 'return' operations type. Returns of deliveries now become receipts. - Update of the `stock_picking_return` wizard by removing the onchange on picking_id. - Add ability to create returns in barcode - Show returns in the sale portal, with a new 'return label' PDF report - Enable returns for multi-step receipts on purchases Enterprise PR: https://github.com/odoo/enterprise/pull/39761 Task: 3081370 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Users now see an immediate empty screen and control panel while switching between menus or apps, instead of waiting on the previous screen. This improves perceived responsiveness, especially on mobile devices where loading delays are more noticeable.
Original PR description
…ing app The goal is to provide a better feedback to the user, especially in mobile mode. This option is currently only used by the home menu (in enterprise) Task 2900847 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
Newly created employees and resources now display an avatar based on their initials instead of a generic grey placeholder. This makes employee selection fields easier to scan and gives records a more polished appearance from the moment they are created.
Original PR description
Before this commit, when the user creates new resource and employee on the fly in many2one field, the default avatar of Initial name should be set instead of placeholder (grey icon). The reason why a grey icon is displayed is because the `_compute_avatar` for employee set that icon when avatar or image is not found. This commit add default avatar of initial name when new resource and employee is created. task-3251689
Manufacturing orders, bills of materials, and workcenters now use analytic distributions instead of a single legacy analytic account. This lets material, workcenter, and employee costs be allocated more flexibly across cost centers or projects, improving financial visibility for manufacturing operations.
Original PR description
The (legacy) analytic account field on MOs, BOMs and workcenters has been replaced by the new "analytic distribution" field. The analytic line items are now created based on this distribution for the raw materials, workcenter costs and employee costs. A new analytic applicability (=domain) has been added for manufacturing orders as well. Community PR: https://github.com/odoo/odoo/pull/116477 Enterprise PR: https://github.com/odoo/enterprise/pull/38690 Task: 3196563 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing now uses analytic distributions instead of the older single analytic account field on manufacturing orders, bills of materials, and work centers. This allows raw material, work center, and employee costs to be allocated more flexibly and reported more accurately across business dimensions.
Original PR description
The (legacy) analytic account field on MOs, BOMs and workcenters has been replaced by the new "analytic distribution" field. The analytic line items are now created based on this distribution for the raw materials, workcenter costs and employee costs. A new analytic applicability (=domain) has been added for manufacturing orders as well. Community PR: https://github.com/odoo/odoo/pull/116477 Enterprise PR: https://github.com/odoo/enterprise/pull/38690 Task: 3196563
Warehouse users can now create a return directly from an existing picking in the barcode app. This streamlines return handling by opening the new return picking immediately with the same default settings that would be used in the standard backend return flow.
Original PR description
Improve the returns process by adding the option to create a return from a picking in the barcode app. The flow is as follows: - Scan or open the original picking - Pressing the new button 'create return' A return picking is now created from the original picking and is immediately opened in the barcode app. **NOTE**: In the barcode app, the return picking is created immediately upon pressing the button. The moves and location are set to the defaults that would appear in the return wizard in the backend. Community PR: https://github.com/odoo/odoo/pull/118568 Task: 3081370
This update aligns Enterprise tests with a community change that shows quick visual feedback when users switch menus before the full screen loads. It helps keep automated checks reliable while supporting a smoother perceived navigation experience.
Original PR description
The PR https://github.com/odoo/odoo/pull/124068/files changes the action and menu services so that each menu item changes will (almost) immediately displays an empty screen, to provide some quick feedback to the user, before showing the actual action, once it is loaded. As a result, a few tests have to be adapter, since the actual action is displayed a tick later in tests.
Planning screens now make it easier to add and review planning entries. Users can add new rows at the bottom of lists, see clearer form guidance, and view totals for allocated and effective hours directly in list views.
Original PR description
This commit improves the UI of gantt, form and list views by doing: - add placeholder in form view. - add editable bottom to be able add new record in the bottom of the list view instead of top. - aggregates of allocated time, allocated time %, effective hours field so that users can see the total of those fields in the list view. task-3251689
The Planning app experience has been streamlined with clearer labels, better filters, improved shift handling, and scheduling defaults based on company working hours. These changes help planners and employees navigate schedules more easily and reduce conflicts when recurring or copied shifts overlap.
Original PR description
`_* = project_forecast,project_timesheet_forecast,sale_planning` Purpose of this PR is to improve the generic UX of planning app. So, in this PR: - remove the pivot and graph view from my planning menu. - rename assign to me button. - add a placeholder for planning role fields. - show I am unavailable button in only my planning menu. - remove the hyphen from SOL from the planning front end. - add a filter in a planning role. - display list scale dates in white. - rename filters in planning and report. - set the start and end hours based on the working calendar of the company. - make shifts open when shifts are in conflict after copying previous week. - add default role field in the material resource. - transform the specific recurring shift into an open shift if the resource already has a shift planned on the day of the recurrence. task-2977137
The bank reconciliation form has been rebuilt to improve responsiveness and reduce slowdowns during day-to-day accounting work. This should make reviewing and matching bank transactions smoother for users, especially when handling complex reconciliation data.
Helpdesk customer emails for ticket receipt and closure were updated with clearer wording and a more polished tone. These emails will also be automatically deleted after sending, reducing unnecessary database storage while keeping customers informed.
Original PR description
Purpose: make the 'ticket closed' email template sexier - change the 'helpdesk: ticket closed' email template as follows: - Subject: Ticket Closed - Reference 15 - Dear [Customer Name], - We would…
Purpose: make the 'ticket closed' email template sexier - change the 'helpdesk: ticket closed' email template as follows: - Subject: Ticket Closed - Reference 15 - Dear [Customer Name], - We would like to inform you that we have closed your ticket (reference 15). We trust that the services provided have met your expectations and that you have found a satisfactory resolution to your issue. - However, if you have any further questions or comments, please do not hesitate to reply to this email to re-open your ticket. Our team is always here to help you and we will be happy to assist you with any further concerns you may have. - Thank you for choosing our services and for your cooperation throughout this process. We truly value your business and appreciate the opportunity to serve you. - Kind regards, - [Name] Helpdesk Team. - don't forget to add linebreaks to make the message breathable - https://nimb.ws/ShGmkL 'helpdesk: request acknowledgment' email template: change the name to: 'helpdesk: ticket received' - change the template description to: "Send customers a confirmation email to notify them that their helpdesk ticket has been received and is currently being reviewed by the helpdesk team. Automatically send an email to customers when a ticket reaches a specific stage in a helpdesk team by setting this template on that stage." Purpose: these emails are not worth taking storage space in the database, especially since there might be a lot of them + be consistent with the other email templates that are almost all in auto_delete - set auto_delete to true on the following email templates: helpdesk: request acknowledgment + helpdesk: ticket closed Task-3251713 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Projects can now enable the Documents feature without manually selecting a folder first; the system creates one automatically when needed. Demo data for document-related projects was also cleaned up to reuse existing task stages, making sample environments more consistent.
Original PR description
This PR brings two minor improvements to the Project/Documents bridges: - In order to make enabling the "Documents" feature on existing projects easier, make folder field non required in all cases, and generate a new folder if the field is left empty while the feature is enabled. - Make the demo data a bit cleaner by using the existing task stages from other demo projects for the generated documents demo project. Task-3251627