How to set default value for manytoone field?
OnNew can be;
But I want to implemet in domain xml
I nedd help!!!
Hello,
You can’t set a default value for a M2O field in the domain definition. You have to call an action-record from the onNew event.
What is your case that requires setting a default value in the domain definition?
Regards
Because I want to add two m2o fields and set default value for all domain in my project。
In order to abstract,I create a domain and all children domain extends that.
Otherwise, I have to call an action-record in many views xml