[Akaunting] - Fix recurring on prod #306
Labels
No Label
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
help wanted
Howto
🤔️ Investigate
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
question
Ready
refined
Roundcube
searX
spam-protection
Staging Server
Themes
TOR
Urgent!
Website
windows
wontfix
xmpp
Yearly Report
No Milestone
No project
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#306
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Remove recurring from invoices in DB
Set the cronjob (
artisan schedule:run
didn't work when I tested on test instance, butartisan recurring:check
worked)Check / enable recurring settings on Akaunting
Create a fake invoice to test
You can check those:
There is an issue I forggot about that I've jsut found again @muppeth @antilopa :
checks if there is a recurring invoice, creates it and sends an email to the user.
However, there is no pdf included in the email (whereas there is on when "manually" sent) and the link is to http://localhost/signed/invoices/17?company_id=1&signature=49whatevernumber and doesn't work (but perhaps because it is the test instance?).
Also, those automatic created invoices are set as Draft on Akaunting, not as Sent. But if that is a draft, why does the user receives it? It should be set as Drat imo.
If I click on SEND, the new received email has the pdf included, and a link to https://testinstance/signed/invoices/17?company_id=1&signature=7awhatevernumber which works.
I think it's ready and should work but please @meaz @antilopa do test it to be sure.
I have created a recurring invoice. I did receive the first invoice on my email (I'll see if I get the recurring tomorrow as I set it as daily creation). But I don't understand something: when I check this invoice as an admin, it is marked as "This is a DRAFT invoice and will be reflected to charts after it gets sent." as it was sent... Any idea @antilopa ? Have you seen the same behavior?
Also, the cron is apparently set to be run at 9am, but I received the invoice at 11am. Not a big deal, I just wanted @muppeth to know...
I created an issue for the "Draft"/"Sent" problem: https://github.com/akaunting/akaunting/issues/2626
and for the 'Viewed" notification one https://github.com/akaunting/akaunting/issues/2627
Otherwise recurring works.