Update of Snippets
This commit is contained in:
2 files changed
+26
No files matched your search
@@ -0,0 +1,8 @@
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
<xpath expr="//div[@id='informations']/div[@name='invoice_date']" position="before">
|
||||
<div class="col-auto mw-100 mb-2" t-if="o.partner_id.bocco_id" name="bocco_id">
|
||||
<strong>Bocco ID:</strong>
|
||||
<p class="m-0" t-field="o.partner_id.bocco_id" t-options="{"widget": "char"}"/>
|
||||
</div>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,18 @@
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
<xpath expr="//th[@name='th_subtotal']" position="replace">
|
||||
<th name="th_subtotal" class="text-end">
|
||||
<span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Amount</span>
|
||||
<span groups="gds_invoice.group_show_line_subtotals_tax_included">Total Amount</span>
|
||||
<!--
|
||||
<span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Betrag</span>
|
||||
<span groups="gds_invoice.group_show_line_subtotals_tax_included">Gesamtbetrag</span>
|
||||
-->
|
||||
</th>
|
||||
</xpath>
|
||||
<xpath expr="//td[@name='td_subtotal']" position="replace">
|
||||
<td name="td_subtotal" class="text-end o_price_total">
|
||||
<span t-field="line.price_subtotal" groups="gds_invoice.group_show_line_subtotals_tax_excluded"/>
|
||||
<span t-field="line.price_total" groups="gds_invoice.group_show_line_subtotals_tax_included"/>
|
||||
</td>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in new issue
Block a user