How can I use an XML id as a reference in a field domain?
I'd like to create a module that loads a CSV file of partner categories, and another one that adds a new many-to-one field for a category in the partner, and let users it's value only among the categories of the first module.
I tried to restrict the domain with this but it didn't work :
<field name="ape_id" domain=
The client prints this to STDOUT:
ERROR:tools.
Traceback (most recent call last):
File "/home/
temp = eval(string, context)
File "<string>", line 1, in <module>
TypeError: 'bool' object is not callable
Any idea how I can achieve this?
Lionel.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Numérigraphe for more information if necessary.