
Search In
Here I have created AlertDialog function in android. We can use alertdialog for choice to continue or discontinue. AlertDialog can be used to display the dialog message with OK and Cancel buttons. Android AlertDialog is the subclass of Dialog class.
If define Payment Transaction in sale order in sale module then first override the function and inherit to the view from sale and add fields acquirer_name in sale order model and set default draft method and use this function in your own module. Use
To override the function first install the sale module and override the class sale.order and set draft and use feedback function as show in given below code
def feedback(self, cr, uid, data, acquirer_name, context=None):
tx = None
r
Most of the apps requires the user to manually enable the gps setting which causes confusion with the user as they are redirected to the location services window outside the app. The below code will help you to seamlessly enable location/gps without
Hi,
Download Facebook SDK from following link-
https://developers.facebook.com/docs/ios
Add SDK to your project.
This code will help you login and get user data as well fetch friend list from specific account.
FBManager -
Create a file and wri
PayPal is an American Company Founded in 1998 by Palo Alto of California "United States". It provides services to users of online payment globally such as money transfer and traditional payment methods like checks and money orders.
Android Support Library 23.2, Google has given support for Bottom Sheets. AS per Material Design, Bottom Sheets are elements displayed only as a result of a user-initiated action, used to reveal more content from the bottom upwards. Th
In the below example I have created Activity life cycle. Activity start's with a call on onCreate() callback method. There is a sequence of callback methods that start's an activity and a sequence of callback methods. See the below example for detail
From android marshmallow api 23 android supports fingerprint authentication support. Fingerprint api support android version 6.0 or greater.
Fingerprint authentication contains following process :
1. Check weather a user enabled keyguard or not in
If you want to get currency in param in Odoo then follow the following code in your .py file.
incl_tax = prod_taxes.filtered(lambda tax: tax not in line_taxes and tax.price_include)
if incl_tax:
return incl_tax.compute_all(price
