Use this tag for version specific questions about Odoo 15 - the suite of open-source business applications written in Python. When using this tag also include the more generic [odoo] tag where possible.
Questions tagged [odoo-15]
503 questions
8
votes
1 answer
DeprecationWarning: distutils Version classes are deprecated while starting odoo15 on local
I installed odoo 15 on my local and installed all the dependances, but when i start my server it shows me a py warning and i am unable to solve this issue, any help will be much appreciated, the warning i am getting in my local is below:
2022-01-11…

Sidharth Panda
- 404
- 3
- 17
7
votes
2 answers
No module named 'importlib.metadata'
I'm trying to install Odoo 15.0 on mac (python 3.7) when i come to run the command:
pip3 install -r requirements.txt
I got this error message:
Traceback (most recent call last):
File "/usr/local/opt/python@3.7/bin/pip3", line 10, in
from…

Omri Maher
- 101
- 1
- 1
- 7
5
votes
1 answer
Rating from projects
i know the functional flow of project.task which is when you change the state to completed state a rating record is created in rating.rating model. But I am unable to find out which method is responsible for creating the record in that model.
I…

Sidharth Panda
- 404
- 3
- 17
3
votes
1 answer
Is there a way to use a computed field as a field for grouping?
my field
SCHEDULE_SELECTION = [
("no_schedule", "Без терміну"),
("overdue", "Протерміновано"),
("today", "Сьогодні"),
("this_week", "Цього тижня"),
("next_week", "Наступного тижня"),
("after_2_week", "Більше 2…

Wald Sin
- 158
- 11
3
votes
0 answers
How to return an existing action modified from a controller in Odoo 15?
I made a controller from which I redirect the user to an existing action, this way:
@http.route('/url', type='http', auth='user')
def my_controller_method(self, the_used_ids, **kwargs):
...
action = request.env.ref('module.action_xml_id',…

forvas
- 9,801
- 7
- 62
- 158
3
votes
1 answer
Add a new option to an existing selection field
The following options are what I have available currently:
I want to add another option called 'Solved', with blue colored circle.
I did inherit the "project.task" model and added selection_add method and overridden the kanban_state selection field…

Abdullah Al-Habbal
- 33
- 4
3
votes
0 answers
How to create a dynamic notebook inside a XML file using Python - Odoo 15
I have a many2many field where as I select the fields they should be dynamically represented on a page inside the notebook. I can dynamically create the page inside the notebook, but I can't introduce fields inside the respective page. I'm using…

arleite
- 101
- 6
3
votes
2 answers
After Unlink need to redirect, Odoo
I want to, If i click the button, delete the data and turn back the tree view. I can delete the data with unlink method. But I can not do redirect to tree view. How can I do it?
This is my Code:
def action_delete(self):
vals = {
…

Enes Kara
- 81
- 6
3
votes
1 answer
select database by user who logged in, in odoo
I have multiple users and same number of databases. A unique database for each user.
I want to select database dynamically whenever user login with his details. I don't want him to select or input his database name in any form. The selection should…

g_7
- 51
- 4
3
votes
5 answers
Odoo15 - ModuleNotFoundError: No module named 'PyPDF2'
I'm new to Odoo.
I use pyenv to host odoo and all the dependencies. All under odoo system user, and I was able to start odoo service:
~# systemctl status odoo-15
● odoo-15.service - Odoo15
Loaded: loaded (/etc/systemd/system/odoo-15.service;…

redpill
- 87
- 2
- 8
3
votes
2 answers
Install The Wkhtmltopdf Extension issue in Odoo 15 Packaged By Bitnami
Install The Wkhtmltopdf Extension issue in Odoo 15 Packaged By Bitnami For Windows / Linux / MacOS / OS X VM
I got this error when using odoo 15 on VMware workstation 16
Error / issue image | screenshot
this is what the error shows in my odoo web…

Anmega02
- 39
- 2
- 5
3
votes
0 answers
Odoo 15 | act_window with useService Hook don't work in custom OWL component in setup method
I'm trying to register an act_window within the setup method using the useService Hook, but it doesn't work.
This is my component.
/** @odoo-module **/
// const { useState, useRef } = owl.hooks;
import { useEffect, useService } from…

Angel García
- 31
- 3
2
votes
1 answer
Executing a custom method on a Recordset through the JSON-RPC/OdooRPC library
We're working in Odoo 15, utilizing the OdooRPC library running in AWS Lambda. I have a custom method built into a model, and I'm trying to figure out how to call that method (to update a lot of the record's attributes) through the OdooRPC…

Devin Gardner
- 17
- 3
2
votes
0 answers
How to create user accounts for existing employees in Odoo 15?
In odoo 15 i have to create users for existing employees. so is there any way to create it from existing employee instead of I create users and then from HR Setting i select Related User.
so how I can create all employees to users in odoo?

RAK
- 109
- 7
2
votes
1 answer
Odoo 15 - Create a new page in Qweb report
i´m new to odoo and i want to understand if its possible to create a new page for my report
…

Ricardo Silva
- 21
- 2