Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1739 Widoki

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

 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 25
3066
0
sie 25
621
1
sie 25
2742
2
lip 25
8448
2
lip 25
4858