Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1733 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
zář 25
3028
0
srp 25
607
1
srp 25
2728
2
čvc 25
8432
2
čvc 25
4839