Friday, December 29, 2023
3 changes · 17.0
Resolved issues and error corrections
Browsing the Industries section in Apps no longer creates unnecessary warning messages in the system logs. This keeps monitoring cleaner and helps administrators focus on issues that require attention.
Original PR description
An ormcache has been added to a method that takes lists as parameters but lists are not hashable. **steps to reproduce:** - go to apps and click on on 'Industries' **before this commit:** - a warning…
An ormcache has been added to a method that takes lists as parameters but lists are not hashable.
**steps to reproduce:**
- go to apps and click on on 'Industries'
**before this commit:**
- a warning is raised in the logs:
```
WARNING industry odoo.tools.cache: cache lookup error on ('ir.module.module', <function IrModule._get_modules_from_apps at 0x7f99e842fc70>, ['icon', 'icon_flag', 'to_buy', 'name', 'state', 'summary', 'website', 'application', 'module_type', 'shortdesc'], 'industries', False, ['&', '!', ['name', '=like', 'theme_%'], '&', ['application', '=', True], ['module_type', '=', 'industries']], 80, 0) Traceback (most recent call last):
File "/home/nda/dev/odoo/17.0/odoo/odoo/tools/cache.py", line 99, in lookup
r = d[key]
File "<decorator-gen-5>", line 2, in __getitem__
File "/home/nda/dev/odoo/17.0/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/nda/dev/odoo/17.0/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
TypeError: unhashable type: 'list'
```
**after this commit:**
- ormcache is properly used
opw-3660052
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prRecruitment job cards now show long job titles by wrapping the text instead of letting it spill outside the card. This improves readability for recruiters and keeps the job overview clean, especially when titles are unusually long.
Original PR description
The text overflow was causing the job title to overflow the kanban card and could create readability problems. This commit removes the text overflow and thus permit the job title to be displayed in full. task-3598895 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Deleting a stage from the Helpdesk ticket board now works without causing an error. This prevents interruptions for support teams managing their ticket workflow.
Original PR description
Steps to Reproduce: - Navigate to the helpdesk.ticket kanban view. - Attempt to delete a stage. Issue: - An AttributeError is encountered during the execution of the action_unlink_wizard method Cause: - The traceback error is caused by an attempt to invoke the action_unlink_wizard method on the helpdesk.ticket model. However, it appears that the action_unlink_wizard method is not defined or available for the helpdesk.ticket model.it is in helpdesk.stage model. Solution: - resModel is specified to helpdesk.ticket model and we have delete from helpdesk.stage which is a relation with helpdesk.ticket model.that's why group.groupByField.relation and group.value is the correct parameter. task-3631310