[FIX] hr-expense : incmplete handling of canceld and reopened invoices
bzr revid: ara@tinyerp.com-20110929052103-r2sli46n67ahv4ej
This commit is contained in:
parent
ad61a880bf
commit
211e143c63
|
@ -226,8 +226,7 @@ class hr_expense_expense(osv.osv):
|
|||
return res
|
||||
|
||||
def action_invoice_cancel(self, cr, uid, ids, context=None):
|
||||
self.write(cr, uid, ids, {'state': 'invoice_except'}, context=context)
|
||||
return True
|
||||
return self.write(cr, uid, ids, {'state': 'invoice_except'}, context=context)
|
||||
|
||||
hr_expense_expense()
|
||||
|
||||
|
|
Loading…
Reference in New Issue