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 ...
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 ...
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 ...
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 ...
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 ...
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 ', '. ...
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 ...
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. ...
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! ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...