[18.0][ADD] account_analytic_payment - #960
Open
rjaraspearhead wants to merge 1 commit into
Open
Conversation
Author
|
ping @celm1990 |
rjaraspearhead
force-pushed
the
18.0-add-account_analytic_payment
branch
from
August 17, 2026 02:11
3a7d414 to
269c8c1
Compare
2 tasks
celm1990
approved these changes
Aug 17, 2026
celm1990
left a comment
There was a problem hiding this comment.
LGTM.
@pedrobaeza @victoralmau, could you please review this? Should this feature be merged here or in the account-payment repository?
Member
|
The name should be IMO |
Inherit analytic.mixin on account.payment and on the account.payment.register wizard to set an analytic distribution when creating a payment (standalone or from an invoice/bill). On post, the distribution is propagated to the counterpart journal item (the receivable/payable line).
rjaraspearhead
force-pushed
the
18.0-add-account_analytic_payment
branch
from
August 19, 2026 21:50
269c8c1 to
2f50c33
Compare
Author
Rename done |
|
In this PR, OCA/account-payment#969, a new module with a similar feature is proposed. If this name doesn't conflict with another module, it's OK for me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Module:
account_analytic_paymentNew module that adds an analytic distribution on
account.payment(inheriting
analytic.mixin) and propagates it to the accounting entry.What it does
(widget
analytic_distribution, under the analytic accounting group).(the receivable/payable line,
destination_account_id) via an override of_prepare_move_counterpart_lines.Why the counterpart line
The receivable/payable line is the meaningful one for downstream analysis and
keeps it consistent with the payment-lines module (which lists receivable /
payable accounts).
Tests
@OCA/accounting-maintainers