Commit Graph
17 Commits
Author SHA1 Message Date
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier f15e7a901f Strip trailing 0 when checking Decimal in doctest output of SQLite
Closes #12878
2023-12-30 19:45:32 +01:00
Cédric Krier 2fce630dd6 Test expected output instead of comparison in doctest 2023-12-29 19:03:10 +01:00
Cédric Krier 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier a71d7b3ebf Book currency exchange amount of invoice in dedicated account
Closes #1302
2023-12-23 23:15:47 +01: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