
Search In
To copy data from account_invoice_line table in account module in PostgreSQL use this code in pgadmin and user can copy data from account_invoice_line table.
Copy account_invoice_lines
copy (SELECT *
FROM
account_invoice_lines
INNER JOIN account
If you want to create a theme module first you have to check _init.py file and __openERP.py file. After that you need to inherit the package theme to an Odoo module.
main folder-
Create a folder and name it like this: theme followed by yo
Hello Guys.
Important: Make sure Odoo is correctly configured to send email before starting this tutorial. Odoo will need to email an activation link when you enable OAUTH.
So, let’s get started.
Enabling OAuth Support in Odoo
Login to Odoo as the
When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf
In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder.
profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py
Step-1 Configuring Odoo after that we will provide admin_passwd .
Step-2 Then use all database management screens (to create, delete, dump or restore databases).
Step-3 If the management screens not accessible, then make it accessible from a selected
To create workflow in openerp use these below step
In academy.py file
import academy.py
In __openerp__.py file
data:["academy.xml", "academy_workflow.xml"],
In academy.py file
class session(osv.osv):
_name="session"
_colum
In below example a sample widget that calls my_method() and displays the result.
local.HomePage = instance.Widget.extend({
start: function() {
var self = this;
var model = new instance.web.Model("oepetstore.message_of_the_day");
In below example, I have written Python script to find available user in live chat . If you are stuck in such case then directly copy below python code in your .py file:
users = self.get_available_users(cr, uid, channel_id, context=context)
In OpenERP first, we create a module and then inherits to the delegation and views both in your own module.
Follow these step shown below
Step1- First we create a module like as: test and then create a test.y file in an own module and pass this fil