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

Search In

Discussions and notifications in Odoo

One is likely to mistake Odoo’s technical models for directly fulfilling business needs. The models actually enable to add capabilities to business objects, by eliminating the need of building them by hand. Odoo's email and messaging system, called

How to create menu using Wordpress

Hello Reader's! If you are new to WordPress and you have to create the menu for first time. You just have to do the steps below:- Step1:- Open or Create a file functions.php in your theme folder and paste the code below:- add_action( 'after_setup_t

Relational fields in Odoo

If you want to make relational fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - name = fields.Char(string="Title", required=True) description = fields.Text() responsible_id = fields.Many2one('res.

Defining the data model

If you want to make data model in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: → session_ids = fields.One2many( 'openacademy.session', 'course_id', string="Sessions") @api.multi def copy(self, de

How to use transaction_fields in OpenERP(Odoo)?

If you want to use transaction_fields 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

How to use the action manager in OpenERP/Odoo ?

The action manager can be invoked explicitly from javascript code by creating a dictionary describing an action of the right type, and calling an action manager instance with it. In below example I have written javascript to Include only parent level

How to use ir.actions.client code in OpenERP/Odoo ?

On the server side, we can simply defined an ir.actions.client. In below code we will use .xml file. <record id="action_home_page" model="ir.actions.client"> <field name="tag">petstore.homepage</field> </record> For menu

How to make Odoo javascript module in OpenERP/Odoo ?

Javascript does not have built-in modules. As a result variables defined in different files are all mashed together and may conflict. This has given rise to various module patterns used to build clean namespaces and limit risks of naming conflict. T

How to make your first widget in OpenERP/Odoo ?

The initial demonstration module already provides a basic widget: For example code look like below. local.HomePage = instance.Widget.extend({ start: function() { console.log("pet store home page loaded"); }, }); It extends Widget() a

How to create more Action in OpenERP(Odoo)

Actions are used to trigger one or more actions to be performed on the server side, when a specific stage of a workflow is reached. To write this code in .xml file in openerp(odoo), use the Code given below. <record id="company_normal_action_tree

1 30 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: