Exemple #1
0
    def trg_delete(self, uid, res_type, res_id, cr):
        """
        Delete a workflow instance

        :param res_type: the model name
        :param res_id: the model instance id the workflow belongs to
        :param cr: a database cursor
        """
        ident = (uid,res_type,res_id)
        instance.delete(cr, ident)
    def trg_delete(self, uid, res_type, res_id, cr):
        """
        Delete a workflow instance

        :param res_type: the model name
        :param res_id: the model instance id the workflow belongs to
        :param cr: a database cursor
        """
        ident = (uid,res_type,res_id)
        instance.delete(cr, ident)
Exemple #3
0
 def trg_delete(self, uid, res_type, res_id, cr):
     ident = (uid,res_type,res_id)
     instance.delete(cr, ident)