forked from elmau/empresa-libre
Fix - en unidades en notas
This commit is contained in:
parent
8db62db775
commit
9d3818e4ce
|
@ -2750,6 +2750,7 @@ class Productos(BaseModel):
|
||||||
.dicts()
|
.dicts()
|
||||||
)
|
)
|
||||||
if len(row):
|
if len(row):
|
||||||
|
print(row[0])
|
||||||
id = row[0]['id_product']
|
id = row[0]['id_product']
|
||||||
model_pt = Productos.impuestos.get_through_model()
|
model_pt = Productos.impuestos.get_through_model()
|
||||||
taxes = tuple(model_pt
|
taxes = tuple(model_pt
|
||||||
|
|
|
@ -130,7 +130,8 @@ var grid_tdetails_cols = [
|
||||||
{id: "clave_sat", hidden: true},
|
{id: "clave_sat", hidden: true},
|
||||||
{id: "descripcion", header:{text: 'Descripción', css: 'center'},
|
{id: "descripcion", header:{text: 'Descripción', css: 'center'},
|
||||||
fillspace: true, footer: {content: 'countRows', css: 'footer3'}},
|
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,
|
{id: 'cantidad', header: {text: 'Cantidad', css: 'center'}, width: 100,
|
||||||
format: webix.i18n.numberFormat, css: 'right', editor: 'text',
|
format: webix.i18n.numberFormat, css: 'right', editor: 'text',
|
||||||
footer: {content: 'summColumn', css: 'right_footer3'}},
|
footer: {content: 'summColumn', css: 'right_footer3'}},
|
||||||
|
|
Loading…
Reference in New Issue