From 24d5a30d6bc5c142a0abb5823179a8b36765509b Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Wed, 27 Oct 2010 10:36:58 +0200 Subject: [PATCH] [FIX] account_voucher : clean comment bzr revid: tfr@openerp.com-20101027083658-avyoomagq9q60nf8 --- addons/account_voucher/account_voucher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index a2dc4256eba..b4dc73709e8 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -501,7 +501,7 @@ class account_voucher(osv.osv): def proforma_voucher(self, cr, uid, ids, context=None): self.action_move_line_create(cr, uid, ids, context=context) return True - #return {'type' : 'ir.actions.act_window_close' } + def action_cancel_draft(self, cr, uid, ids, context={}):