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

Search In

How to use __init__.py in OpenERP/Odoo ?

The __init__.py file is the Python module descriptor, because an OpenERP module is also a regular Python module. 1- Import all files & directories containing python code 2-import idea, wizard, report The __openerp__.py is the OpenERP module man

How to implement translations system in OpenERP/Odoo ?

The procedure to translate text in Python and JavaScript code is very similar. You could have noticed these lines at the beginning of the petstore.js file. var _t = instance.web_t, _lt = instance.web_lt; These lines are simply used to import th

How to writing a test case in Odoo ?

If you want to writing test case, you have to add javascript code in your Odoo manifest files.For example see below code. { 'name': "Demonstration of web/javascript tests", 'category': 'Hidden', 'depends': ['web'], 'test': ['static/t

How to send any character in uppercase in Appium ?

Appium provides keycodes for the alphabets only in the lowercase. If we have to send any alphabet in uppercase then we have to send the keycode of that alphabet with the shift keycode. Practically also we first press the shift key and then press the

How to Access old API in Odoo ?

If you want to access old api to new api you have to move on migration method and By default, using new API you have to work on a new RecordSet class instance by yourself. But old context and model are still available in old api. means you have to mo

How to display all errors in php

To display all errors in php we need to add following lines of code in php file. error_eporting(E_ALL); ini_set('display_errors', 1); We can Set display_errors = On in your php.ini file. or we can try the following code in php file. ini_set('d

How to use the dis Module in python

In python dis module converts byte codes to a format and You can run the disassembler from the command line and It compiles the given script and prints the disassembled byte codes to the stdout . The dis function takes a class, method, function or co

How to get year from a date in Java?

To get only year from a date you can use the below code. You can pass any date that you wan to change, I'm getting year from the date in the below example:    /** * Get year from Date * * @param createDate * @return */

How to Add Custom Vibration Pattern Programatically

Im trying to implement custom vibration pattern programatically inside my app.kindly suggest any sample apps/ source codes  which we can add the custom vibration pattern inside code.I am able to bring the default vibration inside by adding the A

How to install downloaded apk through code in android?

If you want to install the downloaded .apk from your device through java code than you just need the path and the name of that .apk, if you have these two thing (path and the name of that .apk) than you just need to use the code given below. // Ment

1 18 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: