accounting: allow any transaction type as causality of invoice
The main motivation is to allow to use Internal Invoice Transaction as causality of Internal Invoice Transaction, so that when they are posted the automatic grouping takes place. A side effect is that now users can also create transaction as causality of Balance Transaction, not really expected, but not really a problem.
Showing
-
Developer
Not sure if this is planned to be merged as topic, but the MR writes:
Reconfigure Causality (Invoices ...) relation fieds to allow selecting internal transaction (so that when creating the "payment" internal transaction, we connect it to the "invoice" internal transaction and grouping reference is set automatically when posting to general ledger.
and it is a bit different of what happens allowing every portal type. So to consider:
- Maybe edit the MR message (like "Reconfigure Causality (Invoices ...) relation fieds to allow allow every portal type, so also Internal Invoice Transaction ...")?
- I generally prefer not to filter by portal types in relation fields, but one could say why not just add Internal Invoice Transaction instead of allowing every type.
EDIT: I put this as comment in f5acdc4c, but also appears on MR, so to clarify
-
Owner
Thanks, I amended as you suggested.
Please register or sign in to comment