[IMP] contract: Allow to single invoice a contract by users
It should allow you to process sale orders and other kinds, as it is using the cron function
@dixmit
Why this? You already have the button to manually invoice it on the contract itsel.
That button is only accessible on debug mode, and it does not verify dates, so, If I push the button three times It will create the invoice three times.
Wit my new way an standard user can create the invoices without worrying if he/she is doing something wrong
Then I think it's better to fine tune that button, showing it to billing users, and showing the popup to decide if force or not to make the invoice.
So, should I keep my button and remove the old one?
I think it should be only one button to do both things according a check saying to force or not.
functionnal test OK
any issue w/ this one?
Just waiting for approvals
ok thanks @etobella FYI i'm currently working on a refactor for the cron to use the "wizard" method to have the same behaviour from the cron and from the wizard. Any objection?
good for me
@etobella here is the PR against this PR https://github.com/dixmit/contract/pull/2
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.
@pedrobaeza I think the changes fits your requests :smile:
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.