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: validate accounting dimension company in Journal Entry & Stock Entry #46204

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Bhavan23
Copy link
Contributor

Issue: Journal Entry and Stock Entry were not validating the accounting dimension for the company.

ref: 31652

Before

1.issue.webm

After

2.fix.webm

Backport Needed: v15 & v14

@@ -1135,6 +1135,7 @@ def create_delivery_note(source_name, target_doc=None):

def create_dn_wo_so(pick_list):
delivery_note = frappe.new_doc("Delivery Note")
delivery_note.company = pick_list.company
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change prevents test case "test_multiple_dn_creation" failure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant