Skip to content

Commit

Permalink
[FIX] l10n_ar_stock: report signature section adjustment
Browse files Browse the repository at this point in the history
X-original-commit: baf9ff5
  • Loading branch information
vib-adhoc committed Jan 27, 2023
1 parent 14f5aab commit baeec8b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
4 changes: 2 additions & 2 deletions l10n_ar_stock/__manifest__.py
@@ -1,6 +1,6 @@
{
'name': 'Remitos, COT y demas ajustes de stock para Argentina',
'version': "16.0.1.0.0",
'version': "16.0.1.1.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down Expand Up @@ -32,4 +32,4 @@
'installable': True,
'auto_install': False,
'application': False,
}
}
34 changes: 29 additions & 5 deletions l10n_ar_stock/views/report_deliveryslip.xml
Expand Up @@ -40,6 +40,32 @@
<div class="row">
<div name="footer_left_column" class="col-8 text-center">
<img t-if="o.l10n_ar_afip_barcode" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;humanreadable=1' % ('I2of5', o.l10n_ar_afip_barcode)" alt="Barcode" style="height:80px"/>
<t t-if="o.book_id.report_signature_section and not o.l10n_ar_afip_barcode">
<table class="table table-borderless table-sm">
<thead>
<tr>
<th width="25%">Recibí conforme:</th>
<th width="25%"></th>
<th width="25%"></th>
<th width="25%"></th>
</tr>
</thead>
<tbody>
<tr>
<th style="text-align: center;">____ / ____ / ____</th>
<td><hr style="border: 1px solid #000000;"/></td>
<td><hr style="border: 1px solid #000000;"/></td>
<td><hr style="border: 1px solid #000000;"/></td>
</tr>
<tr>
<th style="text-align: center;">Fecha</th>
<th style="text-align: center;">DNI</th>
<th style="text-align: center;">Firma</th>
<th style="text-align: center;">Aclaración</th>
</tr>
</tbody>
</table>
</t>
</div>
<div name="footer_right_column" class="col-4 text-right">
<div t-if="not o.book_id.lines_per_voucher and o.book_id.l10n_ar_cai">
Expand Down Expand Up @@ -121,10 +147,8 @@
</div>

<table name="stock_move_line_table" position="after">
<t t-if="o.book_id.report_signature_section">
<br/>
<br/>
<table class="table table-borderless">
<t t-if="o.book_id.report_signature_section and o.l10n_ar_afip_barcode">
<table class="table table-borderless table-sm">
<thead>
<tr>
<th width="25%">Recibí conforme:</th>
Expand All @@ -135,7 +159,7 @@
</thead>
<tbody>
<tr>
<th width="25%">Fecha: _____ / _____ / _____</th>
<th width="25%">Fecha: ____ / ____ / ____</th>
<td><hr style="border: 1px solid #000000;"/></td>
<td><hr style="border: 1px solid #000000;"/></td>
<td><hr style="border: 1px solid #000000;"/></td>
Expand Down

0 comments on commit baeec8b

Please sign in to comment.