odoo/odoo#188357

Created by fw-bot
Merged at 04ac44ac4baf00818c6eef70d8fe0846fff737a1

Statuses:

label
odoo-dev:master-v17_fix_stock_account-K6Xj-fw
head
fc4a8df04c48819e81c46a457eb69baadcef7e9c
merged
1 year ago by Logistics, Quentin Wolfs (quwo)
odoo/odoo
17.0 #187826
saas-17.2 #188335
saas-17.4 #188342
18.0 #188351
saas-18.2
saas-18.3
saas-18.4
19.0
master #188357

[FW][FIX] stock_account: avoid changing property_val for any setting change

If we only use the community module, there is no interface to activate the automated stock accounting feature on the accounting page. Instead, we have to manually assign group_stock_accounting_automatic to each user.
However, from PR #133254, any setting changes will change all of the property_valuations to
'manual_periodic'.


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

Forward-Port-Of: #187826