Skip to content

[18.0][FIX] hr_expense_invoice: Set the correct tax amount on the invoice being created#333

Open
victoralmau wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-hr_expense_invoice-issue-332
Open

[18.0][FIX] hr_expense_invoice: Set the correct tax amount on the invoice being created#333
victoralmau wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-hr_expense_invoice-issue-332

Conversation

@victoralmau
Copy link
Member

Set the correct tax amount on the invoice being created

Fixes #332

Please @pedrobaeza and @dtec-landoo can you review it?

@Tecnativa

@pedrobaeza pedrobaeza added this to the 18.0 milestone Mar 18, 2026
include 1.30 in taxes.
"""
tax_amount = self.tax_amount_currency
if float_is_zero(tax_amount, precision_rounding=self.currency_id.rounding):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why adding this condition? Isn't enough with the following one?

@dtec-landoo
Copy link

dtec-landoo commented Mar 18, 2026

Hi! Thanks for working on this PR. I've been doing some testing and I noticed an unexpected behavior:

  1. Go to the Vendor Bill in the expense.

  2. Select a Vendor.
    Issue: The total amount changes automatically.

In my opinion, the total amount shouldn't change just by selecting the vendor. Could you please check this?

image image

@pedrobaeza @victoralmau @Laikar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX][18.0] hr_expense_invoice: decimal discrepancy in expense reports

4 participants