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
How to Create a Related User in Odoo 15 with Python Code
Good day,
I am asking for help.
I am trying to create a user in Odoo 15 with python code. I want when an HR creates an Employee the related user is also created. This related user should belong to Internal User Group. The code below gives me "The…

Abraham Kalungi
- 45
- 1
- 10
0
votes
1 answer
You should configure your exchange gain or loss journal in your company settings Odoo 15
I keep getting this error when i try to make payments in odoo 15:
" You should configure your exchange gain or loss journal in your company settings to manage automatically the booking of accounting entries related to differences between the…

Nate
- 21
- 1
- 6
0
votes
1 answer
How product.supplierinfo works in odoo 15?
I've seen that whenever i create a new PO(Purchase Order), odoo will create a new product.supplierinfo related to my products.
But i can't find which function that let them do that.
Please help, thanks.

fudu
- 617
- 1
- 10
- 19
0
votes
1 answer
Odoo 15 not allowing to back-date Quotation dates when creating a new sales quotation
Previously, the quotation date field in odoo 15 wasn't visible till i removed the "group" attribute from its xml field in odoo's form view. It is visible now but unfortunately, it does not allow a user to back date the quotation date or the date of…

Nate
- 21
- 1
- 6
0
votes
1 answer
Why I have error in Odoo while using product.template
I'm trying to run a test task from the site https://www.odoo.com/documentation/15.0/developer/howtos/website.html
models.py
from odoo import models, fields, api
class Teachers(models.Model):
_name = 'academy.teachers'
name =…
0
votes
0 answers
How to define global environment variables in Odoo enterprise?
I would like to know how to declare global variable and call it in any module.
In community used os.getenv(), in enterprise I've switch to this one:
A Python request such as:
Set param and…

Dori
- 175
- 16
0
votes
1 answer
show menu item based on system parameter odoo 15
How to show/hide menu item based on system parameter?
I've this code to create menu item, and it working fine, but i need to hide it depends on system parameter.

fudu
- 617
- 1
- 10
- 19
0
votes
1 answer
Odoo 15 - how to populate barcode field with concatenation of another field and sequence?
I need your advice to populate field barcode in model employee with concatenation of field location_number in model work_location_id and sequence generated by automated action in odoo 15 ?
I want to automatically generate in the number field an…

Kikoun
- 1
- 1
0
votes
1 answer
Odoo 15 Inherit "product.product" get issue bad query: ALTER TABLE "product_product" ALTER COLUMN "base_unit_count" DROP NOT NULL
[RESOLVED - FOUNDED THE TRUE ISSUE]
I'm trying to inherit model "product.product", but with my first move, i got the issue, here's my code:
from odoo import models, fields
class ProductProduct(models.Model):
_inherit = "product.product"
The…

fudu
- 617
- 1
- 10
- 19
0
votes
1 answer
How to hide/invisible a button in odoo helpdesk using js
In Odoo version 15 I created a Js cod Based on the button Accept and Deny and I created a boolean field in res users model. The workflow is: if the user clicks the Accept button the boolean field makes True and clicks the Denay button it change to…

Ajmal C
- 1
- 4
0
votes
1 answer
Automated action to add multiple users as followers in Odoo 15
I created a custom module where you can link multiple contacts in a many2many field and I want to automatically add them all as a follower. I've read this article:
Automated Action to Add Users as Followers Odoo 12
Adding followers works fine, but…

jester
- 1
0
votes
3 answers
float object has no attribute 'number_of_day error in payroll module' in Odoo 15
I got error ValueError(': "\'float\' object has no attribute \'number_of_days\'" while evaluating\n\'result =-(contract.wage/31) * worked_days.Unpaid.number_of_days\'') when I'm trying to deduct Unpaid Leave from Payroll.…

Harsh Patel
- 1,032
- 6
- 21
0
votes
1 answer
How to process 'stock.immediate.transfer' records on Odoo 15?
I recently switched from Odoo 13 to Odoo 15. With Odoo 13, I could process 'stock.picking' with
models.execute_kw(db, uid, password, 'stock.immediate.transfer',
'create',
…

apexprogramming
- 403
- 2
- 14
0
votes
1 answer
I Installed Odoo 14 but when i run the terminal it shows odoo 15
I installed Odoo 14 but when i run my terminal it shows odoo version 15.
When I try to Install the module Hr_payroll it throws the following error.
0
votes
1 answer
How to format datetime field to hours minutes seconds in form view in odoo 15
I have a datetime field and i want to format it to hours, minutes, seconds in the form view like this:
Is this posible, and how to do it?
Thanks.

fudu
- 617
- 1
- 10
- 19