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
0
votes
1 answer
Merge custom_modul with account modul
I want to merge my custom:modul iwth the account_accountant modul for customer invoices. I want to have some functions of my custom_modul in the form view page for customer invoices.
from odoo import fields, models, api
class…

for-loop
- 47
- 1
- 8
0
votes
0 answers
how connection odoo.conf with postgresql by pycharm in odoo 15
i want configration odoo.conf with postgresql pgadmin by pycharm
But I have a problem
odoo.conf.py
edit configrations
problem message:
/home/ayobqorban/odoo/testodoo/odoo15/venv/bin/python /home/ayobqorban/odoo/testodoo/odoo15/odoo-bin…

ayobqorban
- 47
- 4
0
votes
1 answer
Hide field from tree view base on the condition, Odoo
I want to hide field from tree view depends on the condition. I tried some techniques, but didn't work for me. Currently I can hide just value not all column. I want to hide whole column.
This is my tree view. And this code just hide the value not…

Enes Kara
- 81
- 6
0
votes
0 answers
Creating a new Subscription Record with Automated Action
Right now I am working on an automated action for Sales Orders to automatically create subscriptions. The action triggers if there are products, which includes a bill of material, which includes a subscription product to create an entry in the…
0
votes
0 answers
How to run tkinter inside odoo application
I am running Odoo15 and i want to use python tkinter library in the odoo on remote linux server.
when i am running a simple code in my odoo application like
import tkinter
root = tkinter.Tk()
i am getting the below error:
TclError: no display name…

Lalit Patidar
- 11
- 1
0
votes
1 answer
Odoo Studio Bug
So we created some new custom fields through Odoo Studio by just dragging them into the view. The problem now is that suddenly these fields became BASE Fields instead of custom fields. We were trying to delete them but Odoo didnt let us.
So what…

for-loop
- 47
- 1
- 8
0
votes
1 answer
TKinter. Tcl_AsyncDelete: cannot find async handler
I am running tkinter library in the Odoo15 for a specific purpose.
I have created a custom python interpreter to run python code inside odoo.
To handle user inputs i specially designed a concept and via tkinter i am taking inputs from user.
In a…

Lalit Patidar
- 11
- 1
0
votes
1 answer
Access custom field in POS Receipt
I am using odoo 15 ; I am trying to customize receipt in point_of_sale module
I have a problem regard access the custom filed in company module as following :
My customized module : custom/models/res_company.py
class rescompany(models.Model):
…

user1261494
- 139
- 1
- 10
0
votes
1 answer
Odoo: how in *.js file get record from db, then change it and re-write?
I added new settings for user by inheriting "res.users" model:
calendar_scale_type = fields.Selection([
('day', 'Day'),
('week', 'Week'),
('month', 'Month'),
('year', 'Year')],
'Type of calendar scaling',…

Wald Sin
- 158
- 11
0
votes
1 answer
Odoo - Add Outstanding payment to invoice through API
Using Odoo 15 and python xmlrpc for API
here is my problem: I have a created payment for which I store the id. Then, when i create the invoice that corresponds, I want to be able to add this specific outstanding credit of the customer through API…

VictorYvergniaux
- 25
- 4
0
votes
0 answers
Element cannot located in parent view when replace div in custom receipt
I am using odoo 15 ; I am customizing receipt in point_of_sale module
I have a problem when trying to replace div( have a class related to other div inherits the same templates)
my code as following :
…

user1261494
- 139
- 1
- 10
0
votes
1 answer
How to develop custom modules for Odoo.sh with private repositories
I have developed a custom module for Odoo.sh and plan to develop more. I would like each module to have its own (private) Github repository so I am trying to add the module to my Odoo.sh project as a submodule as described here. I am able to add the…

kpg
- 7,644
- 6
- 34
- 67
0
votes
2 answers
Condition while creating Product in Module, Odoo
I have an Inventory module. I want to check db before creating data. Check for reference code. If ref_code already exist then cancel the creation.
This is my .py file:
ref_code = fields.Char(string="Referans Numarası: ", required=True,…

Enes Kara
- 81
- 6
0
votes
2 answers
odoo15: How can I load js in qweb template?
I need to add events in some buttons in qweb template or maybe make a widget for this template. But I can't load js in this template, even if I add js file in web.assets_backend or web.assets_frontend.
controller.py
from odoo import http
class…

Kyle
- 5
- 5
0
votes
1 answer
Odoo: error, when updating basic odoo modules (base, mail, web)
i try to update module "base", an error occured and loading didnt end.
i even can`t watch error description.
But i disabled loadscreen in page code and then i watched it:
UncaughtClientError > SyntaxError
Uncaught Error Javascript > JSON.parse:…

Wald Sin
- 158
- 11