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:
7f9ced2
)
[FIX]: [5.0 - POS] stock move lines coming from point of sale do not have correct...
author
Amit Dodiya (OpenERP)
<ado@tinyerp.com>
Thu, 18 Aug 2011 07:30:55 +0000
(13:00 +0530)
committer
Amit Dodiya (OpenERP)
<ado@tinyerp.com>
Thu, 18 Aug 2011 07:30:55 +0000
(13:00 +0530)
bzr revid: ado@tinyerp.com-
20110818073055
-jj5hqntgw5ff3gqm
addons/point_of_sale/pos.py
patch
|
blob
|
history
diff --git
a/addons/point_of_sale/pos.py
b/addons/point_of_sale/pos.py
index
8b3d91a
..
0940591
100644
(file)
--- a/
addons/point_of_sale/pos.py
+++ b/
addons/point_of_sale/pos.py
@@
-349,7
+349,7
@@
class pos_order(osv.osv):
(location_id, stock_dest_id)= (stock_dest_id, location_id)
self.pool.get('stock.move').create(cr, uid, {
- 'name': 'Stock move (POS %d)' % (order.id, ),
+ 'name': 'Stock move (%s) ' % (order.name, ) + line.product_id.partner_ref,
'product_uom': line.product_id.uom_id.id,
'product_uos': line.product_id.uom_id.id,
'picking_id': picking_id,