projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad61a88
)
[FIX] hr-expense : incmplete handling of canceld and reopened invoices
author
ARA (OpenERP)
<ara@tinyerp.com>
Thu, 29 Sep 2011 05:21:03 +0000
(10:51 +0530)
committer
ARA (OpenERP)
<ara@tinyerp.com>
Thu, 29 Sep 2011 05:21:03 +0000
(10:51 +0530)
bzr revid: ara@tinyerp.com-
20110929052103
-r2sli46n67ahv4ej
addons/hr_expense/hr_expense.py
patch
|
blob
|
history
diff --git
a/addons/hr_expense/hr_expense.py
b/addons/hr_expense/hr_expense.py
index
b671705
..
b37cab4
100644
(file)
--- a/
addons/hr_expense/hr_expense.py
+++ b/
addons/hr_expense/hr_expense.py
@@
-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()