Commit Graph
12 Commits
Author SHA1 Message Date
Cédric Krier 6f049b695b Set company in the context of clearing journal
Closes #13591
2024-10-10 17:00:14 +02:00
Cédric Krier 65d254c4c2 Manage payment keywords of statement rules in account_payment module
Closes #11053
2024-10-13 15:43:19 +02:00
Cédric Krier 1c95e602c7 Add test scenario for payment clearing with statement rule 2024-10-13 15:40:15 +02:00
Cédric Krier 3621bc78f8 Use expense journal instead of expense account as payment clearing journal in scenario 2024-10-14 15:16:00 +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
Sergi Almacellas Abellana 30d8036d88 Test invoice state on payment clearing scenario
Altougth the amount to paid is always zero the invoice state is updated
when the payment is succeded, so we must ensure it on the test scenario
2024-04-17 12:46:11 +02: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 70ebb98abb Replace payment wizard confirmation by button
A button is easier for the user to discover than a keyword action.
There is a small risk that user does not group the processing of payments but
it existed also wizard the keyword action and it is compensated largely by the
benefit of discoverability.
2023-08-04 18:29:30 +02: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 470d2152f3 Prepare migration to monorepo 2022-12-16 20:37:58 +01:00