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