Monday, December 1, 2025
1 change · 17.0
Resolved issues and error corrections
This update resolves a problem where invoice counters submitted to the Jordanian tax authority (ISTD) were not consistently sequential. The fix utilizes a new calculation to ensure counters are always in order, meeting ISTD requirements and preventing potential export delays. This improves the accuracy and reliability of our Jordan-specific accounting processes.
Original PR description
Before this commit, the invoice counter in the XML submitted to JoFotara was set to the move id. The problem with the move id is that it's not guaranteed that submitted counters would be sequential; they may contain gaps or even be out of order. The ISTD expects counters to be sequential. This commit solves this issue by relying on a computed field in assigning invoice counter in the EDI XML. task-4632768 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr