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:
7c404c7
)
[IMP] mrp: improved code.
author
Turkesh Patel (Open ERP)
<tpa@tinyerp.com>
Tue, 15 May 2012 04:55:10 +0000
(10:25 +0530)
committer
Turkesh Patel (Open ERP)
<tpa@tinyerp.com>
Tue, 15 May 2012 04:55:10 +0000
(10:25 +0530)
bzr revid: tpa@tinyerp.com-
20120515045510
-sgku0gbjubnz4zq7
addons/mrp/procurement.py
patch
|
blob
|
history
diff --git
a/addons/mrp/procurement.py
b/addons/mrp/procurement.py
index
7b5c9ec
..
62423b6
100644
(file)
--- a/
addons/mrp/procurement.py
+++ b/
addons/mrp/procurement.py
@@
-43,7
+43,7
@@
class procurement_order(osv.osv):
cr.execute('update procurement_order set message=%s where id=%s', (_('No BoM defined for this product !'), procurement.id))
for (id, name) in self.name_get(cr, uid, procurement.id):
message = _("Procurement '%s' has an exception: 'No BoM defined for this product !'") % name
- self.message_append_note(cr, uid, [procurement], body=message, context=context)
+ self.message_append_note(cr, uid, [procurement.id], body=message, context=context)
return False
return True