I am trying to use ref() to get the ID of a field based on it's name but I am having issues.
eval="[(4, ref(sale.field_sale_order__amount_untaxed))]"The above gives me an "Access to forbidden name" error
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am trying to use ref() to get the ID of a field based on it's name but I am having issues.
eval="[(4, ref(sale.field_sale_order__amount_untaxed))]"The above gives me an "Access to forbidden name" error
Hi Jonah:
You need to put single quotes around the id like so:
eval="[(4, ref('sale.field_sale_order__amount_untaxed'))]"| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
1
3월 25
|
2728 | |||
|
0
11월 24
|
2582 | |||
|
0
6월 24
|
2280 | |||
|
1
6월 24
|
2885 | |||
|
0
10월 23
|
2955 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.