Commit Graph
58 Commits
Author SHA1 Message Date
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier 15b14f1c5d Increase version number
--HG--
branch : 7.0
2025-11-21 08:47:03 +01:00
Cédric Krier 88dd7d74ad Prepare release account_payment_clearing-7.0.6
--HG--
branch : 7.0
2025-11-21 08:46:53 +01:00
Cédric Krier d3c85a8ea8 Set a default value when calculating clearing reconcile of a payment group
Closes #14301
(grafted from 91174ccc69295c1735dad93d720e078ceff91e51)

--HG--
branch : 7.0
2025-11-02 16:53:22 +01:00
Cédric Krier a28693a4de Increase version number
--HG--
branch : 7.0
2025-02-16 12:39:18 +01:00
Cédric Krier f08718b5be Prepare release account_payment_clearing-7.0.5
--HG--
branch : 7.0
2025-02-16 12:39:10 +01:00
Cédric Krier d23b4b379b Use current account at the clearing date for clearing move of payment
Closes #13826
(grafted from af791b530047cf7c5023b7ccbc9b655edb497d29)

--HG--
branch : 7.0
2025-01-20 17:26:52 +01:00
Cédric Krier 698ddf7b85 Use payable or receivable account as fallback to create clearing move of payment
A payment, made on a journal with clearing setup, must always create a clearing
move even if no account or line are set.

Closes #13825
(grafted from e1fb741c56001439d79ebf1f3853be1ece9439bb)

--HG--
branch : 7.0
2025-01-20 17:25:25 +01:00
Cédric Krier 02c2c2ae3d Increase version number
--HG--
branch : 7.0
2025-02-01 18:18:24 +01:00
Cédric Krier 7e7e259919 Prepare release account_payment_clearing-7.0.4
--HG--
branch : 7.0
2025-02-01 18:18:14 +01:00
Cédric Krier 2e5d364979 Set company in the context of clearing journal
Closes #13591
(grafted from 20987ca4c2cacef09fa96c5d0b8d35150f5df00f)

--HG--
branch : 7.0
2024-10-10 17:00:14 +02:00
Cédric Krier d73cf0201f Increase version number
--HG--
branch : 7.0
2024-10-18 14:22:06 +02:00
Cédric Krier 93b6ab6a90 Prepare release account_payment_clearing-7.0.3
--HG--
branch : 7.0
2024-10-18 14:21:59 +02:00
Sergi Almacellas Abellana 88a19f3fd9 Do not unpack payment groups when applying statement rules
Closes #13569
(grafted from 3d677f970da3c675ba81ab8b6755ad5865512112)

--HG--
branch : 7.0
2024-10-07 12:21:52 +02:00
Cédric Krier f64a3b6d93 Use expense journal instead of expense account as payment clearing journal in scenario
(grafted from c8d00666ed773634be0dc970ba75631123c053bd)

--HG--
branch : 7.0
2024-10-14 15:16:00 +02:00
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