Skip to content

v4.1.3

Latest

Choose a tag to compare

@FawazAlhafiz FawazAlhafiz released this 25 Nov 09:25
9c205ba

Highlights

  • ZATCA private key copies removed. Onboarding used to leave a copy of each register's ZATCA private key in the site's private files. New onboarding runs no longer do this, and migrate deletes the copies whose key is saved on an Optima Zatca Setting. Any it keeps are listed in the Error Log under "Optima ZATCA: key file cleanup". Files backups taken before this release still contain the key, so store them as carefully as the database, and delete the ones you no longer need (#118).
  • Item Tax Templates are checked on the invoice line. Items no longer need an Item Tax row. In Phase Two, a Saudi company's Sales Invoice can't be saved while a line has no Item Tax Template, and the message names every such row (#132).
  • Send to ZATCA refuses invoices ZATCA would reject: an invoice ZATCA already accepted (#128), and an item name shorter than 3 characters (#127).
  • Onboarding fixes. Sample invoices load again (#119). A sample invoice that fails before reaching ZATCA is logged in the Error Log instead of being shown as a ZATCA rejection (#137).
  • Install DaaD for an Arabic desk. Optima ZATCA no longer ships ERPNext's Arabic translation, the Almarai desk font or the Riyal sign. Without DaaD, the desk falls back to core's Arabic and loses the Riyal sign (#142).

Deploy

Update optima_zatca to version-16, then run bench --site <site> migrate, bench build --app optima_zatca, bench --site <site> clear-cache and bench restart. The migration runs two new patches: one cleans up the leftover key files, the other makes the Item Tax table on Item optional again.

What's Changed

  • fix(csr): stop leaving the ZATCA private key in the site's private files by @FawazAlhafiz in #118
  • fix(onboarding): load the sample invoices from their capitalised folder by @FawazAlhafiz in #119
  • fix(vat-reports): show VAT after returns in the summary and remove the Journal Entry lookup by @FawazAlhafiz in #122
  • fix(invoice-validation): stop sending invoices whose item name is under 3 characters by @FawazAlhafiz in #127
  • fix(invoice-validation): refuse to resend an invoice ZATCA already accepted by @FawazAlhafiz in #128
  • fix(item-tax): check tax templates on the invoice line, not on every Item by @FawazAlhafiz in #132
  • fix(onboarding): stop reporting a sample invoice that never reached ZATCA as rejected by @FawazAlhafiz in #137
  • refactor(arabic-desk): leave the Arabic translation, desk font and Riyal sign to DaaD by @JamilKh0ja in #140
  • [Backport version-16] refactor(arabic-desk): leave the Arabic translation, desk font and Riyal sign to DaaD by @JamilKh0ja in #142
  • chore: release v4.1.3 by @FawazAlhafiz in #143
  • chore(release): bump version to 4.1.3 by @FawazAlhafiz in #144

Full Changelog: v4.1.2...v4.1.3