New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot set child table's value after v7.1 update #7148
Comments
Script looks fine, what is it complaining about? |
if you test above script in Stock Entry, then expense account is always overridden by Stock Adjustment account.. I want to set another default account if users do MaterialReceipt transaction |
Is this still valid? |
It is not a bug, Your script works perfectly fine, the custom script is setting a value to expense account as please check https://github.com/frappe/erpnext/blob/develop/erpnext/stock/doctype/stock_entry/stock_entry.js#L157. |
@mbauskar so custom script is not priority here...how to override it? |
@jof2jc you can set the value on validate trigger instead of item_code trigger |
Before v7.1 the script did work, but affter v7.1 update..it's not working
The text was updated successfully, but these errors were encountered: