[FIX] pos_cache: Adapt JS code to ac89783d2f6c.
[FIX] pos_cache: Adapt JS code to ac89783d2f6c.

Otherwise, when rendering the 'Product' template it crashes when calling
the 'get_price' method.

Indeed, we need to add products as a Product model instead of as a plain
JS object.

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo