[FIX] pos_restaurant: onboarding data loading

The onboarding demo data cannot be loaded since f96ea753f3.

Steps to reproduce:
 - Start a database without demo data (--without-demo=True)
 - Open a POS session for the default shop
 - Click to load demo (onboarding) data

An error is raised.
The error is due to a mistake in the XML, the food category logo is not assigned to the right record.

closes odoo/odoo#136392

Task-id: 3519677
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
Theo VINCENT (thvi)
2023-09-25 09:38:43 +00:00
parent 6ad564cd49
commit 572ac8a01f
@@ -8,11 +8,11 @@
<record id="product_category_pos_food" model="product.category">
<field name="parent_id" ref="point_of_sale.product_category_pos"/>
<field name="name">Food</field>
<field name="image_128" type="base64" file="pos_restaurant/static/img/food_category.png" />
</record>
<record id="food" model="pos.category">
<field name="name">Food</field>
<field name="name">Food</field>
<field name="image_128" type="base64" file="pos_restaurant/static/img/food_category.png" />
</record>
<!-- Food -->
@@ -718,4 +718,4 @@
</record>
<function model="pos.config" name="add_cash_payment_method" />
</odoo>
</odoo>