Commit b846144
committed
fix(spp_statistics_dashboard): add nosemgrep annotations for sudo() calls
Both sudo() usages are intentional:
- ir.config_parameter.sudo(): standard Odoo pattern for system params
- res.partner.sudo(): needed for queue_job cron context, reads IDs only1 parent cdef2d9 commit b846144
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
| |||
0 commit comments