OCA / hr-expense

Human Resources Expenses OCA modules for Odoo
GNU Affero General Public License v3.0
50 stars 103 forks source link

its not holding vat account during posting #219

Closed Jomuab closed 2 months ago

Jomuab commented 10 months ago

Module

hr_expense_petty_cash

Describe the bug

incorrect posting when the expense have VAT, instead of holding VAT account, it will hold the pettycash holder account

To Reproduce

13:

Steps to reproduce the behavior: 1. 2. 3.

Expected behavior -I expected to post the vat amount to the vat receivable account at debit side instead of the pettycash holder account. -I expected the total amount of the expense to be posted on the credit side of the pettycash holder account instead of the trade creditor account -I expected the deducted amount(Total amount-vat amount) to be posted to the debit side of the expense account(product account)

this is the current issue image

this is the actual expectation image

Additional context Add any other context about the problem here. (e.g. OS, Python version, ...)

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.