How to use another field except name/id on doctype Linked Document?

Hallo, how to use another field except name/id on doctype linked document?
For example, there is 2 doctype

  1. Projek

    • kode_projek (mandatory)
    • for example i have Projek kode_projek = HO
  2. Lokasi Absen (Naming format:{projek} - {nama})

    • nama (mandatory)
    • projek (mandatory, link to projek doctype)
    • for example i have Lokasi Absen nama = Rumah, projek = HO
    • name = HO - Rumah

on Lokasi Absen doctype i want to make Linked Document to Projek with rule
Projek.kode_projek = Lokasi Absen.projek

i already did this

but when i click projek (linked document button to projek), Projek doctype filter is ID equal Lokasi Absen.name (HO - Rumah), not Lokasi Absen.projek (HO)

Im using Frappe Framework: v15.43.0 (version-15)

Frappe won’t do this unless you write some custom scipts.
What it expects is for you to create the link in the other documet, in this case, in Projek you will link back to your DocType and refer to the field contained in Projek that contains the name of the Projek document.
This is frustrating, as that makes it impossible to export that customization to your app without first writing scripts.