From 5e0f08319942f2f3a45e9effd7d50d8d31c3c943 Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Tue, 1 May 2012 17:34:18 +0530 Subject: [PATCH] [IMP] bzr revid: apa@tinyerp.com-20120501120418-nj1fx1mliqnksm4e --- addons/account_voucher/account_voucher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 0191f5866ba..7c4df846b80 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -275,9 +275,9 @@ class account_voucher(osv.osv): 'company_id': fields.many2one('res.company', 'Company', required=True, readonly=True, states={'draft':[('readonly',False)]}), 'state':fields.selection( [('draft','Draft'), + ('cancel','Cancelled'), ('proforma','Pro-forma'), - ('posted','Posted'), - ('cancel','Cancelled') + ('posted','Posted') ], 'State', readonly=True, size=32, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed Voucher. \ \n* The \'Pro-forma\' when voucher is in Pro-forma state,voucher does not have an voucher number. \