
Search In
To make selection field in OpenERP (Odoo)
In Selection Field first we have to go in .py file (python file)
After that we have to decide where you want to give selection Field and then give attribute Selection to that field.
Like below python co
How do I create a login function where their username and password inputs are compared to a text document full of previously registered accounts to see if their input matches any accounts and if so calls another function?
Code so far: h
To create Unit Of Measure(UOM) in openerp first install sale module and go to sale module menus in openerp and following these step given below
Step-1 go to Sales → Configuration menu and click it.
Step-2 then go to Configuration ‣ Settings-> Pr
In python, tuples is just like a list but little differ form list, To say correctly tuples is a sequence of immutable Python objects and it can not be change just like a list also tuples use parentheses.
Creating a tuple is as simple you have to just
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
*/
I am running a company page on Facebook and I have already boosted many posts. I am also researching for how to create an ad campaign but I am a little confused between "Boosting a Post" and "Creating Ad Campaign".
S
In wordpress you can create a admin page in admin section, to start this we have to first use hook function add_action() to create a menu in admin.
Before doing this we have to first create a directory under the plugins folder for now we create 'hell
Why we create cookies ?
cookie is used to identify any user. A cookie is known as a very small file that the server copy into the user's computer browser. Whenever users request a web page using the same computer , it will send the cookie too.
Wit
To create incoming mail Server in openerp-6.1
follow these step given below:-
1. Go to Setting->Configuration->Email->Incoming Mail Servers, and create
2. Give a Name, example: Incoming Gmail Server
3. Select Server Type as POP/IMAP
4. In Se
PDO is PHP Data Objects which is used to connect to any database. Benefit of using PDO is that if there is any problem in our query it has an exception class to handle it. If any exception thrown to the try block, the script stops and directly flows