
Search In
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
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
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
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
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
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
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
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
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
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
