Explorar el Código

[FIX] ajuste de tupla

Rodney Elpidio Enciso Arias hace 6 años
padre
commit
25d690dedc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      controller/helpers/account_invoice_line.py

+ 1 - 1
controller/helpers/account_invoice_line.py

@@ -222,6 +222,6 @@ def get_account_invoice_line_out_invoice():
                 'attribute_value_ids': j[18],
                 'attribute_values': j[19],
                 'attribute_ids': j[20],
-                'discount': j[23],
+                'discount': j[21],
             } for j in r.cr.fetchall()
         ]