Category "odoo"

Odoo - Override a specific write and create method

I have a problem with the overload of the create() and write() methods. Let me explain. My custom module inherits from a custom module in which I have no rights

How do I generate an Odoo PDF report from Python?

I'd like to generate a PDF containing all stock.report_picking reports for all deliveries for a given sale order, merged into one file. I've already done someth

Modify Odoo 14 Export to Excel function (bulk export)

I'm looking to change the behaviour of Odoo 14 Export to Excel function. At the moment if I select at the same time several records of a model and run the expor

How to override js method in Odoo 15?

Can anyone give me minimal code so that any method I can override for JS method? changeMode(mode) { if (!this.hasPriceControlRights && mode ===

override javascript methods in mail/static/src/js/chat_manager.js of Odoo 11

I am trying to override 2 Javascript functions in the Odoo 11 under mail/static/src/js/chat_manager.js The first one is make_message function make_message (data

Can't group employees list without years

my issue is that when I want to group a set of employees according to the month of their birth date, Odoo separates the months by years, which I want to avoid b

Bank reconciliation for NSF payment journal entries

Normally in case of any check bounced due to non-sufficient funds, statement will show that two lines and NSF charges. Now in Odoo system we already reserves th

Add one2many field to a website form odoo 13

I have a web form it contains many input fields. I want to add an one2many field to it so that the user can select multiple lines and save them to DB. I want so

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