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: test case #37063

Merged

Conversation

rohitwaghchaure
Copy link
Collaborator

Traceback (most recent call last):
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/erpnext/erpnext/manufacturing/doctype/bom_creator/test_bom_creator.py", line 193, in test_make_boms_from_bom_creator
    doc = make_bom_creator(
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/erpnext/erpnext/manufacturing/doctype/bom_creator/test_bom_creator.py", line 305, in make_bom_creator
    doc.save()
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/frappe/frappe/model/document.py", line 331, in save
    return self._save(*args, **kwargs)
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/frappe/frappe/model/document.py", line 353, in _save
    return self.insert()
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/frappe/frappe/model/document.py", line 295, in insert
    self.db_insert(ignore_if_duplicate=ignore_if_duplicate)
  File "/Users/rohitwaghchaure/Documents/frappe-develop-3-10/frappe-bench/apps/frappe/frappe/model/base_document.py", line 559, in db_insert
    raise frappe.DuplicateEntryError(self.doctype, self.name, e)
frappe.exceptions.DuplicateEntryError: ('BOM Creator', 'Bicycle BOM', IntegrityError(1062, "Duplicate entry 'Bicycle BOM' for key 'PRIMARY'"))

@rohitwaghchaure rohitwaghchaure enabled auto-merge (squash) September 13, 2023 05:52
@rohitwaghchaure rohitwaghchaure merged commit e6c302a into frappe:develop Sep 13, 2023
10 of 12 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 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.

None yet

1 participant