Hi folks,
I modified the contract.py file as below screenshots and migrate the site
However, whenever I submit contract document, field signed_by_company still filled with session user. Does anyone having the same issue? Or how can I set default value to be null?
Any help will be much appreciated
Hi,
Direct editing of Source code is not at all advisable. You will not be able to update the ERPNext with this kind of direct change without reverting to the original code.
To handle your case, please click on the Customize Form in the Contract List View.
Select the Signed By (Company) field and set the Default value you want to keep.
If this also doesn’t solve your problem, you need to use Property Setter to override the standard field.
Thanks,
Divyesh Mangroliya