frappe / webshop

Open Source eCommerce Platform
GNU General Public License v3.0
93 stars 102 forks source link

Permission issues even after granting permissions. #88

Open simran-baliyan opened 7 months ago

simran-baliyan commented 7 months ago

When a customer places and order, the webshop throws a permission issues error . I tried to assign Sales Order permissions to customer , Permission Level -0 (✓)Create (✓) Read, in permissions manager, however, it is still not working.

It does create a Sales order in ERPNext(read this bug also) , however, it does not let the customer to pay , it directly throws an error after clicking on 'Place Order' button.

@NagariaHussain Kindly assist or have someone to look into this @ankush @marination , would be really obliged to you guys , if you could kindly look into this and make Webshop-v15 compatible and bug-free.

ERPNext: v15.12.2 (version-15) Frappe Framework: v15.13.0 (version-15) India Compliance: v15.5.1 (version-15) Webshop: v0.0.1 (version-15)

Screenshot 2024-02-06 215620

xyangwang commented 6 months ago

I have same problem. I find place_order method in cart.py set sales_order.flags.ignore_permissions = True, but it is not working. The templates/pages/order.py get the sales order result does not contains flags.ignore_permissions attribute.

gitstephanferriggi commented 4 months ago

I am having the same issue. But it is random. Some accounts do work properly and some don't. Did anyone tried to fix this?