Commit 13e4e82a by Juan

Confirmado busqueda de resivos

1 parent ab054a67
...@@ -68,7 +68,7 @@ class tpv_conciliacion(models.Model): ...@@ -68,7 +68,7 @@ class tpv_conciliacion(models.Model):
def BusquedaDeuda(self): def BusquedaDeuda(self):
config = self.TraerConfiguracion() config = self.TraerConfiguracion()
estado = ["comp_estado","in",["a","r","p"]] estado = ["comp_estado","not in",["c","b"]]
domain_deuda = ["&","&", domain_deuda = ["&","&",
["comp_talonario","in",config.facturas.ids], ["comp_talonario","in",config.facturas.ids],
["comp_cliente","=",self.cuit.id], ["comp_cliente","=",self.cuit.id],
...@@ -86,7 +86,7 @@ class tpv_conciliacion(models.Model): ...@@ -86,7 +86,7 @@ class tpv_conciliacion(models.Model):
def BusquedaResivos(self): def BusquedaResivos(self):
config = self.TraerConfiguracion() config = self.TraerConfiguracion()
estado = ["comp_estado","in",["a","r","p"]] estado = ["comp_estado","not in",["c","b"]]
domain_deuda = ["&","&", domain_deuda = ["&","&",
["comp_talonario","in",config.resivos.ids], ["comp_talonario","in",config.resivos.ids],
["comp_cliente","=",self.cuit.id], ["comp_cliente","=",self.cuit.id],
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!