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>
8 lines
211 B
XML
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>
|