Questions tagged [odoo-16]

Use this tag for version specific questions about Odoo 16 - the suite of open-source business applications written in Python. When using this tag also include the more generic [odoo] tag where possible.

187 questions
1
vote
1 answer

"Error - Wkhtmltopdf failed (error code: -11). Memory limit too low or maximum file number of subprocess reached."

I am working on an Odoo project where I need to generate PDF reports for 10 000 records. When I try to print a report with a high number of records, I encounter the following error: Wkhtmltopdf failed (error code: -11). Memory limit too low or…
1
vote
1 answer

odoo16 - Can't clone undefined template 'ListView.buttons' to create

In odoo 16 I cannot add buttons to the top of list view. I have seen several treads about this issue online - all with no solution. please help me with right direction to solve this issue. Impacted versions: 16 - latest version from…
1
vote
0 answers

How do I add a Qr Code to the POS Receipt in Odoo 16?

I am working on a project where I am trying to generate a QR code based on the information of an order and output it onto a POS receipt. I have generated a QR code and saved it into a custom field in the POS order module using this code: from odoo…
Raphael
  • 11
  • 1
1
vote
0 answers

How can I login in Odoo from a custom controller without username and password

I am trying to find a way to create an odoo controller which allows me to login without having to use check username and password. (part of a sso solution). Basically I want to create a session myself. I can't find a working example.
remcoh
  • 81
  • 1
  • 5
1
vote
0 answers

An security restriction comes out when I tried to create a new res.partner in odoo

The error was attached and it seems access right restricts me to create new res.partner. What should I do if I dont want grant the users Billing right?
Oliver
  • 191
  • 1
  • 10
1
vote
2 answers

How can I add a chatter for many2many fields (tags) in Odoo 16?

I want to add chatter for Tags. But odoo does not support tracking of many2many fields. What should i do? Any Suggestions. I tried to put tracking=true on tag_ids field but it does not work. I am stuck here. Please give your suggestions.
1
vote
1 answer

how to show specific approval dashboard to some users and not all approval types in odoo 16

I want to show the few approval types to the one user and few to the other is it possible in odoo16 through coding or some kind of setting? For example in the picture i don't want to show the cross approval types to user A and want to show the all…
Krakalien
  • 27
  • 1
  • 1
  • 7
1
vote
1 answer

Odoo PyCharm debug can't find my breakpoints

I Try to debug my Odoo module, but can't find out my breakpoints in result. IDE: PyCharm OS:Ubuntu Also set debug setting in my init.py file pydevd_pycharm.settrace('', port=5234, stdoutToServer=True, stderrToServer=True) I need to…
Lubomir
  • 65
  • 5
1
vote
1 answer

Odoo dynamically select views to render

I have create 4 form view from odoo user interface. Now I want to render view conditionally based on my model data like state. How can I achieve this ? or Where I can override a method to render view conditionally? Update According to the comment…
Riajul Kashem
  • 89
  • 3
  • 13
1
vote
1 answer

How can I override createMarkerPopup function of MapRenderer class in Odoo16

I am trying to add new Send SMS button on map marker as you can check below. I am unable to add on click method, I have tried below code but its not working import { MapRenderer } from "@web_map/map_view/map_renderer"; export class SmsMapRenderer…
M Tahir Noor
  • 443
  • 2
  • 10
  • 31
1
vote
0 answers

Odoo generate dynamic child model with parent model fields

Is there any way to give user an option generate dynamic model (Table on Database)? Suppose I have a model name Data which has four fields name, latitude, longitude and properties. When user create a data object and add some properties field to this…
Riajul Kashem
  • 89
  • 3
  • 13
1
vote
1 answer

odoo.http: Exception during request handling

When I'm trying to run Odoo16 in my PyCharm I get the following error and don't know what's the problem: 2023-05-13 13:21:03,574 31759 ERROR dbodoo16 odoo.http: Exception during request handling. Traceback (most recent call last): File…
Avril
  • 13
  • 2
1
vote
1 answer

error in connection to server on socket (odoo 16) on ubuntu

I recently installed Odoo 16 on Ubuntu and everything seemed to go smoothly. However, when I try to create a database by accessing http://localhost:8069, I'm seeing an error. Can you suggest some steps I can take to fix this issue? After running the…
Mariam Khaled
  • 21
  • 1
  • 3
1
vote
0 answers

Odoo 14 to 16 Duplicate Views not Upgrading

I have a duplicate view in Odoo 16 for the web.frontend_layout One marked with the External ID 'web.frontend_layout' is the correct upgraded version. Another is unmarked with the External ID, and is a stale outdated version. If I try and delete the…
Anthony Taylor
  • 101
  • 1
  • 3
1
vote
1 answer

Is it posible create a selection field dynamiclly?

vt_invoice_type_dinamic = fields.Selection([ ('1', 'Sale'), ('2', 'Education'), ('14', 'Services'), ('22', 'Invoice WA'), ], string='Siat invoice type') Actually I have this field with four values for selection, I need to display 1 and 2, depending…
1
2
3
12 13