Files
odoo_source/addons/pos_self_order/data/init_access.xml
T
David Monnom (moda) 0ae2b9a3f2 [IMP] pos_self_order: change authorisation token
Previously, access_token were linked to tables. These tables were linked
to a floor_plan, which could be linked to several pos_configs.

The only way to access the self-order was to obtain a valid table
access_token. This behaviour was not correct because sometimes we would
allow table selection directly in the interface or commands without
a table.

Now, access_token is managed by pos_config. When a user has this token,
they can place commands and select the table they want if the option is
enabled.

closes odoo/odoo#126186

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2023-07-03 21:56:04 +02:00

8 lines
211 B
XML

<?xml version="1.0"?>
<odoo>
<data noupdate="1">
<function model="restaurant.table" name="_update_identifier" />
<function model="pos.config" name="_init_access_token" />
</data>
</odoo>