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

Hello.

We have created a one2many field in product form view that collects all purchase order lines that have this product_id. We want to make the tree non editable, but allow the user to change one or two fields in each line. On the custom tree view we have:

```

pol.product.tree

purchase.order.line

```

And the field inside product is placed in the view as:

```

```

But there are two problems. The 'count_cost' field remains readonly no matter what I do, and the tree remains editable, even if I don't use editable='bottom'. Also, this error pops up when I try to add a new line:

Access Error

Due to security restrictions, you are not allowed to access 'Product' (product.product) records.

Records: False (id=NewId_0x7f14df6d4a90)

User: Mitchell Admin (id=2)

This restriction is due to the following rules:

Contact your administrator to request access if necessary.

Can anyone help?

Thanks a lot

 


形象
丢弃
相关帖文 回复 查看 活动
3
9月 25
3010
0
8月 25
584
1
8月 25
2712
2
7月 25
8408
2
7月 25
4816