odoo/odoo#198821

Created by fw-bot
Merged at f3fa39b4206ba57d5ca9ebcb76b736eb97b4cd8d

Statuses:

label
odoo-dev:saas-18.2-18.0-fix-latam-hu-report-layout-roan-417927-fw
head
fe28de33b12bc814e40d8c361b489de565a4d8c3
merged
3 months ago by Accounting, Habib Ayob (ayh)
odoo/odoo
18.0 #198744
saas-18.1 #198800
saas-18.2 #198821
saas-18.3
master #198845

[FW][FIX] l10n_{hu_edi,latam_invoice_document}: wrong xpath report layouts

Commit 9d986db17f14c7fcc05ba30df59b07b8c37d0a9d introduced a regression that caused l10n_latam_invoice_document to lose its header for the striped layout.

In addition due to different position of the header img tag in the standard layout template HTML tree, l10n_hu_edi also required explicit base standard layout header classes in its attributes. This was caused by the xpath //img/../.. introduced in f86238d7c872b3f025085831d50f1896168b6274 which thus unintentionally removed these classes

opw-4593505

Forward-Port-Of: #198744