Fix - en unidades en notas

This commit is contained in:
Mauricio Baeza 2018-02-10 11:00:30 -06:00
parent 8db62db775
commit 9d3818e4ce
2 changed files with 3 additions and 1 deletions

View File

@ -2750,6 +2750,7 @@ class Productos(BaseModel):
.dicts()
)
if len(row):
print(row[0])
id = row[0]['id_product']
model_pt = Productos.impuestos.get_through_model()
taxes = tuple(model_pt

View File

@ -130,7 +130,8 @@ var grid_tdetails_cols = [
{id: "clave_sat", hidden: true},
{id: "descripcion", header:{text: 'Descripción', css: 'center'},
fillspace: true, footer: {content: 'countRows', css: 'footer3'}},
{id: "unidad", header:{text: 'Unidad', css: 'center'}, width: 100},
{id: "unidad", header:{text: 'Unidad', css: 'center'}, width: 100,
editor: 'select', options: 'values/unidades'},
{id: 'cantidad', header: {text: 'Cantidad', css: 'center'}, width: 100,
format: webix.i18n.numberFormat, css: 'right', editor: 'text',
footer: {content: 'summColumn', css: 'right_footer3'}},