ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

The right way to edit core DocType


#1

hello all,
i want to edit sales invoice item DocType and add new field --Expiry Date-- but the value of the Expiey date didn’t return , and i just want to make sure that’s the right way …
Thanx


#2

@saif_eldin Please mention the versions you are working with.

in case it is v11(and above), i think you need to add your batch_no.expiry_date in the fetch_from field.

refer to this PR for more details https://github.com/frappe/frappe/pull/5563