readonly=True),
}
-stock_move()
#
# Inherit of picking to add the link to the PO
def get_currency_id(self, cursor, user, picking):
if picking.purchase_id:
- return picking.purchase_id.pricelist_id.currency_id.id
+ return picking.purchase_id.currency_id.id
else:
return super(stock_picking, self).get_currency_id(cursor, user, picking)