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

[8.0][FIX] get_hs_code_recursively broken on declaration #45

Merged

Conversation

luc-demeyer
Copy link
Contributor

The intrastat declaration is broken in case no hs code is present on invoice lines as a consequence of 33a92dc.

Copy link
Member

@rvalyi rvalyi left a comment

Choose a reason for hiding this comment

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

approved for v8.
However it is important to notice that on v10, the code is still taken from the template:
https://github.com/OCA/intrastat/blob/10.0/intrastat_product/models/account_invoice.py#L68
@luc-demeyer @alexis-via @sebastienbeau so what do you think, should we take it from the variant on v10 too?

@luc-demeyer
Copy link
Contributor Author

@rvaly
v10 should be the same. I'll have a look and make a PR.
Can you also adapt your PR (#38) for the 11.0 port and move the method to product.product ?

@luc-demeyer luc-demeyer merged commit c6c0c48 into OCA:8.0 Aug 20, 2018
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