Commit Graph
12 Commits
Author SHA1 Message Date
Cédric Krier 466f2114b6 Reset cancelled invoice to posted when unpaid
Closes #13509
(grafted from cbb381841768cf91419c43df93794c593d61ac8b)

--HG--
branch : 7.0
2024-09-13 15:30:26 +02:00
Cédric Krier 04af335284 Copy alternative payees of invoice if it is the only party on lines to pay
Only one alternative payee is permitted on draft invoice so we can copy it
only if there is only one and it is the one that was already set when posting
the invoice (only party that appears in the lines to pay).

Closes #12528
2023-10-28 14:04:23 +02:00
Maxime Richez d603d56f71 Allow refreshing invoice report cache
Closes #12091
2023-09-19 14:12:42 +02:00
Sergi Almacellas Abellana 24a4abc6ba Set employee who validates and posts invoices
Closes #9678
2023-07-06 16:27:53 +02:00
Sergi Almacellas Abellana 614cff956d Allow modification of invoice references when report is not cached 2023-06-22 16:11:33 +00:00
Nicolas Évrard d894c1f442 Add cache on invoice's amounts
Having cache on the invoice's amounts will allow to make search more efficient
for #11919
2023-05-25 16:21:49 +02:00
Cédric Krier 51b7fe72f8 Support invoice payment with currency exchange
Closes #11500
2023-02-16 18:59:06 +01:00
Nicolas Évrard 0d679effe2 Warn when cancelling a move related to an invoice
Closes #4981
2023-02-02 18:50:26 +01:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 5d074f963a Set write-off as default when paying exact amount of invoice
When paying the exact remaining amount of an invoice with different currency,
it should normally be a payment with write-off for exchange rate.

Closes #11821
2022-12-30 23:37:56 +01:00
Cédric Krier f85e1ff97b Prepare migration to monorepo 2022-12-16 21:00:07 +01:00