X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/a8be7f414671acf0f60ee71255aea4f3415e087b..94b32d115d412a3baa90a96c9165d7f57a189ba0:/sercom/model.py?ds=sidebyside diff --git a/sercom/model.py b/sercom/model.py index efa906c..f8ae374 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -859,6 +859,9 @@ class Correccion(SQLObject): #{{{ nota = DecimalCol(size=3, precision=1, default=None) observaciones = UnicodeCol(default=None) + def _get_entregas(self): + return list(Entrega.selectBy(instancia=self.instancia, entregador=self.entregador)) + def __repr__(self): return 'Correccion(instancia=%s, entregador=%s, entrega=%s, ' \ 'corrector=%s, asignado=%s, corregido=%s, nota=%s, ' \