Skip to Content
Menu
This question has been flagged
1717 Views

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

 


Avatar
Discard
Related Posts Replies Views Activity
3
Sep 25
3007
0
Aug 25
580
1
Aug 25
2704
2
Jul 25
8404
2
Jul 25
4812