Friday, March 1, 2024
1 change · master
Resolved issues and error corrections
This fixes a small issue that caused unnecessary warning messages in server logs when field service worksheet templates were looked up. The change helps keep logs cleaner and avoids misleading operational noise without changing user-facing behavior.
Original PR description
Before this commit, a warning is logged in the server logs because `=` operator is used with an array as right leaf in a domain used in a search in `_compute_worksheet_template_id` defined in `project.project` model. The operator used should be `in` instead of `=`, that's why we got that warning. This commit fixes the issue by changing the operator used inside that domain to use `in` instead of `=`. runbot-58374 X-original-commit: 2b12d5e8