Commit Graph
42 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 2743dc7a06 Set IGNORE_EXCEPTION_DETAIL option flag on doctest
Closes #12877
2023-12-28 14:39:39 +01:00
Cédric Krier 88dc4b90dd Prevent to delete lines and origins of statements not cancelled or in draft
Closes #12678
2023-10-28 14:31:35 +02:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier 71771568e3 Apply dualmethod decorator to post method of account move
Since efdb98eb55e5 the original method is a dualmethod.

Closes #12682
2023-10-28 10:56:33 +02:00
Cédric Krier 35cff3c11c Update statement lines amount from invoice when changing origins
2b9a72775e4c made the change for on_change_lines but forgot to also update
on_change_origins.

Closes #12672
2023-10-26 17:58:18 +02:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier c34add03ad Do not copy account statement descriptions to moves nor lines
Since 73fda56fc994 the description of the origin is used as fallback.

Closes #12615
2023-10-05 12:55:43 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier ad6e147083 Prepend statement journal with Statement 2023-08-05 22:00:10 +02:00
Cédric Krier 14bc5d2a6c Use selection widget for journal fields
It is expected to have only a small number of journals.
But also it is uncommon to create of a new journal from a form.
So it provides a better user experience to use a selection widget.
2023-08-06 00:34:16 +02:00
Cédric Krier 69c88b6a8a Do not apply unaccent when searching on number fields
Closes #12435
2023-08-03 15:54:33 +02:00
Cédric Krier ad0b2411c8 Order number fields first by length
This is more natural for incremental field.
2023-08-03 15:53:18 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Cédric Krier 5335a2022d Convert sum attribute into boolean 2023-05-06 14:25:22 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier 51b7fe72f8 Support invoice payment with currency exchange
Closes #11500
2023-02-16 18:59:06 +01:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 4e26c991c7 Do not remove related_to from statement line when changing the amount
Closes #12176
2023-04-01 14:17:25 +02:00
Cédric Krier 1b6644a9a5 Split line also when amount to pay of invoice is zero
Closes #7707
2023-02-21 13:53:43 +01:00
Cédric Krier d62a64e186 Allow statement line with amount of zero 2023-02-21 12:37:07 +01:00
Cédric Krier 45bbfa8fb5 Add cache to account period find and return instance
Closes #7705
2023-02-10 23:36:18 +01:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +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 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier 8e7bd89b29 Replace label by literal in documentation 2022-12-20 14:07:50 +01:00
Cédric Krier c35e1ad98d Use modulo on minor version to set latest series for documentation 2022-12-20 12:43:56 +01:00
Cédric Krier 5d3e4a39f2 Prepare migration to monorepo 2022-12-16 23:16:08 +01:00
Cédric Krier b24fbc0046 Prepare migration to monorepo 2022-12-16 20:08:38 +01:00