[FIX] web: match preview of invoice and its report
Steps to reproduce:
- Make an invoice and setup the layout of the document
- A preview will be displayed
- Make the invoice and download it
Issues:
The layout of the preview and the invoice doesn't match the updated layout from commit 3764914c86.
Solution:
Correct the view of the report templates.
opw-3584286
closes odoo/odoo#145815
X-original-commit: 778cc239010f3bb8618824fdaf06cb19922d6498
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
@@ -5474,6 +5474,12 @@ msgid ""
|
||||
" INV/2023/00003</span></b>"
|
||||
msgstr ""
|
||||
|
||||
#. module: web
|
||||
#: model_terms:ir.ui.view,arch_db:web.report_invoice_wizard_preview
|
||||
msgid ""
|
||||
"Payment Communication: <b><span>INV/2023/00003</span></b>"
|
||||
msgstr ""
|
||||
|
||||
#. module: web
|
||||
#. odoo-javascript
|
||||
#: code:addons/web/static/src/views/fields/many2one/many2one_field.js:0
|
||||
|
||||
@@ -188,8 +188,16 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="clearfix">
|
||||
<div id="total" class="row">
|
||||
<div class="col-6 ms-auto">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<p name="payment_term">
|
||||
<span>Payment terms: 30 Days</span>
|
||||
</p>
|
||||
<p>
|
||||
Payment Communication: <b><span>INV/2023/00003</span></b>
|
||||
</p>
|
||||
</div>
|
||||
<div id="total" class="col-md-6">
|
||||
<table class="table table-sm table-borderless" style="page-break-inside: avoid; position:relative;">
|
||||
<tbody><tr class="border-black o_subtotal" style="">
|
||||
<td><strong>Untaxed Amount</strong></td>
|
||||
@@ -214,13 +222,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mt-4">
|
||||
Please use the following communication for your payment : <b><span>
|
||||
INV/2023/00003</span></b>
|
||||
</p>
|
||||
<p name="payment_term">
|
||||
<span>Payment terms: 30 Days</span>
|
||||
</p>
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user