bzr revid: apa@tinyerp.com-20120501120418-nj1fx1mliqnksm4e
This commit is contained in:
Amit Patel (OpenERP)
2012-05-01 17:34:18 +05:30
parent 18ed1b88a1
commit 5e0f083199
+2 -2
View 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. \