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: fix for not having fiscal year while creating new company #24130

Merged
merged 22 commits into from
Jan 14, 2021

Conversation

Anuja-pawar
Copy link
Contributor

@Anuja-pawar Anuja-pawar commented Dec 15, 2020

Issue: If you have multiple fiscal years with multiple companies, when you create a new company it may throw this error even if you have a fiscal year for a current date since it is applicable to a particular company.

Screenshot 2020-12-15 at 2 16 36 PM

The fiscal year is required to get TDS rates while setting a chart of accounts for a new company. Now you can not create another fiscal year with dates overlapping with the existing fiscal year, or to create a fiscal year specific to this new company, you need to create a company first.

Solution: This fix handles this error and lets the user create a new company irrespective of that. The user will have to add TDS rates later in this case.

@Anuja-pawar Anuja-pawar changed the title fix: fix for not having fiscal year while creating new company (for template standard with numbers) fix: fix for not having fiscal year while creating new company Dec 15, 2020
Anurag810
Anurag810 previously approved these changes Dec 16, 2020
Copy link
Contributor

@Anurag810 Anurag810 left a comment

Choose a reason for hiding this comment

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

Travis failing

@nabinhait nabinhait merged commit 4569e52 into frappe:develop Jan 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 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.

4 participants