Friday, February 2, 2024
10 changes · master
Enhancements to existing features
This update aligns enterprise tests with a related community change for project sharing and validated timesheet invoicing. It helps ensure invoicing behavior remains reliable when customers interact with shared projects.
Original PR description
This commit's purpose is to update the test test_project_sharing_with_validated_timesheet_invoicing by taking into account the change made in the corresponding community PR. community pr: https://github.com/odoo/odoo/pull/134492 task - 3186700
Event communication templates for social posts and WhatsApp messages now show distinct symbols, making them easier to identify when configuring event messaging. The underlying notification setup was also cleaned up to align with related platform changes, improving consistency across event communication channels.
Copied documents are now automatically given an updated name, making it easier for users to distinguish originals from duplicates. This reduces confusion when managing document libraries and working with copied files, including spreadsheets.
Original PR description
This PR introduces an automated naming mechanism for creating copies of a document. TaskID: [3515793](https://www.odoo.com/web#id=3515793&cids=2&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Resolved issues and error corrections
The Field Service Task Analysis report no longer shows the duplicate “Average Rating” option in the Measures menu. This keeps rating reporting clearer by leaving the intended “Rating (/5)” measure available without confusing users with two similar choices.
Original PR description
Steps: - Install Field Service and Project module - Open the Project's Configuration - Click on the Customer Rating checkbox - Now, go to the Field Service's Task Analysis - Click on Measures dropdown Issue: - Within the Measures button both 'Average Rating' and 'Rating (/5)' is represeting rating values . Therefore, We don't need 'Average Rating' in 'Measures' dropdown menu. Cause: - There is no any field to hide the 'Average Rating' field from the 'Measures'. Fix: - Hided the 'Average Rating' field from 'Measures' dropdown menu. Task-3513873
Miscellaneous changes
Steps to reproduce: [account_accountant, sale_subscription] - create two quotations/subscriptions (sales) yearly: one with an analytic account, one without - confirm - create invoice - confirm - Go on Deferred Revenue - Filter Analytic with the one used in your quotation Issue: The analytic filter does not work Solution: We want to make sure to use `_query_get` to be consistent with other report generation and to make the retrieval of lines more easily maintainable opw-3603096 F
Original PR description
Steps to reproduce: [account_accountant, sale_subscription] - create two quotations/subscriptions (sales) yearly: one with an analytic account, one without - confirm - create invoice - confirm - Go on Deferred Revenue - Filter Analytic with the one used in your quotation Issue: The analytic filter does not work Solution: We want to make sure to use `_query_get` to be consistent with other report generation and to make the retrieval of lines more easily maintainable opw-3603096 Forward-Port-Of: odoo/enterprise#55462 Forward-Port-Of: odoo/enterprise#52622
When the home menu was modified to use the command palette on 2a518bc6, some ARIA attributes were lost that are still required. Such attributes are intended to indicate what is the focused app when no search is performed, i.e. the command palette has not been opened yet. Forward-Port-Of: odoo/enterprise#52570
Original PR description
When the home menu was modified to use the command palette on 2a518bc6, some ARIA attributes were lost that are still required. Such attributes are intended to indicate what is the focused app when no search is performed, i.e. the command palette has not been opened yet. Forward-Port-Of: odoo/enterprise#52570
Added new module l10n_in_reports_gstr_documents_spreadsheet it allows us to generate a spreadsheet report for gstr1 before sending the json to the portal task-3293298 Forward-Port-Of: odoo/enterprise#55467 Forward-Port-Of: odoo/enterprise#40589
Original PR description
Added new module l10n_in_reports_gstr_documents_spreadsheet it allows us to generate a spreadsheet report for gstr1 before sending the json to the portal task-3293298 Forward-Port-Of: odoo/enterprise#55467 Forward-Port-Of: odoo/enterprise#40589
Follow up to 8c4445fc63dc01ea0cf359066e3cd21fbac23a7b. The field that was changed in that commit is computed, which is means it's readonly by default. opw-3635484 Forward-Port-Of: odoo/enterprise#55500
Original PR description
Follow up to 8c4445fc63dc01ea0cf359066e3cd21fbac23a7b. The field that was changed in that commit is computed, which is means it's readonly by default. opw-3635484 Forward-Port-Of: odoo/enterprise#55500
When a user only has access to a branch of a company, there is a lot of places where AccessError pops up because of how the domain was previously set on them. This commit aims to be a part of frequent small PR in the future to fix these problems. This also includes small style improvement for report's dropdown button for Journal filter, to make it clear that company name is not clickable These PRs fixes: - Unaccessible parent company's fields (now accessible) in - Sales/Purchase O
Original PR description
When a user only has access to a branch of a company, there is a lot of places where AccessError pops up because of how the domain was previously set on them. This commit aims to be a part of…
When a user only has access to a branch of a company, there is a lot of places where AccessError pops up because of how the domain was previously set on them. This commit aims to be a part of frequent small PR in the future to fix these problems. This also includes small style improvement for report's dropdown button for Journal filter, to make it clear that company name is not clickable These PRs fixes: - Unaccessible parent company's fields (now accessible) in - Sales/Purchase Orders/Quotation form: product variant, product (product_template), and tax - Account Move (invoice/bill/etc) line, when filling product - Access Error as user with only access to branch when: - opening Accounting reports (BS / PL) - opening PoS dashboard - trying to add product when creating new invoice - Improves Journal access rules. Instead of making all parent's journal public, base the user access on: (explicitly granted access from user allowed companies) or (all self&parent's journal AND journal type is not Bank/Cash) - Improves styling on report's Journal dropdown button's style (in enterprise PR) community-PR: https://github.com/odoo/odoo/pull/140078 enterprise-PR: https://github.com/odoo/enterprise/pull/49820 [task-id: 3551305](https://www.odoo.com/web#id=3551305&cids=1&menu_id=4720&action=333&active_id=967&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#55484 Forward-Port-Of: odoo/enterprise#49820
This commit fixes some issues that prevented the user from generating a return label in UPS REST module. To reproduce: Create a new shipping method with UPS. Enable "generate return label" toggle, and attempt to validate a delivery. There are a few issues as `ups_rest_get_return_label` was not adapted when forward porting from 15 to 16: + `_prepare_shipping_data` is changed, so it does not return `package_names` + `label_binary_data` from `_send_shipping` is changed from a dictionary
Original PR description
This commit fixes some issues that prevented the user from generating a return label in UPS REST module. To reproduce: Create a new shipping method with UPS. Enable "generate return label" toggle, and attempt to validate a delivery. There are a few issues as `ups_rest_get_return_label` was not adapted when forward porting from 15 to 16: + `_prepare_shipping_data` is changed, so it does not return `package_names` + `label_binary_data` from `_send_shipping` is changed from a dictionary to a list + as `package_names` no longer is there, the log message needs to be adapted. This PR fixes these issues, so that the return label could be generated. opw-3689861 Forward-Port-Of: odoo/enterprise#55328