mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-12 22:21:50 +00:00
Subcontracting Receipt was left out of #57493. Its title_field is "title", so the template does get rendered on insert, but never again — the title goes stale as soon as the supplier changes. Point title_field at supplier_name like Purchase Receipt, and give the title field the same shape as its subcontracting siblings. Existing rows already hold a rendered name, so no data patch is needed. Also guard the whole class of bug: a "{...}" default on a title field is only ever rendered when title_field is "title".