def unlink(self, cr, uid, ids, context=None): #delete the attachments for id in ids: utils.field_set_file(self, cr, uid, id, 'pay_attach', None, {'unlink': True}, context=None) resu = super(account_voucher, self).unlink(cr, uid, ids, context=context) return resu
def unlink(self, cr, uid, ids, context=None): #delete the attachments for id in ids: utils.field_set_file(self, cr, uid, id, 'drawing_file', None, {'unlink':True}, context=None) resu = super(drawing_order_line, self).unlink(cr, uid, ids, context=context) return resu
def unlink(self, cr, uid, ids, context=None): #delete the attachments for id in ids: utils.field_set_file(self, cr, uid, id, 'drawing_file', None, {'unlink':True}, context=None) resu = super(drawing_order_line, self).unlink(cr, uid, ids, context=context) return resu
def unlink(self, cr, uid, ids, context=None): #delete the attachments for id in ids: utils.field_set_file(self, cr, uid, id, 'pay_attach', None, {'unlink':True}, context=None) resu = super(account_voucher, self).unlink(cr, uid, ids, context=context) return resu