[Bug] looper clock keeps generating orders with incorrect tax amounts #90607

Closed
opened 2021-08-11 15:50:43 +02:00 by Anna Sirota · 3 comments
Owner

even after the calculations were updated in looper:

2021-08-11 15:48:37,963     INFO fix_tax Total orders to fix: 2194
2021-08-11 15:48:38,255     INFO fix_tax Order #758493 tax will be updated: EUR 5.42 -> EUR 4.55 (EUR 28.50, 19.00%, DE)
2021-08-11 15:48:38,335     INFO fix_tax Order #758391 tax will be updated: EUR 6.56 -> EUR 5.33 (EUR 28.50, 23.00%, PL)
2021-08-11 15:48:38,347     INFO fix_tax Order #758386 tax will be updated: EUR 23.80 -> EUR 19.83 (EUR 119.00, 20.00%, AT)
2021-08-11 15:48:38,359     INFO fix_tax Order #758379 tax will be updated: EUR 24.99 -> EUR 20.65 (EUR 119.00, 21.00%, NL)
2021-08-11 15:48:38,382     INFO fix_tax Order #758365 tax will be updated: EUR 5.98 -> EUR 4.95 (EUR 28.50, 21.00%, BE)
2021-08-11 15:48:38,488     INFO fix_tax Order #758244 tax will be updated: EUR 20.71 -> EUR 17.40 (EUR 109.00, 19.00%, DE)
2021-08-11 15:48:46,910     INFO fix_tax Orders to update: 6
2021-08-11 15:48:46,911     INFO fix_tax Subscriptions to update: 0

all of the above orders have subscriptions with correct tax amounts, not sure where the old incorrect values are coming from.

Upd: looks like it's just due to most of the existing subscriptions still having the old incorrect tax amounts, as soon as those are updated it should be fine.

even after the calculations were updated in `looper`: ``` 2021-08-11 15:48:37,963 INFO fix_tax Total orders to fix: 2194 2021-08-11 15:48:38,255 INFO fix_tax Order #758493 tax will be updated: EUR 5.42 -> EUR 4.55 (EUR 28.50, 19.00%, DE) 2021-08-11 15:48:38,335 INFO fix_tax Order #758391 tax will be updated: EUR 6.56 -> EUR 5.33 (EUR 28.50, 23.00%, PL) 2021-08-11 15:48:38,347 INFO fix_tax Order #758386 tax will be updated: EUR 23.80 -> EUR 19.83 (EUR 119.00, 20.00%, AT) 2021-08-11 15:48:38,359 INFO fix_tax Order #758379 tax will be updated: EUR 24.99 -> EUR 20.65 (EUR 119.00, 21.00%, NL) 2021-08-11 15:48:38,382 INFO fix_tax Order #758365 tax will be updated: EUR 5.98 -> EUR 4.95 (EUR 28.50, 21.00%, BE) 2021-08-11 15:48:38,488 INFO fix_tax Order #758244 tax will be updated: EUR 20.71 -> EUR 17.40 (EUR 109.00, 19.00%, DE) 2021-08-11 15:48:46,910 INFO fix_tax Orders to update: 6 2021-08-11 15:48:46,911 INFO fix_tax Subscriptions to update: 0 ``` all of the above orders have subscriptions with correct tax amounts, not sure where the old incorrect values are coming from. Upd: looks like it's just due to most of the existing subscriptions still having the old incorrect tax amounts, as soon as those are updated it should be fine.
Anna Sirota self-assigned this 2021-08-11 15:50:43 +02:00
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

Added subscriber: @railla

Added subscriber: @railla
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio#90607
No description provided.