-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
[10.0] [MIG] l10n_de_steuernummer #23
Conversation
cc @Tecnativa |
@chienandalu @cubells please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes. Typos.
if getattr(vatnumber, 'check_vat_de', None): | ||
res = vatnumber.check_vat_de(vat) | ||
if not res: | ||
# This vat is not a Steue-IdNr., so if it is 10 or 11 digit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This vat is not an Steue-IdNr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cubells I think that's not correct. Following grammar rules(https://rayli.net/blog/life/when-to-use-a-or-an/#First_why_the_confusion) a word like Steuer doesn't begin with a vowel sound (although we spanish speakers tend to pronounce such words more like 'es...', than the proper 'ss').
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway s/Steue-IdNr/Steuer-IdNr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chienandalu
I'm not an expert english speaker, sure.
So according to you, I made "a stupid comment" or "an stupid comment"?
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cubells Just an unfortunate observation 😄
res = vatnumber.check_vat_de(vat) | ||
if not res: | ||
# This vat is not a Steue-IdNr., so if it is 10 or 11 digit | ||
# length then we can assume that this is a old Steuernummer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that this is an old Steuernummer
|
||
#. Go to Contacts. | ||
#. Create a new record. | ||
#. Put a SteuerNummer in the VAT field preceded by 'DE'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put an SteuerNummer in the VAT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pedrobaeza Runbot doesn't build. Rebase maybe?
The problem is an outdated .travis.yml. You can update it in a separate PR. |
@pedrobaeza Here you are #24 |
Please rebase and fix the comments that should be fixed (if any pending) |
5aab698
to
e0fd2cd
Compare
@chienandalu @cubells give then your final blessing for merging. |
@pedrobaeza It still skips building runbot 😕 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
LGTM
But it's because you haven't rebased properly. Check the .travis.yml in the branch: https://github.com/Tecnativa/l10n-germany/blob/10.0-l10n_de_steuernummer/.travis.yml |
e0fd2cd
to
aacce0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pedrobaeza Yes, I didn't update remotes.
Tested on runbot
Following #17, this is the migration to 10.0 of the module still in PR. The discussion ended that this can be useful and should be merged, but it has not done it yet. We can move forward to this version now, as the customer is moving to this version.