Category "odoo"

Getting error "Unknown error during import: <class Keyerror> : 'Field1' at row 2 resolve other errors first" in odoo 14

I have a custom module in which i want to import some of the updated data but getting an error Unknown error during import: <class 'KeyError'>: 'field1'

Uncaught (in promise) TypeError: this._onLineConfigured is not a function

i am trying to call a js function from another function. But I am getting an error. *.js reset: async function (record, ev) { // var self=this;

VS Code's Python Debugger doesn't hit the breakpoint for Odoo 10

I use VS Code extension Python version 2.2x, Python interpreter version 2.7x, and use Odoo 10 of the latest version. I'm using WSL with Ubuntu 18.4 LTS. I canno

how can I create a computed fields that is depending on another model

I have two models reservation(inherit from sale.order) and places . I want to make a one2many field in the places model so when a reservation(sale.order) is con

ImportError: python3.8/site-packages/tensorflow/python/profiler/internal/_pywrap_traceme.so: failed to map segment from shared object

When I import from tensorflow.keras.preprocessing import image in a single python file it works perfectly. Even in python interpreter console it is imported suc

ValueError: Compute method failed to assign custom.module(11,).historial_ids in Odoo 14

I've only been learning odoo-14 for 2 weeks. There are three compute functions in my code. But I got the error: Odoo Server Error Traceback (most recent call

Element '<xpath expr="//field[@name=&#39;date_due&#39;]">' cannot be located in parent view

I am upgrading a module that allows stock Picking From Customer/Supplier Invoice. This is a module downloaded for odoo11-community and i am performing an upgrad

How to open a search dialog using an OWL component?

I am trying to open a search dialog similar to what happens when you click on "Search More..." on a Many2one field widget using OWL. I understand this has to be

I am trying to inherit and add one2many fields in res.partner model . It shows errror : Invalid field 'same_vat_partner_id' on model 'vehicle.brand'

inherited " res.partner " and added a page (editable tree) in notebook section, but when clicking on "Add a line" it is showing below error: Invalid field 'same

odoo dynamic snippet does not works correctly for public user

When i create dynamic snippet, it works correctly only if you log in like an administrator account, snippet uses data from the odoo model. So if you don't log i

How to install xmlrpc in php 8.0 MACOS

Hello I need to connect an application with PHP 8.0 to Odoo. And I get the following error. PHP XMLRPC library is not installed How can I install this library

How to add new record to One2Many field automatically via create function in different model?

I have written a method _update_config_list which should automatically be called when a record has been created in account.analytic.line. This method should cre

How to import database from odoo 14 to postgresql?

I am trying to take a backup from Odoo enterprise 14 through query. When I try to export the dump file I get this message Can anyone guide me, how to export all

Can't remove backslash from string in Python

I want to remove backslash from a string, I tried result.replace('\\','') but nothing changed. Anyone has an idea how I can remove it? result = '[(\'company_ids

How to add default language url path on Odoo website

I develop my company website on Odoo 14 and it is multilingual. The default language is English. For other language it adds language path like: for Italian: /it

How to uncheck suggested recipients for message ODOO 14?

In odoo 14 when I open an opportunity and I press the button "New Message", the customer from that opportunity appears as a receiver of the message by default.

Change many2many field tags color odoo

How i can chage color, for tag in my many2many field. example:

Incorrect multicurrency Invoice - Odoo 15

I have multicurrency setup in odoo 15. I create the invoices in my local currency and i expect it to be converted into its dollar equivalent when I view the i

odoo 11 Is there any difference if we take dump from Postgres and from Odoo Backup?

In odoo 11 which will be suggested backup and restore process, Dump and restore from postgresql or using Odoo to take backup and restore it. I want to know, whi

Paste an image from my clipboard on an html widget (Odoo 10 Community)

When I paste an image from my clipboard to a text or html type field with widget="html" its duplicated the image. Like this. The browser console does not show a