Se rendre au contenu
Menu
Cette question a été signalée
1721 Vues

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
Ignorer
Publications associées Réponses Vues Activité
3
sept. 25
3010
0
août 25
583
1
août 25
2708
2
juil. 25
8405
2
juil. 25
4813