Wednesday 2 May 2012
Computer Science All Books
All Books for Computer Science Student .
I hope this will helpful to you....
National Symbols of India | ||||
"Jana-gana-mana-adhinaayaka, jaya he
Bhaarata-bhagya-vidhaataa Punjab-Sindhu-Gujarata-Marathaa Draavida-Utkala -Banga Vindhya-Himachala-Yamuna-Gangaa Uchchala-Jaladhi-taranga Tava shubha naame jaage Tava shubha ashisha maange Gaaye tab jaya gaatha Jana-gana-mangala-daayaka jaya he Bharata-bhagya-vidhataa Jaya he, jaya he, jaya he Jaya jaya, jaya, jaya he!! "
Tiger (Panthera Tigris, Linnaeus) is the national animal of India. Tiger is also called the lord of Jungles. As the national animal of India, tiger symbolizes India's wildlife wealth. The rare combination of grace, strength, agility and enormous power has earned the tiger great respect and high esteem. India is home to nearly half of the total population of tigers. The government of India launched the Project Tiger in 1973 to protect the royal animal.
Out of the eight races of the tiger, the Indian race, the Royal Bengal Tiger is found almost all over country (with the exception of the north-western region). With the launch of Project tiger in 1973, the tiger population showed a gradual increase and the census of 1993 puts the tiger population of the country at 3,750. Under Project tiger 23 tiger reserves have been established throughout the country, covering an area of 33,406 sq. km. Unfortunately due to negligence of authorities and poaching the tiger population of India is decreasing at an alarming rate. In fact, some of the tiger reserves do not have any tigers at all.
Peacock (Pavo cristatus), which is a symbol of grace, joy, beauty and love is the national bird of India. Peacock occupies a respectable position in Indian culture and is protected not only by religious sentiments but also by parliamentary statute. The Indian peacock is a colorful, swan-sized bird with a fan-shaped crest of feathers on its head, a white patch under the eye and a long-slender neck. The male peacock is more colorful than the female one.
National Calendar
he national calendar of India is based on the Saka Era with Chaitra as its first month and a normal year of 365 days. The national calendar of India was adopted on March 22nd 1957. Dates of the Indian national calendar have a permanent correspondence with the Gregorian calendar dates- 1 Chaitra falling on 22 March normally and on 21 March in leap year.
|
Monday 23 April 2012
OpenERP Barcode Generate
Use Barcode in OpenERP report.
paste the folowing code in .rml file instead of barcode
<barCode code="code128" quiet="9" fontName="Times-Roman" fontSize="50" alignment="CENTER"> [[ tracking_ids.serial or '' ]] </barCode>
paste the folowing code in .rml file instead of barcode
<barCode code="code128" quiet="9" fontName="Times-Roman" fontSize="50" alignment="CENTER"> [[ tracking_ids.serial or '' ]] </barCode>
Friday 20 April 2012
How to create Scheduler in OpenERP
How to create Scheduler in OpenERP . ( ir.cron )
Nayi Pinakin
Trainee OpenERP ,
Gandhinagar . (Jan 2012 )
nayi_pinakin@yahoo.in
Here are Steps you have to follow :
Step 1 :
In view file simply write as under
<record model="ir.cron" id="resource_panelty_cron">
<field name="name">Resource Panelty Count</field>
<field name="interval_number">1</field>
<field name="interval_type">minute</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'lib.register'" name="model"/>
<field eval="'compute_penalty'" name="function"/> # call the function in .py file
<field eval="'()'" name="args"/>
</record>
Step 2 :
you can also directly create your Scheduler :
like ,
1. First you simply go setting - > configuration -> scheduler -> scheduler_action
Description :
Nayi Pinakin
Trainee OpenERP ,
Gandhinagar . (Jan 2012 )
nayi_pinakin@yahoo.in
Here are Steps you have to follow :
Step 1 :
In view file simply write as under
<record model="ir.cron" id="resource_panelty_cron">
<field name="name">Resource Panelty Count</field>
<field name="interval_number">1</field>
<field name="interval_type">minute</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'lib.register'" name="model"/>
<field eval="'compute_penalty'" name="function"/> # call the function in .py file
<field eval="'()'" name="args"/>
</record>
Step 2 :
you can also directly create your Scheduler :
like ,
1. First you simply go setting - > configuration -> scheduler -> scheduler_action
2. Now create new Scheduler here interval number and interval unit important
3. Now , in object simply write your table name and in Method write your .py file method
which you want to call at every repeated time.
Description :
"scheduler_id" : is a unique xml record id
"scheduler_name" : any desirable name
"active" : True or False determines whether the scheduler is active or not..
"user_id" : refers the user who owns the scheduler
"interval_number" : number of times the scheduler is to be called based on the "interval_type"
"interval_type" : it can be days, hours, minututes etc
"interval_type" : it can be days, hours, minututes etc
"numbercall" : Number of time the function is called. negative number indicates no limit
"doall" : booelan field. A 'True' enables it to execute missed occurences as soon as the server is restarts
"model" : Name of object whose function will be called when this scheduler will run. e.g. 'res.partener'
"model" : Name of object whose function will be called when this scheduler will run. e.g. 'res.partener'
"function" : Name of the method to be called on the object when this scheduler is executed.
"args" : Arguments to be passed to the method. e.g. (uid,)
Thursday 19 April 2012
How to Add custom Widget in your open ERP module
How to Add custom Widget in your open ERP module ..
Here are steps :
By : Pinakin Nayi
Trainee OpenERP,
Gandhinagar.
E-mail : nayi_pinakin@yahoo.in
Step 1 :
create a folder
--> static
--> src
-->js
->lib.js
--> xml
-> lib.xml
--> css
-> .css
Step 2 :
Register your xml file in __openerp__.py
Like this
'css': [ 'static/src/css/resource.css' ],
'js': [ 'static/src/js/lib.js' ],
'qweb' : [ 'static/src/xml/lib.xml', ],
Step 3 :
In "lib.xml" create your template
like ,
<templates id="template" xml:space="preserve">
<t t-name="link">
<div>manage your template </div>
</t>
</templates>
Step 4 :
In "lib.js" create your template
like ,
openerp.lib = function(instance)
{
console.log('tTTT',instance)
instance.web.form.widgets.add('link', 'openerp.lib.Mywidget');
instance.lib.Mywidget = instance.web.form.Widget.extend( {
template : 'link',
init : function(arg)
{
console.log('initi....my custome widget');
}
})
}
Step 5 :
In this test i have only write "manage your template" instread of that you can
write your own template to implement ..
Step 6 :
Now , your Widget is ready ,
you have to implement this in your tag.
<field name="description" colspan="4" widget="link" />
Here are steps :
By : Pinakin Nayi
Trainee OpenERP,
Gandhinagar.
E-mail : nayi_pinakin@yahoo.in
Step 1 :
create a folder
--> static
--> src
-->js
->lib.js
--> xml
-> lib.xml
--> css
-> .css
Step 2 :
Register your xml file in __openerp__.py
Like this
'css': [ 'static/src/css/resource.css' ],
'js': [ 'static/src/js/lib.js' ],
'qweb' : [ 'static/src/xml/lib.xml', ],
Step 3 :
In "lib.xml" create your template
like ,
<templates id="template" xml:space="preserve">
<t t-name="link">
<div>manage your template </div>
</t>
</templates>
Step 4 :
In "lib.js" create your template
like ,
openerp.lib = function(instance)
{
console.log('tTTT',instance)
instance.web.form.widgets.add('link', 'openerp.lib.Mywidget');
instance.lib.Mywidget = instance.web.form.Widget.extend( {
template : 'link',
init : function(arg)
{
console.log('initi....my custome widget');
}
})
}
Step 5 :
In this test i have only write "manage your template" instread of that you can
write your own template to implement ..
Step 6 :
Now , your Widget is ready ,
you have to implement this in your tag.
<field name="description" colspan="4" widget="link" />
Subscribe to:
Posts (Atom)