Commit Graph
12 Commits
Author SHA1 Message Date
Cédric Krier 001bfe69c6 Make payment group optional per process method 2024-12-15 19:06:20 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier 89c1127952 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
2024-03-30 11:32:22 +01:00
Cédric Krier 8d35781825 Permit to use deposit account for payment
97281a746606 removed this option that was available since 3255a31c30a2.

Closes #12910
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