Cédric Krier
93b3d27117
Replace account move number by post number
...
Closes #13864
2025-02-11 12:50:48 +01:00
Cédric Krier
9b0db800cf
Use existing write-off journal in invoice test scenario
2024-10-26 21:32:53 +02:00
Cédric Krier
d3cca51abc
Create company and chart of account when activate modules in test scenario
2024-09-11 19:05:12 +02:00
Cédric Krier
3fc39d0433
Reset cancelled invoice to posted when unpaid
...
Closes #13509
2024-09-13 15:30:26 +02:00
Cédric Krier
390310d7de
Do not save invoice sequence in set_invoice_sequences tests
...
This prevents the warning about unsaved relation record as the fiscal year is
not yet created.
2024-06-09 14:58:34 +02:00
Cédric Krier
0f06ca9142
Raise a warning when validating invoice with non default taxes
...
Closes #3818
2024-02-19 12:43:52 +01:00
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