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

Search In

JSON data insert into MySQL using PHP

We can insert the json data in to mySQL using php .please see the below example for processing json data to mySQL. Example : - Suppose we have a file having json data like below - {"FirstName":"ravi", "LastName":"srivastva"} For processing

How to use fstat() function in php ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use fstat() function in php ? The fstat() function is used for returning information about an open file. syntax of fstat() function fstat(file) file is a required parameter

Getting the Code of any site using php script

Open the code view of any site : <?php $lines = file('http://www.whoznext.com/'); //Site url foreach ($lines as $line&#95;num => $line) { // iterate through each line echo "Line #{$line&#95;num} : " . htmlspecialchars($line) . "<

How to make unique field and not allow duplicates records in openerp

To make a unique field and do not allow duplicates records in openerp, below is the solution In .py file use this code:- class course(osv.osv): _name="course" _columns={ "name":fields.char("Name"), } _sql_constr

How to upload large files from Android device to server

Android developers do face the exception when sending large file from Android device to a server. To send large file to a server you have to make the file into small size chunks and then send it to the server. setChunkedStreamingMode(1024), this met

How to import customize module in openERP?

If you want to import customize module in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → import decimal_precision as dp from osv import fields, osv, orm from tools.translate import _ import one2many_sorted cl

How to use method decorators in openERP/Odoo ?

If you want to use method decorators in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → model = self.pool.get(MODEL) ids = model.search(cr, uid, DOMAIN, context=context) for rec in model.browse(cr, uid, ids, co

How to use Computed fields in openERP/Odoo ?

If you want to Computed fields in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → upper = fields.Char(compute='_compute_upper', inverse='_inverse_upper', search='_search_

How to use name_get method in OpenERP(Odoo)?

If you want to use name_get method in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: def name_get(self, cr, user, ids, context={}): if not len(ids): return [] res = [] for r in self.read(cr, user, ids, [’name’,’zip

How to make wizard execution in OpenERP/Odoo?

If you want to make wizard execution in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard views_xml file: <record id="action_idea_cleanup_wizard" model="ir.actions.act_window"> <field name="name">Cleanup</fi

1 21 129
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: