Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

Hey whenever i make a new quotation form purchase agreement this error pops up and the you have to cancel it and all the process is still running fine.

(Document type: stock.picking.type, Operation: read)

I have a record rule for warehouse restriction as follow

[('id','in', [ p.id for p in user.default_picking_type_ids ])]

if i remove apply for read check then error stops popping but my record rule then stops working and i can see all warehouses in picking type id. Can you tell me what is the problem?

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Use

[('id','in', user.default_picking_type_ids.ids)]

Instead of your code.


Thanks & Regards

Avinash N K

Imagine profil
Abandonează
Autor

Thanks for replying sir! But this still gives me the same error ...can you tell me why ?

Related Posts Răspunsuri Vizualizări Activitate
1
dec. 19
5204
3
mar. 25
4999
1
feb. 25
1741
0
sept. 21
3075
2
aug. 21
3577