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

Search In

URLs and routing in Odoo

Hello Friends, If you want to use urls and routing in OpenERP(Odoo) paste the below mentioned code in your .controllers.py file: - 'Url': url.search([]) }) @http.route('/academy//', auth='public', website=True) def teacher(s

Relations between models in Odoo

If you want to make relations between models in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - <pre>name = fields.Char(string="Title", required=True) description = fields.Text() class Session(models.Model)

How to use api.onchange in OpenERP(Odoo)?

Api.onchange will trigger the call to the decorated function if any of the fields specified in the decorator is changed in the form: In below code you can use in your .py file. @api.onchange('fieldx') def do_stuff(self): if self.fieldx == x: self.fi

How to adding a class to their root elements in OpenERP/Odoo ?

If you want to adding a class to their root elements in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard .js file: local.HomePage = instance.Widget.extend({ className: 'oe_petstore_homepage', ... }); local.Greetings

How to use instantiate classes using the new operator in OpenERP/Odoo ?

If you want to instantiate classes using the new operator in OpenERP(Odoo) follow the below mentioned code and paste it in your .js file. var MyClass = instance.web.Class.extend({ say_hello: function() { console.log("hello", this.name);

Error when migrating from OpenERP-7 to Odoo-9

Hi Friends, Please help me with the Problem, I want to migrate from OpenERP-7 to Odoo-9 and while doing so I got an error. Error is below . File "/home/shiva/WORKSPACE9/OPENERP-9/openerp/addons/rent/rent.py", in get_totals prices = tax_pool.co

Caching in Apache

Caching is an important feature to improve the performance of Apache server. By creating the caching rules effectively, we can conserve a good amount of resources and the content access by the user is significantly fast. Apache offers several methods

Logging using log4net

Log4net is an open source library that allows .NET applications to log information in many ways. Here we are going to see an example for logging in a file.   Few steps to follow to log in a file:   1) Add log4Net dll in the application.

How to add CSS file and image file in Django?

In Django framework first we create the project and follow these step shown below: Step1- First we create a project in your Django. If you are not able to create a project then use this link. This link helps to create a project in Django framework.

Restrict access to directories through ip address on Apache

Apache web server allows access based upon different conditions. For example we can restrict access to url http://firstexample.com/ (mapped to /var/www/public/images directory) from 192.165.1.0/24 network. Apache provides access based on different c

1 … 19 … 130
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: