16 Commits
Author SHA1 Message Date
Cédric Krier 905a2b20ba Rename invoice method on shipment into on fulfillment 2026-02-25 11:37:37 +01:00
Cédric Krier c013aed083 Do not try to cancel move in shipment in anglo-saxon test scenario
Instead it is the shipment that must be tried to be cancelled because the
cancel button on move is forbidden if it is in a shipment.
2026-02-11 10:57:23 +01:00
Cédric Krier a3af9cdb68 Remove default invoice type using the context
Since 6693e138391b the context keyword is no more used.
2026-01-17 18:12:55 +01:00
Cédric Krier 716b0b2ed6 Remove access right tests in scenario
The access rights are now only a configuration matter.
2025-03-30 15:22:07 +02:00
Cédric Krier c3cc1fdd80 Update test scenario to use "Accounting" in group names
The name of the groups have been updated in e5f6780b95b7.
2025-03-30 12:06:59 +02:00
Cédric Krier 597ad2af0a Forbid to cancel stock move used for anglo-saxon accounting
Closes #13597
2024-10-14 17:54:40 +02:00
Cédric Krier a3ada4ef98 Replace minimal by universal chart of account
Closes #9642
2024-10-13 23:55:37 +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 8666e82b80 Rename 'done' buttons to 'do' and label them as "Complete"
Closes #13039
2024-02-17 17:50:49 +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 a44c520de8 Fill unit price of purchase line in test scenario
Since 2f25450e11f6 the unit price is no more filled if there is no supplier
price or previous purchase.
2023-09-11 22:07:13 +02:00
Cédric Krier 606e1cf2d6 Update scenario to use supply on sale as selection since #11955
Closes #12113
2023-02-28 23:45:34 +01:00
Cédric Krier 69a1be6404 Assign all possible shipments and productions when trying
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.

Closes #7006
2023-01-14 15:41:26 +01:00
Sergi Almacellas Abellana 9d7dfddb6e Run isort on all files 2023-01-11 14:42:13 +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 21322ed96b Prepare migration to monorepo 2022-12-16 19:59:42 +01:00