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:
9ca9d88
)
[IMP] stock: remove notification on product when a stock move consumes a product
author
Raphael Collet
<rco@openerp.com>
Wed, 12 Sep 2012 13:26:24 +0000
(15:26 +0200)
committer
Raphael Collet
<rco@openerp.com>
Wed, 12 Sep 2012 13:26:24 +0000
(15:26 +0200)
bzr revid: rco@openerp.com-
20120912132624
-n7mpbywvxv3oputb
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
006af58
..
ed24255
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-2539,11
+2539,6
@@
class stock_move(osv.osv):
}
self.write(cr, uid, [move.id], update_val)
- product_obj = self.pool.get('product.product')
- for new_move in self.browse(cr, uid, res, context=context):
- message = _("Product has been consumed with '%s' quantity.") % (new_move.product_qty)
- product_obj.message_post(cr, uid, [new_move.product_id.id], body=message, context=context)
-
self.action_done(cr, uid, res, context=context)
return res