I changed the autoname function of the “Batch” DocType. So it isn’t the default
batch_id. But my
title_field is still the
batch_id which can read something else than the name of the Batch.
Now when linking with a “Link Field” to a doc of DocType “Batch” I get suggestions and all with the doc’s
name in the database and not the
As seen in this screenshot on the left is the column for
batch_id and on the right is the actual
name in the database.
I know that when I customize the “Batch” form I can add more search_fields but that’s not what I want. I want the text that is written bold here to be the
batch_id and not the
name. For the dropdown list and the “Link Field” itself.
Is that something that is currently achievable? In terms of adding code to my custom app?
Because I guess this is something that would have to be changed withing frappe. If so and if I would implement this and send a Pull Request with this, would that be something that will be accepted? If not, then I guess I have to find another way around this.