[IMP]
authorAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 1 May 2012 12:04:18 +0000 (17:34 +0530)
committerAmit Patel (OpenERP) <apa@tinyerp.com>
Tue, 1 May 2012 12:04:18 +0000 (17:34 +0530)
bzr revid: apa@tinyerp.com-20120501120418-nj1fx1mliqnksm4e

addons/account_voucher/account_voucher.py

index 0191f58..7c4df84 100644 (file)
@@ -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. \