Questions tagged [odoo]

Odoo is a suite of open-source business apps written in Python and its community version is released under the GNU LGPLv3 license. It is used by more than 7 million users worldwide to manage companies of all different sizes. The main Odoo components are the server, 270 core modules (also called official modules) and around 15000 community modules.

                     Odoo was formerly known as OpenERP

enter image description here

Odoo was known as OpenERP until May 2014. It was rebranded because version 8 of the software included apps such as a Website Builder, eCommerce, Point of Sale and Business Intelligence. The software conforms to standard expectations of ERP systems while providing additional modules beyond the coverage of traditional ERP systems.

There are two editions of Odoo (feature comparison):

  • Enterprise Edition (EE)
  • Community Edition (CE)

with multiple ways to setup:

  • online (SaaS)
  • packaged installers
  • source Install
  • Docker

Odoo S.A. provides a website referencing the officially supported modules as well as community modules. Community modules can be referenced for free as long as they respect the open source license of Odoo. As of March 2018, the number of Odoo apps reached more than 15000.

Module development mainly relies upon editing and files or using Odoo Studio (EE only). Some application logic (i.e. workflows and data structure) can be changed through the client interface using a developer mode.

The official Odoo apps are organized into 4 groups:

  • Website: Website Builder, eCommerce, Blogs, Forums, Slides
  • Sales Management: CRM, Point of Sale, Quotation Builder, Subscriptions, Invoicing, Easy Signature
  • Business Operations: Accounting, Project Management, Human Resources (Recruitment, Employee Management, Expense Management, Appraisal, Fleet Management, Leaves Management), Inventory, Purchase, Manufacturing (MRP, PLM, Maintenance, Quality Management)
  • Productivity Tools: Communication (Discuss, Mailing Lists, Notes, Helpdesk, Appointment), Timesheet, Email Marketing, Events, Survey, Live Chat The software is actively programmed, supported, and organized by Odoo S.A.

Odoo is similar to many open source projects where customized programming, support, and other services are also provided by an active global community and a network of 1000 official partners.

Internal Links:

12483 questions
14
votes
7 answers

Odoo - prevent button from closing wizard

I have a transient model that serves as a dialog. In my form view I have a button like this:
The button invokes this function (I can confirm it…
Aron Lorincz
  • 1,677
  • 3
  • 19
  • 29
14
votes
2 answers

How Odoo Stores Session?

How Odoo store the login session when user logged in. I have searched many link but didn't get any satisfied answer. can anyone explain session in odoo.
user4923980
14
votes
6 answers

Docker.io init.d script not working on start container

I've a container with odoo on it on the dir "/opt/odoo/". A init script on "/etc/init.d/odoo-server" #!/bin/bash ### BEGIN INIT INFO # Provides: odoo # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog #…
Mariano DAngelo
  • 920
  • 5
  • 18
  • 39
14
votes
3 answers

OpenERP Unique Constraint

I have a table in OpenERP/PostgreSQL with the following columns: name and description. I added the following validation for unique name: _sql_constraints = [('unique_name', 'unique(name)', 'A record with the same name already exists.')] It works…
codemickeycode
  • 2,555
  • 2
  • 18
  • 16
13
votes
10 answers

Backup Odoo db from within odoo

I need to backup the current db while logged into odoo. I should be able to do it using a button, so that suppose I click on the button, it works the same way as odoo default backup in manage databases, but I should be able to do it from within…
Yaseen Shareef
  • 757
  • 8
  • 21
13
votes
3 answers

How to translate an OpenERP module?

I've just built a custom OpenERP module, let's say /addons/the_meaning_of_life. Now I want to translate it to another language. I now I'm supposed to have an i18n folder containing a .pot and .pofiles. How do I generate these ? It would be nice to…
Daniel Reis
  • 12,944
  • 6
  • 43
  • 71
12
votes
1 answer

WARNING Error-prone use of @class

> WARNING 11_test1 odoo.addons.base.ir.ir_ui_view: Error-prone use of > @class in view report_invoice_document > (account_invoice_report.report_invoice_document): use the > hasclass(*classes) function to filter elements by their classes Can someone…
Chaban33
  • 1,362
  • 11
  • 38
12
votes
4 answers

What is difference between @api.one, @api.multi and @api.model?

I am confused regarding @api.one, @api.multi, and @api.model in Odoo. What are the differences between the three and what are their use cases?
user3567808
12
votes
1 answer

Detect when odoo interface is fully loaded

I need to run some javascript code to check when odoo has ended loading. I know that querying jQuery.active == 0 does the trick in version 7 but that does not work in odoo because it always keep one connection open for the longpolling. Does anybody…
yucer
  • 4,431
  • 3
  • 34
  • 42
12
votes
3 answers

When to use api.one and api.multi in odoo | openerp?

Recently odoo (formerly OpenERP) V8 has been released. In new API method decorators are introduced. in models.py methods needs to be decorated with @api.one or @api.multi. Referring odoo documentation i can not determine the exact use. Can anybody…
BomberMan
  • 1,094
  • 3
  • 13
  • 33
12
votes
2 answers

How to filter datas in OpenERP using domain list

I want to filter recods in OPenERP using domain filter expression In the recored I have a field of list of users, so i want get the record where the user logged in the list [(user.id , 'in' , 'user_ids')] This doesn't work it return this error…
Yug Faa
  • 133
  • 1
  • 1
  • 6
11
votes
1 answer

How to sort records by sequence instead of name in Odoo OCA widget web_widget_x2many_2d_matrix?

I already try with no success to sort by sequence a dict of records by jquery I don't know where sorted again by name. I ask the community on git but nobody answer me, I'm trying to sort by odoo sequence. using modules web_widget_x2many_2d_matrix,…
Mariano DAngelo
  • 920
  • 5
  • 18
  • 39
11
votes
2 answers

Odoo - Hide button for specific user

I am using odoo 10 enterpeise . I want to show buttons to specific users not to groups because there would be many users in a group and i want to only show below button who have the previlige to reject/approve a object. Here is button
Ahsan Attari
  • 987
  • 3
  • 12
  • 26
11
votes
1 answer

Is it possible to refresh a model's view programmatically within a constraint function in Odoo 8?

I have written a constraint for a particular field and I want to refresh the view of calendar when the constraint fails. Below is the code I had tried def _check_date_drag(self, cr, uid, ids, context=None): mom_obj =…
Shravy
  • 656
  • 1
  • 23
  • 61
11
votes
4 answers

How to recompute stored functional field values in Odoo?

Sometimes stored fields must be recomputed, but triggers can not be launched (e.g. in case of SQL injection). How to recompute them an easy way?
and3p
  • 994
  • 2
  • 10
  • 23