Przeglądaj źródła

Modificar factura pos ferresur.

Sebas 5 lat temu
rodzic
commit
eebc871684
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      factura_venta_ferresur.xml
  2. 2 2
      factura_ventainvoice_ferresur.xml

+ 2 - 2
factura_venta_ferresur.xml

@@ -263,10 +263,10 @@
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:2.5cm;overflow: auto; text-align: center;"></td>
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:7cm;overflow: auto; text-align: left;">
                                                     <t t-if="o.currency_id.id == 166">
-                                                        <div>Gs <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
+                                                        <div>Gs <span t-esc="convertir('%.0f'%o.amount_total,o.currency_id.en_letras)"/></div>
                                                     </t>
                                                     <t t-if="o.currency_id.id != 166">
-                                                        <div>Dólares <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
+                                                        <div>Dólares <span t-esc="convertir('%.0f'%o.amount_total,o.currency_id.en_letras)"/></div>
                                                     </t>
                                                 </td>
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:2cm;overflow: auto; text-align: center;"></td>

+ 2 - 2
factura_ventainvoice_ferresur.xml

@@ -261,10 +261,10 @@
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:2.5cm;overflow: auto; text-align: center;"></td>
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:7cm;overflow: auto; text-align: left;">
                                                     <t t-if="o.currency_id.id == 166">
-                                                        <div>Gs <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
+                                                        <div>Gs <span t-esc="convertir('%.0f'%o.amount_total,o.currency_id.en_letras)"/></div>
                                                     </t>
                                                     <t t-if="o.currency_id.id != 166">
-                                                        <div>Dólares <span t-esc="convertir(o.amount_total,o.currency_id.en_letras)"/></div>
+                                                        <div>Dólares <span t-esc="convertir('%.0f'%o.amount_total,o.currency_id.en_letras)"/></div>
                                                     </t>
                                                 </td>
                                                 <td style="padding-top:0.3cm;font-size:10px;font-family: Arial;width:2cm;overflow: auto; text-align: center;"></td>