소스 검색

Agregar descuento en la factura

sebas 4 년 전
부모
커밋
ea0faa0473
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      factura_venta_smileguide.xml

+ 12 - 0
factura_venta_smileguide.xml

@@ -266,6 +266,18 @@
                                         <td class="art-col7"><span t-esc="'{0:,.0f}'.format((l.quantity * l.price_unit))"/></td>
                                    </tr>
                                 </table>
+                                <table class="tab-articulos1">
+                                  <td class="art-col1"></td>
+                                  <td class="art-col2"></td>
+                                  <td class="art-col3"><t t-if="o.amount_discount != 0"> Descuento: </t></td>
+                                  <td class="art-col4"></td>
+                                  <td class="art-col5"> </td>
+                                  <td class="art-col6"> </td>
+                                  <td class="art-col7">-<span t-esc="'{0:,.0f}'.format(o.amount_discount)"/></td>
+                                   <!-- <tr>
+                                       <t t-if="o.amount_discount != 0">Descuento:                 <span t-esc="'{0:,.0f}'.format(o.amount_discount)"/></t>
+                                    </tr> -->
+                                </table>
                             </div>
 
                              <div class="subtotal_data"> </div>