Questions tagged [odoo-10]

Odoo is a suite of open-source business apps written in Python and released under the LGPL license since version 9 (previously AGPL). 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 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 500 official partners.

Internal Links:

2146 questions
3
votes
2 answers

How can i call my method after create new object in odoo 10?

I'm using odoo 10 i inherited from module stock.quant i add a new attribute and a new method. i want my method execute after each creating a new object in stock.quant. This is my code Thanks for help class stock_quant(models.Model): _inherit =…
MOHAMED
  • 101
  • 2
  • 10
3
votes
2 answers

How to focus a field which is in a TransientModel form in Odoo?

I've just realized that default_focus="1" does not work for fields in Transient Model views (at least the ones opened with target="new"). And autofocus="autofocus", which I thought it should be used only with buttons or pages, works for those…
forvas
  • 9,801
  • 7
  • 62
  • 158
3
votes
3 answers

When i try to add record to my model using odoo controller I got this error "The requested URL was not found on the server"

I wrote this inside my module controller from odoo import http from odoo.http import request class Mylib(http.Controller): @http.route('/mylib/project', auth='public',method=['POST'], csrf=False) def fun_post(self): vals =…
3
votes
1 answer

Odoo notebook position

Odoo 10 I want to move a notebook page but having errors when I do so. I want to move the membership notebook before the Contacts & Addresses In the Membership addon I replaced to before but this did not work and…
user2379186
  • 421
  • 6
  • 27
3
votes
1 answer

deploy odoo app with support of odoo 10 and odoo 11

I developed an app that support odoo 10 and odoo 11 both and I want to deploy this app under one deployment. Mean If I visit my odoo apps I should see one app not two apps and when I select version from drop down, it should show me app of the…
Nauman Sharif
  • 163
  • 11
3
votes
3 answers

Save value from readonly field in odoo

I have 3 fields on form field sum is readonly. After click on Save data from readonly field is not store in database. Example: class myClass(models.Model): number_1 = fields.Integer(store=True,default=0) number_2 =…
Pointer
  • 2,123
  • 3
  • 32
  • 59
3
votes
0 answers

How to get the current recordset with _origin in an onchange method?

I have created three models: player, match and bet. A player can make N bets and a bet can be made by only one player (1:N). And a match can have N bets but a bet belongs to one match (1:N). So I have the following models: class…
forvas
  • 9,801
  • 7
  • 62
  • 158
3
votes
1 answer

protection not working with api.constrains

I want to forbid making product if there is no "qty_available". But this code is not working. It works only if i change @api.constrains to @api.onchange('move_lines') but if i do it with onchange there is still possibility to save record. as…
Chaban33
  • 1,362
  • 11
  • 38
3
votes
1 answer

How to make all fields readonly in a form when the state is 'confirmed'?

When the state of an object changes to 'confirmed', I need all fields in the form to be readonly. So far I put attrs = "{'readonly': [('state', '=', 'confirmed')]}" in each field, but I would like to know if there is any way to make it more optimal.
Dayana
  • 1,500
  • 1
  • 16
  • 29
3
votes
2 answers

How to get the value of `write_date` to a variable

In odoo every model will be having a write_date column which will store the last edited time and date of the record.I want to take the value of that field to a variable/ field. But when I print this , it is printing False . What to do.?…
vbt
  • 795
  • 7
  • 31
3
votes
1 answer

Why does search view shows only 160 items?

In customer master, when I entering the state I clicked search more option. It lists only 160 items where actually it contains more than that. So I checked it found that the search view only list 160 items even the master file contain more than…
HVH
  • 249
  • 6
  • 14
3
votes
1 answer

Unable to translate a term inside a Qweb condition in Odoo 10. How to do this?

I'm trying to translate a specific term which appears in a Qweb report, but its behaviour is very different from expected. If you install the standard sale module in Odoo 10, take a look at its sale order report (XML ID = report_saleorder_document).…
forvas
  • 9,801
  • 7
  • 62
  • 158
3
votes
1 answer

Odoo report field data is "Undefined" when expected False

I have modified crm_opportunity_report : added a boolean field is_customer = fields.Boolean('Is customer', readonly=True) added a field to the view CREATE VIEW crm_opportunity_report AS ( SELECT <...>omitted<...> rp.customer as…
3
votes
3 answers

Is it possible to overwrite a CSS class defined previously in Odoo?

I need to change the class page, which you can see in every report template. This does what I want:
...
The problem is that I need to apply that style each time the class page is applied, so it…
forvas
  • 9,801
  • 7
  • 62
  • 158
3
votes
1 answer

Odoo 10: Error: "You must set a Vendor Location for this partner" in internal purchase orders in multi-company setup

I encounter an error in internal purchase orders between the two companies in a multi-company setup. When I try to accept a purchase order I get the ERROR: "You must set a Vendor Location for this partner" and the purchase order remains a draft…
Aron
  • 73
  • 5