Skip to Content
Menu
This question has been flagged
1 Reply
4328 Views

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
Avatar
Discard
Best Answer

Hi Jonah:

You need to put single quotes around the id like so:

eval="[(4, ref('sale.field_sale_order__amount_untaxed'))]"
Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
128
0
Jun 24
265
1
Jun 24
694
0
Oct 23
949
2
Mar 23
1483