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: org party regime validation #434

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Fix: org party regime validation #434

merged 1 commit into from
Nov 28, 2024

Conversation

samlown
Copy link
Collaborator

@samlown samlown commented Nov 27, 2024

Describe your changes

Fixes an issue validating tax ID codes when the regime is provided inside an org.Party.

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have added thorough tests with at least 90% code coverage.
  • I've modified or created example GOBL documents the show my changes in use, if appropriate.
  • When adding or modifying a tax regime or addon, I've added links to the source of the changes either structured or in the comments.
  • I've run go generate . to ensure that Schemas and Regime data are up to date.
  • All linter warnings have been reviewed and fixed.
  • I've been obsessive with pointer nil checks to avoid panics.
  • The CHANGELOG.md has been updated with an overview of my changes.
  • Requested a review from @samlown.

Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.64%. Comparing base (eb4879b) to head (956b2e3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #434      +/-   ##
==========================================
+ Coverage   81.63%   81.64%   +0.01%     
==========================================
  Files         235      235              
  Lines       11539    11546       +7     
==========================================
+ Hits         9420     9427       +7     
  Misses       1756     1756              
  Partials      363      363              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samlown samlown requested a review from cavalle November 27, 2024 17:09
@samlown samlown merged commit 7a8228d into main Nov 28, 2024
7 checks passed
@samlown samlown deleted the fix-org-party-valid branch November 28, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants