Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
9745 Näkymät

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)'

Avatar
Hylkää
Tekijä Paras vastaus

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???

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
huhtik. 25
2184
2
tammik. 25
3308
0
lokak. 23
1638
1
syysk. 22
2406
0
kesäk. 16
3207