odoo/industry#2222

Created by François Vasamillet (frva)
Merged at 46021a8116662f6ad8641fdba4741b55588c60f7

Statuses:

label
odoo-dev:19.0-remove-useless-browse-frva
head
76455f4b92c2de754a3be16223d9be8ae301cf21
merged
1 month ago by Industry, Vallaeys Valentin (vava)
odoo/industry
19.0 #2222
saas-19.1 #2224
saas-19.2 #2226
saas-19.3 #2227
master #2228

[FIX] *: Simplify code by removing useless browse

This PR removes the useless wording of env.browse(ref().id) to use the reference directly instead.