'Adapt standard price on outgoing moves, so that a
return or an inventory loss is made using the last value used for an outgoing valuation.'

@api.multi
def product_price_update_after_done(self):

    to_update_moves = self.filtered((lambda move: (move.location_dest_id.usage != 'internal')))
    to_update_moves._store_average_cost_price()
