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:
2aa49ac
)
[IMP] account: if updating just one literal key in a dict, just call __setitem__...
author
Xavier Morel
<xmo@openerp.com>
Tue, 14 Feb 2012 12:07:41 +0000
(13:07 +0100)
committer
Xavier Morel
<xmo@openerp.com>
Tue, 14 Feb 2012 12:07:41 +0000
(13:07 +0100)
bzr revid: xmo@openerp.com-
20120214120741
-srnfvkxf3rc2m7ev
addons/account/account_invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/account_invoice.py
b/addons/account/account_invoice.py
index
41730a0
..
bcc8b69
100644
(file)
--- a/
addons/account/account_invoice.py
+++ b/
addons/account/account_invoice.py
@@
-349,7
+349,7
@@
class account_invoice(osv.osv):
context = {}
res = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'invoice_form')
view_id = res and res[1] or False
- context.update({'view_id': view_id})
+ context['view_id'] = view_id
return context
def create(self, cr, uid, vals, context=None):