Skip to content

Commit

Permalink
[FIX] cb_sale_report_invoice: fix module group
Browse files Browse the repository at this point in the history
  • Loading branch information
kluna1998 authored and etobella committed Feb 27, 2025
1 parent ef2515e commit 2ba7661
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cb_sale_report_invoice/views/report_invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
inherit_id="account.report_invoice_document"
>
<xpath expr="//address" position="attributes">
<attribute name="groups">!sale.group_delivery_invoice_address</attribute>
<attribute name="groups">!account.group_delivery_invoice_address</attribute>
</xpath>
<xpath expr="//address" position="before">
<t t-if="o.partner_shipping_id and (o.partner_shipping_id != o.partner_id)">
<t t-set="information_block">
<div groups="sale.group_delivery_invoice_address">
<div groups="account.group_delivery_invoice_address">
<strong>Invoicing Address:</strong>
<div
t-field="o.partner_id"
Expand All @@ -21,14 +21,14 @@
<div
t-field="o.partner_shipping_id"
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
groups="sale.group_delivery_invoice_address"
groups="account.group_delivery_invoice_address"
/>
</t>
<div
t-field="o.partner_id"
t-else=""
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
groups="sale.group_delivery_invoice_address"
groups="account.group_delivery_invoice_address"
/>
</xpath>
</template>
Expand Down

0 comments on commit 2ba7661

Please sign in to comment.