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
7
votes
2 answers

Use mapped() in odoo 10

What is mapped and how use this in odoo 10? And how to use mapped and filter in Odoo 10? example result = sum( order.order_line.filtered( lambda r: r.state != "state" ).mapped( "field_name" ) ) and multiply each value of field1 by…
Karara Mohamed
  • 923
  • 1
  • 6
  • 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
1 answer

Odoo- Enable developer mode by default for a user

I am using Odoo 10-e. I want to enable developer mode for a user by default when he logs in and that user is other then admin. Is this possible in odoo 10 ?
Ahsan Attari
  • 987
  • 3
  • 12
  • 26
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
3 answers

How to adjust column widths in tree views in Odoo 10?

I wanted to change the column width of the columns in tree view. So far I have tried these solutions Adding in the field tag: width="100px" or width="15%%" Adding in the field tag: style="width: 100px" But Nothing seems to work for me.
Vaibhav Bhavsar
  • 493
  • 3
  • 15
6
votes
1 answer

How to return an existing ir.actions.act_window from Python in Odoo 10?

What I need If the user clicks on my button, take him to different views of different models depending on a field of the current record. What I did I have declared a type object button to call a Python method. Inside it, I check the field. If its…
forvas
  • 9,801
  • 7
  • 62
  • 158
6
votes
1 answer

I don´t understand Normal Polish Notation (NPN or PN). How to build a complex domain in Odoo?

Could someone translate the following polish notation to its SQL counterpart: ['|', '&', ('is_company','=', True),('parent_id', '=', False),('company_name', '!=', False),('company_name', '!=', '')] My guess is : is_company = True OR parent_id =…
Lekhnath
  • 4,532
  • 6
  • 36
  • 62
6
votes
2 answers

Odoo 10 - Call method from XMLRPC

I have extended model stock.picking with a new method called do_new_transfer_xmlrpc which enables a basic new_transfer from XMLRPC. class Picking(models.Model): _inherit = 'stock.picking' @api.multi def do_new_transfer_xmlrpc(self): print…
M.E.
  • 4,955
  • 4
  • 49
  • 128
6
votes
0 answers

Odoo 10 with AngularJS

I'm trying to create a web extension using AngularJS, however, I did the following: I created the widget and I rendered it. I tried to put ng-app and ng-controller on some rendered divs, and the result was there was no response at all. It seemed…
6
votes
1 answer

Client Action in Odoo

In Odoo/openerp docs and it says 'client actions' are entirely implemented client side that's it. they do not provide any example detailed documentation about it for Odoo v10. Does anybody have precise idea of how to implement client action and full…
DexJ
  • 1,264
  • 13
  • 24
6
votes
2 answers

How can I stop Odoo custom button from auto save?

I have created a button inside my view which triggers a method inside the module. However on clicking the button the temporary edited fields are saved and not reverted when clicking the 'Discard' button. Here is the code for my view:
IstaLibera
  • 580
  • 5
  • 22
6
votes
2 answers

Is there any way to forcefully import data into readonly fields in Odoo 9 or 10?

We have created a custom module in Odoo by inheriting res.partner view and some custom fields, which are readonly, were added. Fields such as customer_since_date and customer_id. We want to import data to these fields but Odoo does not allow import…
Vaibhav Bhavsar
  • 493
  • 3
  • 15
5
votes
2 answers

I got this "LINE 1: ...partner"."picking_warn_msg" as "picking_warn_msg","res_partn..." error while inherit res.partner

my .py file is class Suppiler(models.Model): _inherit = "res.partner" author= fields.Boolean(string='Author') and xml file is
5
votes
2 answers

How to inherit or override js file in odoo?

I want to change a function in js file. How to do it? Is there any ways to override the function? addons/web/static/src/js/views/form_common.js, i want to change the function-get_search_result: function(search_val){} dataset.name_search(search_val,…
HVH
  • 249
  • 6
  • 14