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'))]"Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
मार्च 25
|
2731 | |||
|
0
नव॰ 24
|
2597 | |||
|
0
जून 24
|
2283 | |||
|
1
जून 24
|
2890 | |||
|
0
अक्तू॰ 23
|
2956 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.