Sunday, April 14, 2024
2 changes · 17.0
Resolved issues and error corrections
This update fixes an issue where users in India received an unnecessary warning message when confirming vendor bills. The warning was intended only for electronic invoices, not for vendor bills. The fix adds a condition to ensure the warning only appears for customer invoices, allowing vendor bills to be confirmed without interruption.
Original PR description
…ndor bill Steps to Reproduce : - install indian Accounting module - click on invoice - go to vendor bills - create new Issue: - while creating new and confirming, it will throw a warning message, as this warning required only for eInvoice only (while confirming the invoice) not for vendor Bills. Cause: - while generating warning message there is no specific condition like that it is not for vendors Solution: - if we gave condition that this warning message is only for out_invoice then the issue will be solved. task-3657558 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#160573 Forward-Port-Of: odoo/odoo#147658
The Kenya fiscal device (Tremol) updated its requirements for price fields to accept a maximum of 5 decimal places. This fix ensures that prices sent to the device are properly formatted to comply with this requirement, preventing errors when processing transactions with higher decimal precision.
Original PR description
An update made to the tremol device has changed the expected content of the price field. It now expects up to 15 characters in this position, with a maximum of 5 decimal places. At present we can send prices with a decimal position greater than 5, doing so will result in an error from the fiscal device. This commit adapts the content that gets serialised in order to ensure that the decimal provided is no longer than 5 decimal places. task-id: none Forward-Port-Of: odoo/odoo#161802 Forward-Port-Of: odoo/odoo#161682