X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/8accee61d88da72b3a44f4c4e5bdbf10b7792831..14d0be1bacc499e7fc46a0963197feeafccb1c97:/sercom/model.py?ds=sidebyside diff --git a/sercom/model.py b/sercom/model.py index f26a720..3442a19 100644 --- a/sercom/model.py +++ b/sercom/model.py @@ -312,8 +312,8 @@ class TareaPrueba(Tarea): #{{{ # Joins comandos = MultipleJoin('ComandoPrueba', joinColumn='tarea_id') - def add_comando(self, orden, **kw): - return ComandoPrueba(tarea=self, orden=orden, comando='', **kw) + def add_comando(self, orden, comando='', **kw): + return ComandoPrueba(tarea=self, orden=orden, comando=comando, **kw) def remove_comando(self, orden): ComandoPrueba.pk.get(self.id, orden).destroySelf()