diff --git a/addons/stock/stock.py b/addons/stock/stock.py index b90c2b672f9..40e395fddf2 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1920,7 +1920,7 @@ class stock_move(osv.osv): auto_join=True, help="Location where the system will stock the finished products."), 'partner_id': fields.many2one('res.partner', 'Destination Address ', states={'done': [('readonly', True)]}, help="Optional address where goods are to be delivered, specifically used for allotment"), - + 'picking_partner_id': fields.related('picking_id', 'partner_id', type='many2one', relation='res.partner', string='Transfer Destination Address'), 'move_dest_id': fields.many2one('stock.move', 'Destination Move', help="Optional: next stock move when chaining them", select=True, copy=False), 'move_orig_ids': fields.one2many('stock.move', 'move_dest_id', 'Original Move', help="Optional: previous stock move when chaining them", select=True), diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 25c39fcc9df..34862af8aa6 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -1338,6 +1338,7 @@ +