Merge lp:~openerp-dev/openobject-addons/trunk-bug-1005812-amb into lp:openobject-addons

Proposed by Amit Bhavsar (Open ERP)
Status: Merged
Merged at revision: 7414
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1005812-amb
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
stock/stock.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1005812-amb
Reviewer Review Type Date Requested Status
Amit Parik (community) Approve
OpenERP Core Team Pending
Review via email: mp+114384@code.launchpad.net

Description of the change

Hello,

Fixes the problem of Insufficient info at move from the picklist(dropdown) in Repair Order form view.
Now it will look like : Origin(SO0004) product_name(watch) : location > destination location.

instead of

Product_name(watch) : location > destination

Thanks!

To post a comment you must log in.
Revision history for this message
Amit Parik (amit-parik) :
review: Approve
7019. By Anto

[MERGE] latest trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/stock.py'
2--- stock/stock.py 2012-06-22 06:48:54 +0000
3+++ stock/stock.py 2012-07-11 10:52:57 +0000
4@@ -1576,7 +1576,7 @@
5 def name_get(self, cr, uid, ids, context=None):
6 res = []
7 for line in self.browse(cr, uid, ids, context=context):
8- res.append((line.id, (line.product_id.code or '/')+': '+line.location_id.name+' > '+line.location_dest_id.name))
9+ res.append((line.id, (line.picking_id.origin or '/')+ ' ' +(line.product_id.code or '/')+': '+line.location_id.name+' > '+line.location_dest_id.name))
10 return res
11
12 def _check_tracking(self, cr, uid, ids, context=None):

Subscribers

People subscribed via source and target branches

to all changes: