ProyectoIntermodular/sync-service
luklpz df3775d96b fix: map Dolibarr tva_tx to PS id_tax_rules_group on product sync
Price with VAT was showing the same value as price without VAT because
id_tax_rules_group was hardcoded to 1 (no-tax group in this PS instance).

Now reads tva_tx from Dolibarr product, resolves the PS tax rule group
via a configurable map (integration.prestashop.tax-rule-groups), and
sets the correct group in the product XML. Defaults to
default-tax-rules-group-id when no mapping is found.

ES groups configured: 21% → 53, 10% → 54, 4% → 55.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 18:48:04 +02:00
..
.mvn/wrapper feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
src fix: map Dolibarr tva_tx to PS id_tax_rules_group on product sync 2026-05-28 18:48:04 +02:00
.gitattributes feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
.gitignore feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
.mise.toml fix: pin maven to 3.9.9 via .mise.toml to fix Railway build 2026-05-17 20:16:52 +02:00
mvnw feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
mvnw.cmd feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
pom.xml feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00