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

[V11] l10n_nl_tax_statement: Update of past undeclared invoices - Update of BTW statement doesn't work #219

Closed
tv-openbig opened this issue Feb 8, 2019 · 9 comments · Fixed by #220

Comments

@tv-openbig
Copy link

Hello,

i have just checked the V11 version of l10n_nl_tax_statement in order to adopt it for the german "clone" of this module: https://github.com/openbig/l10n-germany/tree/10.0/l10n_de_tax_statement.

I have created a customer invoice with the tax "Verkopen/omzet hoog" with a invoice date in between of the given date_range in the tax statement. If i click on update button the value in the line "1a Leveringen/diensten belast met hoog tarief" was calculated correctly.

Now i created two further invoices with a invoice date before the "from_date" of the statement. If i go to the tab "Past undeclared invoices" i can see the two lines. Now i wanted to include those lines in the statement by clicking on the ">" arrow to add them + clicking on the "update" button as suggested by the description "Add/Remove the Undeclared Invoices listed below. Afterwards press the Update button in order to recompute the statement lines!".

bildschirmfoto 2019-02-08 um 10 20 50

Now i would normally expect that the line "1a Leveringen/diensten belast met hoog tarief" would have been updated but it doesn't.

bildschirmfoto 2019-02-08 um 10 22 05

Unfortunately it just shows the "regular" invoice in between of the given date range. I miss here the two further added invoices from the past months.

bildschirmfoto 2019-02-08 um 10 22 35

Nevertheless, thanks a lot for your great work on that module. The added feature "past undeclared invoices" is a great further improvement. I will now try to adopt the V11 changes for the german accounting plans.

Best regards
Thorsten

@astirpe
Copy link
Member

astirpe commented Feb 8, 2019

@tv-openbig Thank you for reporting this issue!
I published a fix in #220, would you give it a try?

@tv-openbig
Copy link
Author

@astirpe Thanks for your quick intervention.
I have checked you fix. It is nearly fixed (50%).
The omzet and btw in the list was updated as they should !

bildschirmfoto 2019-02-08 um 15 30 58

If i click on the lense to see the invoices behind i would expect to see the
"regular" invoice from the given date range + the invoice from the past.
If i open the lense of the line "1a Leveringen/diensten belast met hoog tarief"
i get just the regular invoice, not the invoice from the past.

bildschirmfoto 2019-02-08 um 15 31 15

Anyway big thank you so far.

@astirpe
Copy link
Member

astirpe commented Feb 8, 2019

@tv-openbig right, I will fix it next week. Thanks!
Would you keep Onestein in the list of the authors when you clone this module?

@tv-openbig
Copy link
Author

@astirpe

Hello, yes sure i will.

For the V11 version i plan a PR towards OCA/l10n-germany project. So far it was was not possible as Odoo rejected my PR to the V10 german accounting plan (odoo/odoo#18571 (comment)).

For the V11 we do not have anymore missing tax tags, so i am positive for the V11 PR.
I will update the authors lists for V11 and also for the V10 "clone".
I mentioned you already as a contributor in the README but for sure i will complete it,
if i am ready with the V11, and for sure the "author" entry in the manifest is more relevant
as the readme ;-)

@astirpe
Copy link
Member

astirpe commented Feb 11, 2019

@tv-openbig Should be working fine now. Could you check?

@tv-openbig
Copy link
Author

@astirpe in the list of journal items i still don't get the invoice lines from the past.
I have tested on this runbot instance http://3357967-220-05ec37.runbot3.odoo-community.org/?db=3357967-220-05ec37-all.
Best regards
Thorsten

@astirpe
Copy link
Member

astirpe commented Feb 11, 2019

@tv-openbig It's because you didn't set the Country to Netherlands in YourCompany. The report works fine when the Country is Netherlands for the actual company.
I can understand that there is a strange behavior when the country is not set properly and that could be confusing. But the report is meant for Dutch only companies. There is space for future improvement to avoid confusions, but I don't want to spend time on it right now, since it's not part of the issue you opened and is a low prio for me.
Thanks!

@tv-openbig
Copy link
Author

@astirpe OK, that is indeed not a big issue in that case;-)

@astirpe
Copy link
Member

astirpe commented Feb 19, 2019

@tv-openbig in #220 I just committed a fix for getting the invoice lines from the past when the Country is not set to Netherlands. Thanks!

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 a pull request may close this issue.

2 participants