Skip to content

Commit 04f1bb9

Browse files
committed
refactor: simplify invoice report structure by removing original title and refining information section
1 parent 5e61f96 commit 04f1bb9

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

l10n_do_accounting/views/report_invoice.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,19 +235,13 @@
235235
<attribute name="style">font-size: 14px;</attribute>
236236
</xpath>
237237

238-
<xpath expr="//div[hasclass('oe_structure')]" position="replace"/>
239-
240-
<!-- Oculta el título original del documento en el body;
241-
el título se renderiza desde custom_header -->
242-
<xpath expr="//h2[.//span[@t-field='o.name']]" position="replace"/>
243-
244238
<!-- Ocultar dirección por defecto si existe -->
245239
<xpath expr="//t[@t-set='address']" position="replace">
246240
<t t-set="address" t-value="False"/>
247241
</xpath>
248242

249-
<!-- Reemplaza el bloque superior original (address + informations) -->
250-
<xpath expr="//div[@id='informations']/ancestor::div[1]" position="replace">
243+
<!-- Reemplazar la sección de información -->
244+
<xpath expr="//div[@id='informations']" position="replace">
251245
<t t-call="l10n_do_accounting.informations"/>
252246
</xpath>
253247

0 commit comments

Comments
 (0)