Skip to content

Commit

Permalink
[IMP] donation: credit transfer: analytic account from the bank state…
Browse files Browse the repository at this point in the history
…ment line
  • Loading branch information
norlinhenrik committed Mar 4, 2024
1 parent ad514d1 commit 15b236b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions donation/models/account_bank_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def _prepare_donation_vals(self, stline, move_line, payment_mode):
"product_id": company.donation_credit_transfer_product_id.id,
"quantity": 1,
"unit_price": amount,
"analytic_account_id": move_line.analytic_account_id.id or False,
}
partner = stline.partner_id
vals = {
Expand Down

0 comments on commit 15b236b

Please sign in to comment.