Category "odoo"

in odoo14 , i'm sending a notficition to the manager , is there any option to add a button in the notification?

i want to add a button in the notification so the manager can answer with yes or no def Send_notificiton(): for note in self: note.manager_id.user_id.notify_dan

Odoo : How to clear a many2many field when a many2one field change?

Im new to odoo. Im using odoo 13 and I have a many2one field and a many2many field with domain on the many2one field. What I need is that if the user changes th

Odoo Sale order : wrong calcul qty_delivered in kit bom

I'm on Odoo 11, I'm on a particular case : I've got a product (GRI002) which has a BoM of "Kit" type. GRI002STK is the only component : When I do a sale ord

How to override the unlink method of 'res.partner' model? Odoo 14

I want to remove the condition that generates the UserError in unlink method of 'res.partner' model: def unlink(self): running_sessions = self.env['pos.sess

How to get current company id odoo 15?

I've try this: [('company_id','=',company_id)] self.env.company_id self.env.user.company_id But those all 3 ways are leaded to default company, but not current

Res.user attribute object loading page Odoo

A mate tried to install some web templates for the backend and got a 503 HTTP error "Service Unavailable" on the browser. I saw the modules and deleted from ir_

haw to create many2one with xml rpc ODOO v14?

i want to create PRODUCT I want to show 'categ_id' How can it be accomplished 'categ_id' . fields many2one with XML RPC

what is the python interpreter for odoo serveur (openERP)

We use opnerp (odoo) on a linux server (debian), I want to locate the python interpreter used by the odoo daemon, So the question is how I can change the path t

Create Button is not showing up after following the Odoo Tutorial when creating a new module

I am in the process of learning to develop Odoo and started by following this tutorial https://www.odoo.com/documentation/15.0/developer/howtos/rdtraining/06_fi

How to access the printers connected to a local machine when CUPS is installed in an Ubuntu Server

I have an Odoo Instance running in an Ubuntu Server.I installed the module base_report_to_printer ( Module link : https://github.com/OCA/report-print-send/tree

psycopg2.extensions.TransactionRollbackError: could not serialize access due to concurrent update

I have an issue with TransactionRollbackError: could not serialize access due to concurrent update while updating the table.I'm using postgres with odoo V13, th

Odoo - Context defined in view not passed in form

I'm using Odoov15, I try to inherit the Odoo sale_crm module. To make my tests, I modify the sale_order_views.xml in sale_crm/views. I add thoses lines in the s

How to group data from a model with repeating names Python Odoo

My Odoo model has repeating values. How to group data from a model with repeating names. I need to get a data format like this Administrator : name Administrato

Volume odoo. Permission issue

Ubuntu 18.04. I am using odoo docker files docker-compose: version: '3.7' services: web: build: ./build # image: odoo:13.0 # user: root depen

how to hide edit button in view form (Odoo v13)

I would like to know the way to hide the "edit" button from the form view when it is in a specific state for example: In the help desk I have the states that ar

Customer filter in Odoo 13 POS

I need to filter the Customer list in Odoo 13 POS customer button. I have written code in js and added it in XML file also but it's not working. The code is men

Inherit class Worker on Odoo15

In one of my Odoo installation I need to setup the socket_timeout variable of WorkerHTTP class directly from Python code, bypassing the usage of environment var

How to generate multiple odoo qweb report (PDF Files) in a zip format?

For now I can use Odoo for single record report, but when I use multiple files, all the reports do not come in multiple PDF but in one PDF file. So, is there an

Why a specific div in the header is overlaping the page in PDFs in Odoo 13?

I am making a customized PDF report in Odoo 13 Enterprise. I have to add a vertical text in the left margin of each page of the report. So I need to put that ve

Zipfile module for Python3.6: write to Bytes instead of Files for Odoo

I've been trying to use the zipfile module for Python 3.6 to create a .zip file which contains multiple objects. My problem is, I have to manage files from an