Issue 9732

Title
Wrong amount to compensate in aeat 303 report
Priority
bug
Status
resolved
Nosy list
ced, pokoli, reviewbot, roundup-bot
Assigned to
pokoli
Keywords
review

Created on 2020-10-16.19:03:49 by pokoli, last changed 2 days ago by roundup-bot.

Messages

New changeset 8a562d1db161 by Sergi Almacellas Abellana in branch '5.6':
Use end_date to compute AEAT 303 amount_to_compensate
https://hg.tryton.org/modules/account_es/rev/8a562d1db161

New changeset ca46c700fbd0 by Sergi Almacellas Abellana in branch '5.4':
Use end_date to compute AEAT 303 amount_to_compensate
https://hg.tryton.org/modules/account_es/rev/ca46c700fbd0
New changeset 3dae8d4a7f12 by Sergi Almacellas Abellana in branch 'default':
Use end_date to compute AEAT 303 amount_to_compensate
https://hg.tryton.org/tryton-env/rev/3dae8d4a7f12
New changeset f11a731a3dc5 by Sergi Almacellas Abellana in branch 'default':
Use end_date to compute AEAT 303 amount_to_compensate
https://hg.tryton.org/modules/account_es/rev/f11a731a3dc5
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-16.19:38:05
Yes it is like you say. But tryton is not correctly computing the amounts.

If you create amount on the next report to balance the amount the previous balance is still showing in the next report.
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-10-16.19:18:01
Should it not be a move that balance the account once you made your report?
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2020-10-16.19:03:49
If you have some amount to compensate in 303 report and then you compensate in the next period (by creating the reverse move line) the aeat report includes the previous amount in the next period.

I expect that the amount is not included another time when it has been compensated in the previous period.
History
Date User Action Args
2020-10-24 00:06:24roundup-botsetkeyword: - backport
messages: + msg61180
2020-10-19 11:54:27roundup-botsetmessages: + msg61046
2020-10-19 11:54:25roundup-botsetmessages: + msg61045
nosy: + roundup-bot
status: testing -> resolved
2020-10-16 19:38:05pokolisetmessages: + msg61012
2020-10-16 19:18:01cedsetnosy: + ced
messages: + msg61011
2020-10-16 19:13:14pokolisettitle: Wrong amount to compensate in aeat report -> Wrong amount to compensate in aeat 303 report
2020-10-16 19:10:48reviewbotsetnosy: + reviewbot
messages: + msg61010
2020-10-16 19:05:43pokolisetstatus: in-progress -> testing
reviews: 314511003
keyword: + backport, review
2020-10-16 19:03:49pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)