Skip to content

Commit

Permalink
[hr_timesheet_accrue_income] 8.0.1.2.2
Browse files Browse the repository at this point in the history
* Add analytic_account_id for each account.move.line created
  • Loading branch information
andhit-r committed Feb 20, 2021
1 parent efb9784 commit 35d5cc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hr_timesheet_accrue_income/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Generate Accrue Income Based On Timesheet Details",
"version": "8.0.1.2.1",
"version": "8.0.1.2.2",
"website": "https://simetri-sinergi.id",
"author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia",
"license": "AGPL-3",
Expand Down
1 change: 1 addition & 0 deletions hr_timesheet_accrue_income/models/hr_analytic_timesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def _prepare_accrue_income_line(self):
amount = self.unit_amount * self.account_id.prepaid_price_unit
return (0, 0, {
"account_id": self._get_accrue_income_account().id,
"analytic_account_id": self.account_id.id,
"credit": 0.0,
"debit": amount,
"partner_id": self._get_accrue_income_partner().id,
Expand Down

0 comments on commit 35d5cc5

Please sign in to comment.