Fix: Incorrect tax calculation after room reallocation

This commit is contained in:
Aman deep sharma
2025-06-30 16:37:32 +05:30
parent 569c093b00
commit f70c8a99d2
6 changed files with 130 additions and 6 deletions

View File

@@ -650,7 +650,7 @@ class OrderInvoiceCore extends ObjectModel
'total_price_tax_excl' => 0,
'total_amount' => 0,
'id_tax' => $row['id_tax'],
'rate' => $key,
'rate' => sprintf('%.3f', $row['tax_rate']),
);
}