Orden de productos en prefactura
This commit is contained in:
parent
bb7486be94
commit
cc10de702b
|
@ -3841,7 +3841,7 @@ class PreFacturasDetalle(BaseModel):
|
|||
productos = PreFacturasDetalle.select().where(
|
||||
PreFacturasDetalle.factura==id)
|
||||
|
||||
for p in productos:
|
||||
for p in reversed(productos):
|
||||
producto = {}
|
||||
producto['noidentificacion'] = '{}\n(SAT {})'.format(
|
||||
p.producto.clave, p.producto.clave_sat)
|
||||
|
|
Loading…
Reference in New Issue