Skip to content

Commit

Permalink
[IMP] l10n_do_accounting: load report_templates.xml data
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-pcg committed Jul 27, 2023
1 parent 05930aa commit 7c081fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions l10n_do_accounting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"category": "Localization",
"license": "LGPL-3",
"website": "https://github.com/odoo-dominicana",
"version": "16.0.0.0.7",
"version": "16.0.0.0.8",
# any module necessary for this one to work correctly
"depends": ["l10n_latam_invoice_document", "l10n_do"],
# always loaded
Expand All @@ -26,7 +26,7 @@
"views/account_dgii_menuitem.xml",
"views/account_journal_views.xml",
"views/l10n_latam_document_type_views.xml",
# "views/report_templates.xml",
"views/report_templates.xml",
"views/report_invoice.xml",
],
# only loaded in demonstration mode
Expand Down
17 changes: 8 additions & 9 deletions l10n_do_accounting/views/report_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@
</xpath>
</template>

<!-- do not show partner address on document header when l10n do invoice -->
<!--<template id="external_layout_clean_inherited" inherit_id="web.external_layout_clean">
<xpath expr="//div[hasclass('o_clean_header')]/div/div[@name='company_address']" position="attributes">
<template id="external_layout_striped_inherited" inherit_id="web.external_layout_striped">
<xpath expr="//div[hasclass('company_address')]" position="attributes">
<attribute name="t-if">doc_model != "account.move" or (doc_model == "account.move" and o.country_code != "DO")</attribute>
</xpath>
</template>-->
<template id="external_layout_standard_inherited" inherit_id="web.external_layout_standard">
</template>
<template id="external_layout_boxed_inherited" inherit_id="web.external_layout_boxed">
<xpath expr="//div[@name='company_address']" position="attributes">
<attribute name="t-if">doc_model != "account.move" or (doc_model == "account.move" and o.country_code != "DO")</attribute>
</xpath>
</template>
<!--<template id="external_layout_background_inherited" inherit_id="web.external_layout_background">
<xpath expr="//div[hasclass('company_address')]" position="attributes">
<template id="external_layout_bold_inherited" inherit_id="web.external_layout_bold">
<xpath expr="//div[@name='company_address']" position="attributes">
<attribute name="t-if">doc_model != "account.move" or (doc_model == "account.move" and o.country_code != "DO")</attribute>
</xpath>
</template>-->
<template id="external_layout_boxed_inherited" inherit_id="web.external_layout_boxed">
</template>
<template id="external_layout_standard_inherited" inherit_id="web.external_layout_standard">
<xpath expr="//div[@name='company_address']" position="attributes">
<attribute name="t-if">doc_model != "account.move" or (doc_model == "account.move" and o.country_code != "DO")</attribute>
</xpath>
Expand Down

0 comments on commit 7c081fa

Please sign in to comment.