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

feat: provision to have limited parameters for in-process quality inspection #28219

Merged
merged 3 commits into from
Nov 9, 2021

Conversation

DeeMysterio
Copy link
Contributor

@DeeMysterio DeeMysterio commented Nov 3, 2021

Additions:

  • fetch a custom QI template of job card while creating a Quality Inspection from a Job card
  • fetch min max numeric values or formula for its readings table from the QI template set on item of that Job Card on saving of the Quality Inspection

Screenshots/Gifs:
in-process-qii

Documentation:
https://docs.erpnext.com/docs/v13/user/manual/en/manufacturing/operation

for d in parameters:
if reading.specification == d.specification:
reading.update(d)
reading.status = "Accepted"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why status as "Accepted", it's depending on the condition

@@ -292,6 +293,10 @@ def update_sub_operation_status(self):
row.completed_time = 0.0
row.completed_qty = 0.0

def set_quality_inspection_template(self):
qi_template = frappe.db.get_value('Operation', self.operation, 'quality_inspection_template')
self.quality_inspection_template = qi_template
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use fetch from property in the doctype

@rohitwaghchaure rohitwaghchaure merged commit 8079dc1 into frappe:version-13-hotfix Nov 9, 2021
ERPNext Roadmap automation moved this from In progress to Done Nov 9, 2021
@rohitwaghchaure
Copy link
Collaborator

@Mergifyio backport version-13-pre-release

@mergify
Copy link
Contributor

mergify bot commented Nov 9, 2021

backport version-13-pre-release

✅ Backports have been created

rohitwaghchaure added a commit that referenced this pull request Nov 9, 2021
…se/pr-28219

feat: provision to have limited parameters for in-process quality inspection (backport #28219)
@rohitwaghchaure
Copy link
Collaborator

@Mergifyio backport develop

@mergify
Copy link
Contributor

mergify bot commented Nov 9, 2021

backport develop

✅ Backports have been created

asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
…-release/pr-28219

feat: provision to have limited parameters for in-process quality inspection (backport frappe#28219)
@sharmanakul sharmanakul modified the milestones: v13.15, v13.16 Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants