Daily updates from Odoo
Thursday, April 4, 2024
6 changes
1 change
Resolved issues and error corrections
This update fixes a warning message appearing when users share projects with tasks created using the 'blockby' feature. The issue stemmed from a technical error in how Odoo processed temporary project records, leading to incorrect data comparisons. This change ensures warnings are suppressed when sharing projects, improving user experience.
Original PR description
Steps: - Install project app. - Share a project which contains a task with blockby task. - Open that project in project sharing and keep login via admin. - Edit something in blockby page. Issue: - Warning displaying about other private project task blockby even though there are no task in blockby which from other project. Cause: - Computation on changing project task block by tree call compute of depend_on_count field but since record is just temparory save it get _origin instead of actual record and because of origin it fails to get actual id key data from dictonary. Fix: - Get id from origin if record is _origin record to properly get and set data. task-3764782
1 change
Resolved issues and error corrections
The Helpdesk ticket activity view now handles tickets without an assigned user more cleanly. This prevents a broken empty picture placeholder and gives users a smoother, more consistent ticket view.
Original PR description
issue: If you don't have a picture on the assign, display is broken Without the assign in the ticket, the empty image placeholder is not shown properly. I display the O2M widget rather than an empty image holder. A side effect of this commit- https://github.com/odoo/odoo/commit/13382398d2ebeb3df52fb67d9963c292372031d1 task-3706742
4 changes
Resolved issues and error corrections
This update fixes a display issue where the helpdesk ticket information was not showing up in the timesheet list views. Employees can now see which helpdesk ticket is associated with their timesheets in both the "My Timesheets" and "All Timesheets" views, making it easier to track time spent on specific support tickets.
Original PR description
Before this commit, the `helpdesk_ticket_id` field in `account.analytic.line` model was not defined in the list view used in `My Timesheets` menu. This commit updates the list view to correctly display the `helpdesk_ticket_id` field in `My Timesheets` and `All Timesheets`.
This update fixes a testing issue in the Sales Subscription module where certain tests were failing when the Website Sales module was installed. The fix ensures that all necessary data fields are properly synchronized during tests, preventing conflicts and improving test reliability.
Original PR description
Issue: ------ Some tests of `TestSaleReport` introduced with the fix [^1], do not pass if the module `website_sale` is installed. This is due to the fact that the sale order flush does not flush all the fields of the sale order line model that are used in the tests (`price_subtotal` for example). Solution: --------- Use `flush_all` to flush the `sale.order` and `sale.order.line` models. opw-3818584 [^1]: https://github.com/odoo/enterprise/commit/f886e65ce123f06ee8a5a2f149330864bcdb3254 Forward-Port-Of: odoo/enterprise#59915
This update resolves a timing issue in the barcode inventory testing process that was causing inconsistent test results. The fix ensures that the inventory adjustment test runs reliably without unexpected failures, improving the stability of the barcode scanning system's quality assurance.
Original PR description
This commit fixes a race condition in the following test tour: `test_inventory_adjustment_dont_update_location` Runbuild error: 60324 Forward-Port-Of: odoo/enterprise#59900
The password change modal had an incorrect purple background color that made it look different from other modals in Odoo. This fix removes the unwanted styling to make the modal consistent with the rest of the application's design.
Original PR description
This commit removes an unwanted `bg-primary` class applied to the change password modal, making it weird and unconsistent regarding others modals across Odoo. ### Steps to reproduce 1. Open a database 2. Click on your avatar in the top right corner 3. Click on `Preferences` 4. Go to `Account Security` 5. Click on `Change password` The modal has a `bg-primary` class, making it look purple. | saas-16.3 | saas-16.3-fix-unconsistent-modal-design-chgo | |--------|--------| | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/7abc9d80-1570-4364-adda-a505721bfb55"> | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/128f4729-6e02-4105-b16a-efadac8c2ea8"> | Forward-Port-Of: odoo/odoo#159774 Forward-Port-Of: odoo/odoo#155334