Hi ! I'm on Odoo (v8).
I have a custom web page that create a custom product. The form point to the /shop/cart/update route of the website_sale module.
When I'm not logged in (visitor), I have this error in the JS console:
"Server application error" Object { message: "Odoo Session Expired", code: 100, data: Object }
declare/genericJsonRpc/result<()
.Deferred/promise.then/</</<()
jQuery.Callbacks/fire()
jQuery.Callbacks/self.fireWith()
done()
.send/callback()
I suppose that a user must at least log in as portal user to add products to their carts.
But then, if I use the shop defined by the same website_sale module, by adding products to the cart, that work, even as a visitor !
How they manage to do that ? I can't figure out by viewing the code.
thanks for the help !