Thursday, November 20, 2025
2 changes · 17.0
Enhancements to existing features
This update makes the Indonesian E-Faktur Coretax export compute VAT-related values using the correct tax groups, which helps avoid incorrect invoice data in the XML file. It also adds a new tax group, updates related tax definitions, and restricts when the Coretax XML can be downloaded to reduce the risk of generating an invalid export.
Original PR description
Update Coretax XML file to compute the values for nodes in the correct way. Currently the computation is based on the invoice type for some of the nodes + STLG is based on wrong tax group. This leads to wrong computation of values + inflexibility. - Update the VAT calculation inside the E-faktur XML based on tax group - Add new tax group and modify existing tax - Add restriction when downloading E-faktur Coretax XML Task [#4948267](https://www.odoo.com/odoo/project.task/4948267)
This update improves how GSTR-2B issues are handled by recognizing an additional error code and treating it as a warning. It also prevents background jobs from reprocessing records that are already in an error state, which reduces unnecessary processing and helps keep return period handling more reliable.
Original PR description
Before this commit: - `RET2B1017` error code was not handled. - Cron methods `_cron_get_gstr2b_data` and `_cron_gstr2b_match_data` processed all records with status: - `"waiting_reception"` - `"being_processed"` - Records with blocking level `"error"` were still being processed by cron. After this commit: - Added handling for `RET2B1017` and mapped it to `"warning"` level. - Updated cron domain filters to exclude records where `gstr2b_blocking_level = "error"`. - Cron jobs now skip invalid/error-state return periods, preventing unnecessary processing.