I knew that it was obvious. Thanks Gleb !
While at it, I have another question: on an entity field with annotation @Lookup
set to DROPDOWN, I was expecting to have a dropdown like the product field you can see in the screenshot.
But I had to override the field generator to get a dropdown for product. If you look at Mu field, also set to DROPDOWN, I did not override the field generator and I have a picker, not a dropdown.
Is it intended, or there is something else I have to configure ?
@Lookup(type = LookupType.DROPDOWN, actions = {"lookup"})
@ManyToOne(fetch = FetchType.LAZY, optional = false)
@JoinColumn(name = "PRODUCT_ID")
protected Product product;
@Lookup(type = LookupType.DROPDOWN, actions = {"lookup", "open", "clear"})
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "MU_ID")
protected Mu mu;