Hello!
I'm getting the error "no such column" while diplaying a ManyToOne field , when i read the code I found a call to a function getDefaultNameColumn that returns "name" but in my model I have no column named "name".
I want to add the field _rec_name to get the record name for each model and then pass it to the function "getDefaultNameColumn", can I access the field _rec_name by ORM or i should create it and where?
This is how I fixed the problem but I'm looking for a better solution.
Class: OModel
Hello! I'm getting the error "no such column" while diplaying a ManyToOne field , when i read the code I found a call to a function getDefaultNameColumn that returns "name" but in my model I have no column named "name". I want to add the field _rec_name to get the record name for each model and then pass it to the function "getDefaultNameColumn", can I access the field _rec_name by ORM or i should create it and where? This is how I fixed the problem but I'm looking for a better solution. Class: OModel