Skip to content

Commit

Permalink
[FIX] Use Account ID instead of Analytic ID
Browse files Browse the repository at this point in the history
  • Loading branch information
agyamuta authored and dreispt committed Aug 27, 2023
1 parent c26b9d1 commit 0f56fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_analytic_wip/models/account_analytic_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _prepare_account_move_line(self, account, amount):
"product_uom_id": self.product_id.uom_id.id,
"debit": amount if amount > 0.0 else 0.0,
"credit": -amount if amount < 0.0 else 0.0,
"account_id": self.analytic_id.id,
"account_id": account.id,
}

def _get_accounting_data_for_valuation(self):
Expand Down

0 comments on commit 0f56fab

Please sign in to comment.