Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Returning a Collection instead of Stream in Java 8?

In Java 8, the Streams is the new addition in the Java Collections API. It is the new method to process collections of objects. That is a different concept than the IO streams in the Java . Streams can be designed to work with Java lambda expressions

Iterator in Java

In collection, there would be many situations where we need to retrieve the collection elements. Example, we need to show each element. For these situations Iterator is the best solution. How it implements :- First iterator comes to start point of

How to get device token in iOS

For iOS push notification services functionality we need a device token (a unique device id generated by device OS for Push Messages communications) on which we can receive push notification messages. To generate the device token we have to add UIApp

How to take a screenshot of an iPhone screen in iOS

Some times we don't get a correct screenshot of an iOS device. Specially when we apply some transform or animation. If you are applying affine transform or 3dTransform to an object and hoping for a perfect screenshot with same transform value then yo

How to use classical inheritance in OpenERP/Odoo ?

If you want to use classical inheritance in OpenERP use below code - class subscription_document(osv.osv): _name = "subscription.document" _description = "Subscription Document" _columns = { 'name': fields.char('Name', size=60, r

How to use UIAlertController for iOS8 and above.

Apple has deprecated UIAlertView in iOS 8 and above. Now they have introduce UIAlertController, below are the examples. AlertView without buttons:- UIAlertController * alert= [UIAlertController alertControllerWithT

How to make Purchase Usability Extension in OpenERP/Odoo ?

Step-1 Install the purchase_usability_extension module. Step-2 purchase_usability_extension->Purchases.py Step-3 After that custmozie purchases.py(Python file) file: In below example, I have custmozied purchases.py file. You can directly copy the

How to check invoice date in OpenERP/Odoo ?

Step-1 Install the account_invoice_sequential_dates module. Step-2 Account_invoice_sequential_dates->invoice.py Step-3 After that custmozie invoice.py(Python file) file: In below example, I have custmozied invoice.py file. You can directly copy t

How to Use XML-RPC of Odoo 8

XML-RPC is very useful in openerp. The XML-RPC protocol communicate to server and clients. XML-RPC is a very simple protocol which allows the client to do remote procedure calls. The called function, its arguments, and the result of the call are tra

How to add/call plugin method from javascript

Use the following code to make plugin javascript Here connectwebsocketserver is the function which called by javascript (index.js). If your plugin javascript file name is test then by following lin you can call this function test.connectwebsocket

1 274 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: