Analytic account now have a draft state
bzr revid: bch-cc6ebe5545808e1fa38cae38b48032c477d57d7b
This commit is contained in:
parent
1c0f5404ab
commit
975569679e
|
@ -64,13 +64,14 @@ class account_analytic_account(osv.osv):
|
|||
'amount_invoiced': fields.function(_invoiced_calc, method=True, string='Invoiced Amount'),
|
||||
'to_invoice': fields.many2one('hr_timesheet_invoice.factor','Invoicing'),
|
||||
'state': fields.selection([
|
||||
('draft','Draft'),
|
||||
('open','Open'),
|
||||
('pending','Pending'),
|
||||
('close','Close'),
|
||||
], 'State', required=True),
|
||||
}
|
||||
_defaults = {
|
||||
'state' : lambda *a : 'open',
|
||||
'state' : lambda *a : 'draft',
|
||||
}
|
||||
account_analytic_account()
|
||||
|
||||
|
|
Loading…
Reference in New Issue