Use this tag for version specific questions about Odoo 14 - 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-14]
591 questions
1
vote
0 answers
odoo 14 pivot measure limit
I was trying to create pivot table but i am not sure if what a want can be done using a pivot View
Customer
Tolat
Total today
last 7 days
last 30 days
name 1
1000
200
350
1000
name 2
5000
0
4000
5000
This is what I have until…

Moaz Mabrok
- 697
- 10
- 32
1
vote
0 answers
Odoo KeyError: 'set_scrollTop' and 'ir.actions.do_nothing'
Does these type can't not use in odoo 14?
return {"type": "ir.actions.do_nothing"}
return {"type": "set_scrollTop"}

XUN
- 55
- 1
- 9
1
vote
1 answer
Write a button to copy data from table (Python3、Odoo 14)
I try to write a copy function to copy data from table to same table.
def formmst_copy_func(self):
_logger.info('=== formmst_copy_func start ===')
for record in self:
formbas_obj = self.env['hre.formmst']
…

XUN
- 55
- 1
- 9
1
vote
1 answer
how to get selected companies in a pdf report
as mentioned in the title, I want to get the selected companies (in a multi-company DB) inside a report, I know that it can be done in python using:
select_companies = self.env['res.company'].browse(self._context.get('allowed_company_ids'))
but in…

Bashir
- 2,057
- 5
- 19
- 44
1
vote
0 answers
Odoo 14 longpolling bus.Bus unavailable running behind GKE Ingress
I have an Odoo 14 app running on GKE cluster. The multiprocessor mode has been enabled by setting workers = 2. I chose the default GKE ingress to route the requests that match /longpolling/* to the longpolling port and the rest to the normal…

billydh
- 975
- 11
- 27
1
vote
3 answers
odoo.exceptions.ValidationError: Error while validating view:
List item
When I try to upgrade the module following error occurred and I attach the picture of the error.
2.How Can I resolve this error
**Code:**
Action 226 (id: 226) does not exist for button of type action.
View name:…

Charles Don Bosco A
- 21
- 3
1
vote
2 answers
Cannot create table in odoo 14
I just created a new module with the following structure:
mainfolder
-models
--__init__.py
`from . import student`
--student.py
```
from odoo import api, fields, models
class SchoolStudent(models.Model):
_name = "school.student"
…

Hicham
- 23
- 4
1
vote
1 answer
Is it possible to have serial numbers to the lot items in odoo14?
In odoo I can work with either lots or unique serial number. But I want to unique serial number to each and every items in a single lot. Then I will transfer that lot. So, is it possible to add serial number to the lot item?

Manan
- 394
- 4
- 15
1
vote
0 answers
odoo create database via xmlrpc
I'm trying to script the creation a a new database + import data from other sources in odoo.
I am at the first step, creating a new database.
I have the following code, but it doesnt work :
import xmlrpc.client
print("Db name : ", end="")
db_name =…

David V.
- 5,708
- 3
- 27
- 27
1
vote
0 answers
Odoo model inherit issue
I'm developing a custom view that inherit from email marketing module and add some email's templates, I coundn't find how to modificate the original view the terminal got me this error:
2021-06-22 20:18:26,442 48472 INFO odoo odoo.modules.loading:…

WhiteAB
- 162
- 3
- 11
1
vote
1 answer
Odoo 14 Barcode module poor performance with get_all_products_by_barcode method
I'm currently using the Barcode module in Odoo 14 to scan the barcode of the products. However, every time I click on an order, the module loads extremely slowly.
I figured out that the get_all_products_by_barcode method caused all of this. My…

Nam Pham
- 11
- 3
1
vote
0 answers
Odoo - Filter Dropdown based on Roles within a project
I have an issue with a functionality i have a dropdown that get populated based on a Many2one field and should display all the roles created for a particular project, and it works fine when a create for the first time the entry it brings the…

Ron
- 91
- 8
1
vote
1 answer
Repeating webhook ODOO - Ignore external requests?
In odoo, I'm inheriting the create, write and unlink methods in odoo to send a webhook whenever these methods are called. The webhook is working, however it's being called repeatedly until I force odoo to restart. The webhook triggers another module…

Luke
- 226
- 1
- 10
1
vote
0 answers
Odoo dynamic Subdomain same database
In the past, I developed on ruby rails framework
on ruby, I was able to create a dynamic subdomain using routs
for ex :
If I have an app on the domain https://appdomain.com
I was able to create a subdomain for every user dynamic
ex:…

IDev DooR
- 11
- 2
1
vote
0 answers
Populate Dropdown with One2many field
I have a model in which i create records, what I want to accomplish is from this records i have want display them in another module in a drop down. in the model I have added the One2many field that makes the relation with the main model but is not…

Ron
- 91
- 8