Daily updates from Odoo
Tuesday, May 14, 2024
20 changes
1 change
Miscellaneous changes
Allow pos users to have the "internal note" button available even in non-restaurant shops. Task-ID: 3878947 **Before:** Internal note button is only for restaurant. <img width="1800" alt="Screenshot 2024-04-22 at 15 56 44" src="https://github.com/odoo/odoo/assets/3245568/b923a1f5-e7fe-4a8a-b624-c0c31135c4fb"> **After:** <img width="1800" alt="Screenshot 2024-04-22 at 15 55 28" src="https://github.com/odoo/odoo/assets/3245568/fc82f296-7598-46b7-bbe0-0eb199872515"> Forward-Port-Of:
Original PR description
Allow pos users to have the "internal note" button available even in non-restaurant shops. Task-ID: 3878947 **Before:** Internal note button is only for restaurant. <img width="1800" alt="Screenshot 2024-04-22 at 15 56 44" src="https://github.com/odoo/odoo/assets/3245568/b923a1f5-e7fe-4a8a-b624-c0c31135c4fb"> **After:** <img width="1800" alt="Screenshot 2024-04-22 at 15 55 28" src="https://github.com/odoo/odoo/assets/3245568/fc82f296-7598-46b7-bbe0-0eb199872515"> Forward-Port-Of: odoo/odoo#163355 Forward-Port-Of: odoo/odoo#162863
17 changes
Enhancements to existing features
Approval product selection now defaults to items that can be purchased instead of items that can be sold. This better matches how most approval requests use products, making it faster for users to find the relevant purchase-related items.
Original PR description
Before this commit the default filter on the product form of approval was 'Can be Sold'. But in approvals, majority users uses purchase related products. This commit adds the default filter of 'Can be Purchased' on the products and products variants form of approval. Same default filter is also applied on more product list for selecting products for approval request. task-3633895
The rental eCommerce module was adjusted to stay aligned with recent changes in the main website and sales platform. This helps keep rental product snippets and related website content working consistently after the broader platform update.
Original PR description
See also odoo/odoo#154632
The website sales dashboard tests were updated to match a related change where the old sales onboarding flow was removed and replaced. This keeps validation aligned with the current experience and helps prevent false test failures during future releases.
Original PR description
This PR include the following changes: - Remove the configuration bar. task-3645924 COM PR: odoo/odoo#152270 ENT PR: odoo/enterprise#61325 UPG PR: odoo/upgrade#5644 DOC PR: odoo/documentation#8391
Payroll now avoids sending an extra profile-update notification to the HR responsible person when employee self-editing is enabled. This keeps notifications cleaner by ensuring the same person receives only one relevant message.
Original PR description
While employee editing is allowed through the settings, HR responsible will receive a notification when an employee updates his/her profile information In this commit, When HR responsible is present in the users to notify while employee editing It won't send this other notification to the HR responsible This way only one notification will be sent to the users task-3642351
Features or functions removed from Odoo
Unneeded access rules in the Approvals app were removed because the same permissions are already handled by an existing rule. This reduces duplication and helps keep access management easier to maintain without changing normal user workflows.
Original PR description
This will remove unnecessary access rules as they are already covered by another rule. Task: 3786622
The point-of-sale IoT customer display code was cleaned up after the customer display was moved into its own dedicated app. This reduces duplicated functionality and helps keep the point-of-sale IoT module easier to maintain without changing the intended customer experience.
Original PR description
In the corresponding community commit we refactor the customer display into it's own module. In this commit we remove the code that is no longer needed, because it is replaced by said customer display module
Miscellaneous changes
Check Report Summary line columns were not aligned correctly, fixing it to have partner_name at the beginning, date at the middle, and check sequence number at the end of the line. task id: 3708433 Forward-Port-Of: odoo/enterprise#61149
Original PR description
Check Report Summary line columns were not aligned correctly, fixing it to have partner_name at the beginning, date at the middle, and check sequence number at the end of the line. task id: 3708433 Forward-Port-Of: odoo/enterprise#61149
Currently, when a warning is displayed on the progress bar, the hours overlap with the name of the line. This PR will fix it by adding the class 'bg-view' to the span. task-3888502 Forward-Port-Of: odoo/enterprise#61365
Original PR description
Currently, when a warning is displayed on the progress bar, the hours overlap with the name of the line. This PR will fix it by adding the class 'bg-view' to the span. task-3888502 Forward-Port-Of: odoo/enterprise#61365
In this commit [1], we changed the way we display intrastat report lines by grouping them. We did it for all the intrastat report, it was wrong. Actually, we should only do it for the belgian report. The aim of this commit is adding a key in options to know if lines should be grouped or not. By default the option is set to False except for the Belgian report. Since version 16.4, users can change the value by using the filter. task-3892823 [1]: https://github.com/odoo/enterprise/commit/217
Original PR description
In this commit [1], we changed the way we display intrastat report lines by grouping them. We did it for all the intrastat report, it was wrong. Actually, we should only do it for the belgian report. The aim of this commit is adding a key in options to know if lines should be grouped or not. By default the option is set to False except for the Belgian report. Since version 16.4, users can change the value by using the filter. task-3892823 [1]: https://github.com/odoo/enterprise/commit/217594fe8ba00329b3eb5c68e3eca3b556127cde Forward-Port-Of: odoo/enterprise#61783 Forward-Port-Of: odoo/enterprise#61455
The `use_create_components_lots` option of manufacturing picking type was never read as the context to get the active production order was not always specified. Forward-Port-Of: odoo/enterprise#61267 Forward-Port-Of: odoo/enterprise#61137
Original PR description
The `use_create_components_lots` option of manufacturing picking type was never read as the context to get the active production order was not always specified. Forward-Port-Of: odoo/enterprise#61267 Forward-Port-Of: odoo/enterprise#61137
This will add the previous year occupation to the double holiday computation. Task: 3893810 Forward-Port-Of: odoo/enterprise#61862
Original PR description
This will add the previous year occupation to the double holiday computation. Task: 3893810 Forward-Port-Of: odoo/enterprise#61862
As packages amount on customer locations side could be huge, don't retrieve those packages as they are not needed. @svs-odoo @Aurelienvd Forward-Port-Of: odoo/enterprise#59473
Original PR description
As packages amount on customer locations side could be huge, don't retrieve those packages as they are not needed. @svs-odoo @Aurelienvd Forward-Port-Of: odoo/enterprise#59473
part of task-3818666 Forward-Port-Of: odoo/enterprise#62350
Original PR description
part of task-3818666 Forward-Port-Of: odoo/enterprise#62350
Before this commit, when having opposite tax grid the domain of the journal_report_tax_tag_template_open_aml function was wrong. In case of opposite tax grid we should have put a list of tax_grid in the tag_id key which wasn't the case. It was only taking the last one since it was overridden in the next iteration of the loop. task-3869482 Forward-Port-Of: odoo/enterprise#62340 Forward-Port-Of: odoo/enterprise#61302
Original PR description
Before this commit, when having opposite tax grid the domain of the journal_report_tax_tag_template_open_aml function was wrong. In case of opposite tax grid we should have put a list of tax_grid in the tag_id key which wasn't the case. It was only taking the last one since it was overridden in the next iteration of the loop. task-3869482 Forward-Port-Of: odoo/enterprise#62340 Forward-Port-Of: odoo/enterprise#61302
Ensuring TZ allows to avoid issues in no-demo mode, notably when a timezone is required in sub records, like appointment types. Runbot-60487 Forward-Port-Of: odoo/enterprise#62061
Original PR description
Ensuring TZ allows to avoid issues in no-demo mode, notably when a timezone is required in sub records, like appointment types. Runbot-60487 Forward-Port-Of: odoo/enterprise#62061
Issue: --------- When a user lacks access to employee and setting permissions, the resource image does not appear. Fix: -------- We used the `hr.employee.public` model instead of `hr.employee` because everyone can access this one. Steps: --------- - Install the planning app - Create a user with planning user access, without employee and setting access - Create a Test employee(Test) - Create a shift and assign it to Test - Log in as the planning user
Original PR description
Issue: --------- When a user lacks access to employee and setting permissions, the resource image does not appear. Fix: -------- We used the `hr.employee.public` model instead of `hr.employee` because everyone can access this one. Steps: --------- - Install the planning app - Create a user with planning user access, without employee and setting access - Create a Test employee(Test) - Create a shift and assign it to Test - Log in as the planning user - Open planning and group by department Forward-Port-Of: odoo/enterprise#62251
[IMP] account_online_synchronization: populate swift/bic in journals Swift_code/BIC is already being returned by bank connection with odoofin accounts api We already populate the rest of the journals' details. So, We populate the swift/bic and link it with the journals Reason: Improve the user-experience Task-3891695 odoofin-pr: https://github.com/odoo/odoofin/pull/273 Forward-Port-Of: odoo/enterprise#61639
Original PR description
[IMP] account_online_synchronization: populate swift/bic in journals Swift_code/BIC is already being returned by bank connection with odoofin accounts api We already populate the rest of the journals' details. So, We populate the swift/bic and link it with the journals Reason: Improve the user-experience Task-3891695 odoofin-pr: https://github.com/odoo/odoofin/pull/273 Forward-Port-Of: odoo/enterprise#61639
2 changes
Resolved issues and error corrections
The quality control wizard was displaying "- False" instead of the serial number in its title when no lot name was available. This fix corrects the display logic so users see the appropriate serial number information in the wizard title, improving clarity during quality checks.
Original PR description
Quality check wizard shows '- False' instead of Serial number in title if no lot_name opw-3839794
This update removes a duplicate dialog size configuration in the Project module that was unnecessarily repeated in the code. By cleaning up this redundancy, the system becomes more efficient and easier to maintain without affecting how the application functions.
Original PR description
-Remove duplicate dialog_size 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