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
2 answers
How to redirect users to login page in odoo?
I am trying to redirect users to the odoo log-in pages when they click a button in my form view for re-authentication.
I wanted to go through the actions URL route but that will make me hardcode the URL of the site where odoo is hosted of which I am…

A.Sasori
- 385
- 3
- 20
1
vote
1 answer
How to fix AttributeError: module 'werkzeug' has no attribute 'redirect'
I am using the python package werkzeug to redirect users upon signing a document, using a sign enterprise module in odoo, and it gives me this error.
File "/opt/odoo/enterprise/addons/sign/controllers/main.py", line 106, in sign_document_from_mail
…

A.Sasori
- 385
- 3
- 20
1
vote
0 answers
Error on accessing email even with administrator login in odoo 14
I am using odoo 14 community edition.
I am facing error when click on email (Setting/Technical/Email)
In start its working fine but now its giving following error;
The requested operation cannot be completed due to security restrictions. Please…

Muhammad Saleem
- 97
- 7
1
vote
1 answer
Odoo - Extend context in xml rather than replace
I've been trying to inherit a form view and extend the context of a field rather than replace it completely. So far, the only thing I've been able to do is find out what the context is before I inherit (through looking at it in the UI of the…

Jeremyakriska
- 11
- 1
1
vote
1 answer
How to modify files and folders structure of scaffold command?
I find myself use command scaffold to generate a template for a new module.
However, as I use it a lot, I need to tediously delete some files or some codes in order to make it into a structure I like most of the time. For example, I always delete…

holydragon
- 6,158
- 6
- 39
- 62
1
vote
3 answers
How to get Odoo records in Javascript without RPC?
I'm developing and extension for POS in Odoo 14.
I've created a new screen where I will be able to see all records from pos.order that are in a draft state.
In my javascript file I've created the screen and tried to get the records through my custom…

southernegro
- 384
- 4
- 20
1
vote
0 answers
Streamed Events api (Tigertext) in Python / Odoo / Postman
I am trying to integrate Tigertext with Python / Odoo and I have almost completed it but I am stuck on SSE streaming events API. I have run all APIs in Postman but while try running events api in Postman, it takes more than 1 minute to give response…

Gautam Bothra
- 565
- 1
- 8
- 23
1
vote
1 answer
Is it possible to use QWeb template in Form view?
I tried to use QWeb Template in a custom view. I don't find any documentation explaining this, any reference?
Here's the sample code:

Yosi Pramajaya
- 3,895
- 2
- 12
- 34
1
vote
1 answer
Permission to a group on button click in odoo 14
i have create a group in security.xml as
Requester

Muhammad Saleem
- 97
- 7
1
vote
1 answer
cannot find out why odoo sequence is incrementing twice?
I created a model with a sequence field on it:
class AimedPurchaseOrder(models.Model):
_name = "aimed.purchase.order"
name = fields.Char('Number', readonly=True, copy=False,
default=lambda…

Tessnim
- 434
- 9
- 29
1
vote
1 answer
Using Automated Actions, Update value of a field (on Delivery Order) using value from another field (on Sales Order)
Hi and Thanks for your Time
Need Help! In Odoo Online v14, I have created a custom field "X Analytic Account" on Delivery Order model using Odoo Studio. And on Sales Order model, we already have "Analytic Account"(standard) field. Now, what I want…

Sarim Khan
- 48
- 6
1
vote
1 answer
How to change access to edit sequence
I want users to be able to edit a specific sequence. So I created a new manuitem:
and this…

Tessnim
- 434
- 9
- 29
1
vote
0 answers
Access field created by Studio in Qweb
I have been trying to access a studio field(field created using Odoo Studio) within Qweb to retrive information to put on a template. Here is what I am using
VAT reg. no.:

Leprechaun
- 349
- 2
- 16
1
vote
1 answer
how to convert string into object in python odoo
I have 2 methods
in method1:
def print_xls(self):
record = self.env['sale.order'].search([('id','in',filtered_list)])
data = {
'model_recs':record
}
return self.env.ref('module_name.report_name').report_action(self,…

user10810227
- 83
- 10
1
vote
2 answers
How to create backorder from python in Odoo?
I am odoo newbie. My goal is to create a method in python that will create backorder from unfinished delivery order and will allow me to skip the user input in wizard.
Basically it should have the same functionality as when user clicks on Validate…

xixo222
- 157
- 2
- 9