Skip to content
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: Set the condition to create a purchase receipt #31531

Merged
merged 1 commit into from
Jul 5, 2022
Merged

fix: Set the condition to create a purchase receipt #31531

merged 1 commit into from
Jul 5, 2022

Conversation

nihantra
Copy link
Contributor

@nihantra nihantra commented Jul 5, 2022

Version
ERPNext: v14.x.x-develop () (develop)
Frappe Framework: v14.x.x-develop () (develop)

  • Please also update version 13

Before:

  • When creating the purchase invoice and saving it on the draft stage, the purchase receipt option show in create button and when clicking on the purchase receipt then error show like Cannot map because following condition fails: docstatus=1
before_purchase_invoice.mp4

After:

  • After developing the purchase_invoice.js file, the purchase receipt option will not show in the draft stage.
  • Only will show when you submit the purchase invoice.
after_purchase_invoice.mp4

If convenient for the changes then go ahead with the process.

Thank You!

@deepeshgarg007 deepeshgarg007 merged commit b785d7b into frappe:develop Jul 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants