odoo/odoo#201165

Created by Fun HR, Ahmad Khanalizadeh (khah)
Merged at 7fc40ce16a9bf045dfd0a8ccb1ebd706ddf1f2c5

Statuses:

label
odoo-dev:saas-18.2-error_134223-khah
head
9e8ef3293b0208dbeaf7d8a8f289e0c08644ae76
merged
8 months ago by Fun HR, Ahmad Khanalizadeh (khah)
odoo/odoo
saas-18.2 #201165
saas-18.3
saas-18.4
19.0
master #201277

[FIX] product: enable pricelists for test user

In the PR #179354 The line that added pricelist group to the test user was removed and was not adapted, leading to errors as the pricelist was not visible in the view.

This commit brings back the addition of group and adapts it to the changes made by the PR above.

Runbot Error: https://runbot.odoo.com/odoo/error/134223


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr