odoo/odoo#193509

Created by Training, Louis Gobert (loug)
Merged at 1a58d065b2bd177b3be820e21014e6c6ee4a76b8

Statuses:

label
odoo-dev:18.0-l10n_eg_edi_eta-fix-not-include-rate-for-fixed-tax-loug
head
6d17c8c5a87af19878614a16facd404c2b36d7fa
merged
5 months ago by Accounting, Wala Gauthier (gawa)
odoo/odoo
18.0 #193509
saas-18.1 #195112
saas-18.2
saas-18.3
master #195127

[FIX] l10n_eg_edi_eta: remove rate for fixed taxes

To comply with Egyptian tax law, we need to remove rate for fixed taxes when sending data to ETA.

Official docs say: "if Channel = “ERP” OR Channel = “POS” and itemData[].taxableItems[].subType is fixed,
itemData[].taxableItems[].rate should be zero or omitted"

Source (point 36): https://sdk.invoicing.eta.gov.eg/main-calculations/

This fix ensure no values are sent for fixed tax type. Currently using null, which is invalid.

opw-4457780