跳至内容
菜单
此问题已终结

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?

形象
丢弃
最佳答案

Hi,

Use

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

Instead of your code.


Thanks & Regards

Avinash N K

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
1
12月 19
5187
3
3月 25
4987
1
2月 25
1730
0
9月 21
3057
2
8月 21
3570