Commit Graph
43 Commits
Author SHA1 Message Date
Cédric Krier 9e4e60c9b8 Increase version number
--HG--
branch : 7.0
2024-04-17 12:45:23 +02:00
Cédric Krier cfe8f8a3ba Prepare release account_payment_clearing-7.0.2
--HG--
branch : 7.0
2024-04-17 12:45:12 +02:00
Cédric Krier 3e057b5865 Enforce clearing account type only on draft payment
As the receivable, payable type may evolve over time, only draft state should
enforce it.

Closes #13145
(grafted from b328583085791f9873ce068c48e62e5d55a3d5b7)

--HG--
branch : 7.0
2024-03-30 11:32:22 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 6ba511809e Increase version number
--HG--
branch : 7.0
2024-01-16 00:22:14 +01:00
Cédric Krier 7b6dfd965f Prepare release account_payment_clearing-7.0.1
--HG--
branch : 7.0
2024-01-16 00:22:05 +01:00
Cédric Krier acc62cecb3 Permit to use deposit account for payment
97281a746606 removed this option that was available since 3255a31c30a2.

Closes #12910
(grafted from b835e9473ea18bfcc8aa10b58bca7edb544e0a88)

--HG--
branch : 7.0
2024-01-08 17:29:26 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 034a402b59 Prevent user to modify clearing reconciled field on payment
Closes #12454
2023-08-05 19:32:59 +02:00
Cédric Krier ef1405dda7 Update documentation of account_payment_clearing 2023-08-05 19:54:57 +02:00
Cédric Krier 8f92935054 Limit account on payment to receivable or payable
It is the same constraint as for the line.
2023-08-04 23:32:33 +02:00
Cédric Krier d32abf6d36 Ensure payment line and account are not filled both
If there are filled both, we must display them so user can clear one.
2023-08-04 21:32:15 +02:00
Cédric Krier 86dae30d70 Fill receivable payment account when selecting party
By default a receivable payment should be cleared with the receivable account
of the party.
2023-08-04 21:31:27 +02:00
Cédric Krier 15baadf36e Remove fail an succeed button from payment list
Since the state is always updated by statement, those buttons are less useful
on a list view.
2023-08-04 21:24:49 +02:00
Cédric Krier 7433569b5b Mark Payment as succeeded or failed when imported in statement
The state of the payment is modified by statement even if there is no
clearing.
2023-08-04 19:44:55 +02: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 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 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 0fe7228d58 Try to post only clearing move of journals from the contextual company
Closes #12453
2023-08-05 00:27:11 +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 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 9403abd791 Search only for statement related to records valid when applying rules
Closes #12185
2023-04-11 10:44:08 +02:00
Cédric Krier f11d7be10c Use correct name for payment group model in statement rule matching 2023-04-08 17:52:26 +02:00
Cédric Krier 2c38fbc5c4 Compute related to from statement rules all at once
This ensures that only unambiguous value is set and only once.

Closes #12123
2023-04-08 17:51:06 +02:00
Cédric Krier e6383f0804 Ensure clearing account is from the same company as the payment journal
Closes #12159
2023-03-24 12:33:54 +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 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 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 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 470d2152f3 Prepare migration to monorepo 2022-12-16 20:37:58 +01:00