odoo/odoo#193371

Created by Training, Max Whale (mawh)
Merged at 39900d58726bd9b8c2f657743af09ff53068c77a

Statuses:

label
odoo-dev:18.0-pos_viva_wallet-fix-readwrite-warning-mawh
head
97cdba971151d6ec5fc56920b8a3d2cbd5e25885
merged
9 months ago by POS IoT, Yaroslav Soroko (yaso)
odoo/odoo
18.0 #193371
saas-18.1 #194770
saas-18.2
saas-18.3
saas-18.4
19.0
master #194774

[FIX] pos_viva_wallet: mark endpoint as read/write

Since #584a172, controller endpoints can specify readonly=False if they are expected to write to the DB. The webhook endpoint for Viva Wallet was previously not specified this way, which leads to a warning being logged.

This commit simply adds readonly=False to the webhook endpoint to prevent the warning.

task-4472274


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