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
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
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
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
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
034a402b59
Prevent user to modify clearing reconciled field on payment
...
Closes #12454
2023-08-05 19:32:59 +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
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
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
470d2152f3
Prepare migration to monorepo
2022-12-16 20:37:58 +01:00