[FIX] sale: invoice template
- Activate the Sale option 'Tax-Included Prices' - Create and print an invoice => the total is displayed on each line - Activate the Sale option 'Sections on Sales Orders' - Create and print an invoice => the total is NOT displayed on each line The option 'Tax Display' only applies to SO, not to invoices. Moreover, we make consistent the wording. opw-1856623
This commit is contained in:
committed by
Nicolas Martinelli
parent
7a768bba8f
commit
10253a735f
@@ -338,6 +338,11 @@ msgstr ""
|
||||
msgid "Allows you to specify an analytic account on sales orders."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale
|
||||
#: model:ir.ui.view,arch_db:sale.report_invoice_layouted
|
||||
msgid "Amount"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale
|
||||
#: model:ir.model.fields,field_description:sale.field_crm_team_sales_to_invoice_amount
|
||||
msgid "Amount of sales to invoice"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<th class="text-right">Unit Price</th>
|
||||
<th t-if="display_discount" class="text-right" groups="sale.group_discount_per_so_line">Disc.(%)</th>
|
||||
<th class="text-right">Taxes</th>
|
||||
<th class="text-right" groups="sale.group_show_price_subtotal">Price</th>
|
||||
<th class="text-right">Amount</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="invoice_tbody">
|
||||
@@ -45,7 +45,7 @@
|
||||
<td class="text-right">
|
||||
<span t-esc="', '.join(map(lambda x: x.description or x.name, l.invoice_line_tax_ids))"/>
|
||||
</td>
|
||||
<td class="text-right" groups="sale.group_show_price_subtotal">
|
||||
<td class="text-right">
|
||||
<span t-field="l.price_subtotal"
|
||||
t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user