-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
fix: Sales Order Connections Tabs do not show linked Material Request or "+" button (intoduce by #33304) #33690
Conversation
When Sales Order is displayed URI param "items" already include Material Request, The is no need to specify it into get_data() on sales_order_dashboard.py. Either Add "Material Request": ["items", "material_request"], in get_data() on sales_order_dashboard.py is strange, shouldn't it be "Material Request": ["items", "sales_order"], but there is no need as frappe already manage it with "transaction" section ? (manage by frappe/model/meta.py : add_doctype_links() That can explain why result of API call didn't return at all Material Request count as the field material_request don't exists into Material Request Item
|
@FHenry there are two flows, I have added the fix for the Internal Transfer but it breaks the SO --> MR [MR link in SO]. AFAIK the |
@FHenry will be able to see the MR ref(s) in SO if we set the |
ERPNext develop, versoin-14, version-13
How to reproduce :
Create a Sales order
Create a Material request from the sales order (use create blue button as "+" is missing) => Go to Connections tabs => Go back to originated Sales Order
Check Sales Order Connections Tab, the materials Request is not here.
Before PR:
Before.mp4
After PR:
After.mp4
Note To Reviewer: