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
Add permission to group (or find where is the problem)
I have this message:
The requested operation can not be completed due to security
restrictions. Document type: Employee (hr.employee) Operation: read
User: 23 Fields: - contract_id (allowed for groups 'Employees /
Officer')
I would not like to add…

Legna
- 460
- 6
- 19
0
votes
1 answer
Move Many2one variable to another Model
I have 2 models "Inventory" and "Scrap". There is a button. I want to, if i click the button the data move to scrap model. It is okay i did that. But except one variable, "Many2one".
So I'm getting this error, when i click the button:…

Enes Kara
- 81
- 6
0
votes
0 answers
Can we add domain inside server action in odoo 15
I want to show server action only on some filtered data. suppose I have a list with status='pending','done'. Now I want to show 'done server action' only if data is filtered as 'pending'. Is there any way to do this?

Abdus Sattar Bhuiyan
- 3,016
- 4
- 38
- 72
0
votes
1 answer
How to pass new field value from sale order line to invoice lines while using down payment in odoo 15
How to pass new field value from sale order line to invoice lines while using down payment in odoo 15
0
votes
1 answer
Display two totals with different currencies on invoice Odoo 15
could you help me? I need to show two totals, one with the system currency and another with the other currency that is handled, on the invoice.
0
votes
1 answer
How to inherit res.config.settings view and add cusotm fields in Odoo 15?
I am trying to inherit res.settings.config view of account module and add some custom fields.
Here is what I did:
*.xml

KbiR
- 4,047
- 6
- 37
- 103
0
votes
1 answer
Odoo15 - error when i try to install a module
I am trying to create a form structure for save information a two tables, but i am get a error. Can anyone help me
I search in the odoo15 documentation but its don't help me too much.
I think the error is not inside the menu item but in other lines…

Ruben de Pina
- 41
- 1
- 5
0
votes
1 answer
Download from Attachments files in zip format odoo 15
I need to download files in zip format.
I wrote code that for some reason does not work.
I'm trying to do it with controller
attachment.py
from odoo import api, fields, models, _
from odoo.odoo.exceptions import UserError
class…
user14213623
0
votes
1 answer
Import multiple Vendors in one cell from xlsx to Odoo
I am looking for a way to modify my excel file to import my vendors for my product templates via name. The problem is I have to seperate multiple names in excel so Odoo can recognize it as one name. So instead of having one Vendor name in one cell I…

for-loop
- 47
- 1
- 8
0
votes
1 answer
String index out of range (odoo 15)
I have done this code, but when running its telling me that the string index is out of range, any help is appreciated
purchase_agreement_id=fields.Many2one('purchase.requisition', string='Purchase Agreement Id')
def purchase_agreement(self):
for…

MohammadAliChamass
- 11
- 3
0
votes
1 answer
Unit price and pricelists comparison odoo 15
In the sales application, when creating a new quotation I am adding the pricelist for a specific customer, and when adding the product the unit price is automatically updated according to the pricelist chosen. I want when changing the price manually…

MohammadAliChamass
- 11
- 3
0
votes
1 answer
How to assign Float type field to a Char type field in odoo 15?
Full Code:
from odoo import fields, models, api
class ExtraWeight(models.Model):
_name = 'courier.extra.weights'
_description = 'Charge setting for Extra Weight'
_rec_name = 'combination'
extra_weight = fields.Float(string='Next…

Abdus Sattar Bhuiyan
- 3,016
- 4
- 38
- 72
0
votes
2 answers
Check for double records in One2Many field before creating
I want to create a function which takes the new value and compares it with all records in my one2many field. When the same expression was found it should return a ValodationError. But somehow I cant get the one2many value. Also I dont want to modify…

for-loop
- 47
- 1
- 8
0
votes
1 answer
Print pos receipt with css
i am currently using odoo 15 point of sale, In that i want to change the receipt style to boxed layout. I already inhereated the OrderReceipt.xml and updated the receipt as per my need and also i have made the print in A4 format, but "i want the…

Sidharth Panda
- 404
- 3
- 17
0
votes
1 answer
I am trying to fetch the product line of custom module in product line of invoice module in odoo 15
I have inherited account.move model and added job_card_id field(many2one) in it, as shown as below :
Image
Below given is Image of Selected Job Card :
Image
Below given is code of my model and I also tried creating function below fields :
class…

mr.robot
- 1
- 1