Skip to content

Commit

Permalink
[8.0.1.0.1] hr_timesheet_accrue_expense
Browse files Browse the repository at this point in the history
  • Loading branch information
andhit-r committed Apr 15, 2020
1 parent 273d1d7 commit a393c34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hr_timesheet_accrue_expense/__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 Expense Based On Timesheet Details",
"version": "8.0.1.0.0",
"version": "8.0.1.0.1",
"website": "https://simetri-sinergi.id",
"author": "PT. Simetri Sinergi Indonesia, OpenSynergy Indonesia",
"license": "AGPL-3",
Expand Down
4 changes: 2 additions & 2 deletions hr_timesheet_accrue_expense/models/hr_analytic_timesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _prepare_accrue_expense_line(self):
self.ensure_one()
return (0, 0, {
"account_id": self._get_accrue_expense_account().id,
"credit": self.amount,
"credit": abs(self.amount),
"debit": 0.0,
"partner_id": self._get_partner().id,
"name": self.name,
Expand All @@ -185,7 +185,7 @@ def _prepare_expense_line(self):
self.ensure_one()
return (0, 0, {
"account_id": self._get_expense_account().id,
"debit": self.amount,
"debit": abs(self.amount),
"credit": 0.0,
"partner_id": self._get_partner().id,
"name": self.name,
Expand Down

0 comments on commit a393c34

Please sign in to comment.