Questions tagged [odoo]

Inquires regarding programming aspects of Odoo, such as contributions or plugins, are considered relevant topics for discussion. However, inquiries related to setting up or utilizing Odoo will be deemed off-topic.

I am eager to investigate why this method suddenly stops looping after processing the second record

I need to create a button that loops through all records and performs a method that generates a list of ranges between two fields. Then, it should remove another record from the list and place the value in the result field. I have implemented the code bel ...

Customize your customer service experience by assigning unique rights within each inherited module

I am in the process of establishing a customer service team that will allow users to access Sales Orders, Customers, Invoices, and more. To accomplish this, I have created a group called 'Customer Service' within a separate module. Rather than s ...

What is the best way to display a success message in Odoo?

After successfully sending an invitation by clicking a button, a pop-up message appears confirming that the invitation has been sent. However, there is a problem with the main heading of the pop-up message, which reads Odoo Server Error. This issue arises ...

Tips for changing tree attribute in form view on Odoo16?

How can I modify tree attributes inside the form view for each record consistently? I have tried using get_view(), but it does not work as expected and active_id does not match the record I opened. Can someone suggest a function that works every time we op ...

"Can you guide me on the steps to include a salesperson in the invoice printout in Odoo V11.0? Also, could you please

As a beginner in Odoo, I am looking to include the salesperson's name on the invoice like shown in this image, and have it displayed on the invoice PDF printout. Can anyone advise me on which file to edit in the Odoo system? Also, how can I successful ...

Error in Odoo 14: The first item in the sequence was expected to be a string instance, but a boolean

I encountered an issue where I'm receiving the error message: "in _get_report_values map(lambda x: x.ref, docs.account_invoice_ids)) or ', '.join( TypeError: sequence item 0: expected str instance, bool found". data['test'] = docs.type == 'type1' and ', '. ...

Python with Odoo is throwing a SessionNotCreatedException with the message "session not created from tab crashed", while Selenium is functioning properly on its own

I am currently utilizing selenium integrated with Odoo 13 Here is the code I am using: driver = webdriver.Chrome('/home/dev/chromedriver') When running this code from an external Python file, it works perfectly fine. I even tested executing this code t ...

Changing a decimal number to a time format in Python

Is there a way to convert 10.5 in Python code to 10:30 (10 hours and 30 minutes)? Currently, time = 10.5, but I need the result to be time = 10:30. Does anyone know of a simple solution for this? Thank you all for your help. ...

Does Openerp or Odoo utilize ajax to transmit POST and GET data seamlessly, without the need for page refresh?

Curious about the technology behind ODOO (Openerp) that allows for sending POST and GET data without refreshing the page - surprisingly, there seems to be no visible AJAX code! ...

Problem with inherited xpath visibility in Odoo version 8

I am currently inheriting and trying to add a new page to the view mrp_workorder_variation.mrp_production_workcenter_form_view_inherit_2. However, despite my efforts, the new page is not displaying. Here is the code I have used: <record id="mrp_produ ...

I have developed a selenium script specifically for the odoo framework using Python. Can this script be utilized for conducting load testing? If so, what would be the recommended approach for implementing

After developing a script with Selenium in the Odoo framework using Python, I am now looking to perform load testing. What would be the most suitable tool for this task? Do I need to create a separate script specifically for load testing, or can I utiliz ...

Fetch data from XML-RPC using PHP

I need to extract data from a table and display it in a list using a PHP script. $url_obj='http://'.$host.':8069/xmlrpc/object'; $sock=new xmlrpc_client($url_obj); $msg=new xmlrpcmsg('execute'); $arrVal=array('user_id&ap ...

In Form view in Odoo, the field value appears on the following line when editing

When attempting to edit a value in the form view, I am experiencing an issue where the field's value is being pushed onto the next line. <div class="row"> <label string="Website" for="field_id" class="col-2 fon ...

Openerp, please assist me in getting rid of this

Hello all, I am looking for assistance in removing the "manyone" option from specific pop up fields, not all of them. Some fields still require this feature, but I have noticed that when using widget="selection", my domain filter stops functioning properly ...

OpenErp XML Interface Design

Recently, I received an XML file for my module called certificados.py. This .py module contains the following code: class certificados(osv.osv): _name = 'certificados.certificados' _columns = { 'Item' : fields.integer(&ap ...

Only once is the field in the Odoo table

My situation involves a column labeled "Untaxed Amount" where I only want one value from the "price" field. Currently, I am receiving this value for each article instead of just once as the total price for all articles. Is there a way to achieve this in .x ...

Axios failing to include Content-Type in header

I have set up an Odoo instance in the backend and developed a custom module that includes a web controller. Here is the code for the web controller: Web Controller # -*- coding: utf-8 -*- from odoo import http import odoo from odoo.http import Response, ...