跳至内容
菜单
此问题已终结
3 回复
9739 查看

Public user cann't view page product on website (error 403). This is log error:

QWebException: ('AccessError', u'Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Warehouse/Manager\n\t- Point of Sale/Manager\n\t- Purchases/User\n\t- Sales/See Own Leads\n\t- Point of Sale/User\n\t- Human Resources/Employee\n\t- Manufacturing/User\n\t- Purchases/Manager\n\n(Document model: stock.warehouse)'

形象
丢弃
编写者 最佳答案

QWebException: ('AccessError', u'Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Warehouse/Manager\n\t- Point of Sale/Manager\n\t- Purchases/User\n\t- Sales/See Own Leads\n\t- Point of Sale/User\n\t- Human Resources/Employee\n\t- Manufacturing/User\n\t- Purchases/Manager\n\n(Document model: stock.warehouse)'

 

I must re-add for "Public" and "Portal" these Record Access Rule:

stock.warehouse, Product Template

stock.location, Location ,

stock.move, Stock

stock.quant, Quantities,

product.uom, UofM Products,

sale.order

sale.order.line

But What kind of python script can remove these Record???

形象
丢弃
最佳答案

Probably you are accessing unpublished product through link.. Otherwise you changed something..

形象
丢弃
最佳答案

This should work out of the box. What did you change?

形象
丢弃
相关帖文 回复 查看 活动
3
4月 25
2184
2
1月 25
3308
0
10月 23
1638
1
9月 22
2406
0
6月 16
3207