
Search In
Set encoding to default and find value to get_encodings, ustr and exception_to_unicode were originally from tools.misc in openerp and use this method in openerp. Use this code in .py file in openerp
ef get_encodings(hint_encoding='utf-8'):
fallb
call() and query() method are the odoo methods which are used in def function in .py file, it is used to call the value.
To call the Odoo server objects we use two primary methods which are call() and query(), for this see the code example below and
ncr means : combination in terms of mathematics.We have to find out the perfect combination of given values.
In the mathematics nCr has defined as nCr = n! /((n-r)! * r!)
#include
int main(){
int n,r,ncr;
printf("Enter any two n
Hello guys,
Most of time we face the problem order by within IN() values . Mysql provides the function FIELD(), It will sort fetched IN() data according to requirment . The FIELD function returns the position of the first string in the remaining list
This article explains how to add and subtract number of days from a specific date in PHP. In many cases we have to get date after or before a specified interval of days, months and years from current date or from any specified date.
Note : With PHP
Hello friends,
I am here for share the solution of a MySQL problem.
If you want to change the data type of a column from varchar or any other one to date, you should need to use following query-
UPDATE `tbl` SET `date1` = STR_TO_DATE(`date1`, '%d-%
List reord is the most important part of Odoo data base with the help of list records we can manage all database in odoo framework and search() takes a mandatory domain filter and returns the database identifiers of all records matchin
Rails provide us many features which are native to Rails and not ruby.
We can ordinalize a date in rails with a method provided by active_support known as ordinalize.
If we want to ordinalize today's date we can write :-
2.1.5 :01 > t = Time.n
Before talking about Natural Link Building, let me explain some basic information about link building process. It is an off-site Internet Marketing Technique. Link Building is the process of creating
If you want to getting calendar for a month then we can set calendar module as it gives a wide range of methods to play with yearly and monthly calendars. Here, we print a calendar for a given month ( Jan 2008 ) − and for example you can see below co