Questions tagged [odoo-9]

Odoo is a suite of open-source business apps written in Python and released under the AGPL license. It is used by 2 million users worldwide to manage companies of all different sizes. The main Odoo components are the server, 260 core modules (also called official modules) and around 4000 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, e-commerce, 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.

Odoo s.a. provides a web site 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 licence of Odoo. As of June 2014, the number of Odoo apps reached more than 4000.

Module development mainly relies around editing and files. 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 in 6 groups:

  • Front-end apps: website builder, blog, e-commerce
  • Sales management apps: CRM, point of sales, quotation builder
  • Business operations apps: project management, inventory, manufacturing, accounting and purchase
  • Marketing apps: mass mailing, lead automation, events, survey, forum, live chat
  • Human Resources apps: employee directory, enterprise social network, leaves management, timesheet, fleet management
  • Productivity apps: business intelligence, instant messaging, notes

The software is actively programmed, supported, and organized by OpenERP 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 500 official partners.

Internal Links:

1486 questions
24
votes
3 answers

What does |= (pipe equal) sign do in python?

I saw a piece of code in a project where following is written: move = Move.create({ 'name': repair.name, 'product_id': repair.product_id.id, 'product_uom': repair.product_uom.id or repair.product_id.uom_id.id, 'product_uom_qty':…
Tanzil Khan
  • 942
  • 1
  • 9
  • 20
20
votes
5 answers

Odoo Migrations

I have some modules which expand add-ons of Odoo. For example, models in my_module which expand crm: class Lead(models.Model): _inherit = 'crm.lead' # exmaple fields field_1 = fields.Char(...) field_2 = fields.Many2one(...) # ...…
Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75
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
10
votes
3 answers

Merge Two PDF by PyPDF2 but got error Unexpected destination '/__WKANCHOR_2'

from PyPDF2 import PdfFileMerger, PdfFileReader filepath_list = ['/tmp/abc.pdf','/tmp/xyz.pdf'] merger = PdfFileMerger() for file_name in filepath_list: with open(file_name, 'rb') as f: merger.append(f) merger.write("result.pdf") While merger…
Deval
  • 126
  • 1
  • 11
10
votes
1 answer

Odoo 9. How to override form widgets?

I work with odoo 9. In the system exists render_value method for each type of field: /odoo/addons/web/static/src/js/views/form_widgets.js /odoo/addons/web/static/src/js/views/form_relational_widgets.js How I can use my custom method…
Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75
9
votes
3 answers

Odoo extension and inheritance

Odoo has three types of inheritance, and I have at least that number of questions. 1. 'Normal' Inheritance (_inherit) This is relatively intuitive to me - but why don't they just do it in the pythonic way: ChildClass(ParentClass): Why do they have…
amchugh89
  • 1,276
  • 1
  • 14
  • 33
9
votes
4 answers

Why are some items not translated in Odoo?

I have a problem with translations in Project module. Some menu items are not translated. What could be the problem? Here project_view.xml
Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75
8
votes
2 answers

Exception:bus.bus unavailable in Odoo

I having some error in the server that is File "/home/odoo/odoo/odoo_8_test/addons/bus/bus.py", line 188, in poll raise Exception("bus.Bus unavailable") Exception: bus.Bus unavailable Because of this I lost the context value and some variable…
Jeenit khatri
  • 318
  • 4
  • 19
7
votes
1 answer

Get number of sheet excel in python

How get number of sheet in below python example? file = self.excel_file.decode('base64') excel_fileobj = TemporaryFile('wb+') excel_fileobj.write(file) excel_fileobj.seek(0) workbook = openpyxl.load_workbook(excel_fileobj,…
Pointer
  • 2,123
  • 3
  • 32
  • 59
7
votes
1 answer

Display html in tree view odoo

Is it possible display html in tree view? For example add strong to string < strong >MY STRING < / strong > I'm try use widget="html" but strong tag is visible! .py @api.depends('name') def _get_html(self): self.html_text = "" +…
user_odoo
  • 2,284
  • 34
  • 55
7
votes
3 answers

Difference between with and without sudo() in Odoo

What is different between: test = self.env['my.example'].sudo().create({'id':1, 'name': 'test'}) test = self.env['my.example'].create({'id':1, 'name': 'test'}) All example work, but what is the advantages when using sudo()?
Pointer
  • 2,123
  • 3
  • 32
  • 59
7
votes
2 answers

How to get products available quantity (Odoo v8 and v9)

I need to get products available quantity from odoo stock. There are several models I stock_quant, stock_move, stock_location. What I am trying to achieve are two things: Products total available quantity Products available quantity based on…
Tanzil Khan
  • 942
  • 1
  • 9
  • 20
7
votes
1 answer

How to use the barcode scanner on a custom POS popup?

I'm trying to create form which would simplify adding of the products which are not yet registered to nomenclatures for my small shop. For this I've created module with following form:
onorua
  • 385
  • 4
  • 18
7
votes
2 answers

How to extract data from SQL query and assign it to Odoo class columns?

I have been trying to extract data from a .mdb database and get it into Odoo 8 class columns. This is my .py file class attendance_biometric(osv.Model): _name="attendance.biometric" _rec_name='name' _columns={ …
Shravy
  • 656
  • 1
  • 23
  • 61
7
votes
1 answer

Odoo. Dropdown with limits

I have some One2Many field in my model. I set limit = 5 for tree element in view. But how I can change list with possible values(80-200-500 etc.) to my custom list(for example: 10-15-etc.)? Here my xml: