Thursday, April 13, 2023
2 changes
Resolved issues and error corrections
The payroll calendar display has been reverted to its previous behavior because the earlier change caused more problems than it solved. This helps avoid confusion or incorrect calendar options when managing payroll structures.
Original PR description
This reverts commit 21e487fcfd62a8e71ccd1884ad571e04fc8fcc53 introduced in #37334. This change was bringing more issues than it was trying to solve. task-3254874 odoo/odoo#117663
This change fixes a small issue that could affect the emoji picker when replying to social stream comments. It ensures the picker receives the correct page element, improving reliability without changing the user workflow.
Original PR description
`useRef()` hook should only be used in `setup()` of component. The `add()` function of emoji picker can be used anywhere. This commit fixes the issue by limiting use of `add()` to pass Object whose `el` is an element. We should pass the ref immediately rather than the refName. https://github.com/odoo/odoo/pull/118293