Questions tagged [odoo-15]

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.

503 questions
0
votes
2 answers

Odoo 15: FATAL: password authentication failed for user "odoo15"

I have installed Odoo 15 and postgreSQL with all other Odoo 15 dependencies. I am facing a problem when I going to run this by custom.conf file with another port(8015). Note that, I didn't have any custom module till now. In port: 8069, I create a…
0
votes
0 answers

How to add a column to the Profit and Loss Statement

How can i add a column to the profit and loss statement. Like after the amount column? This is for odoo 15.
0
votes
2 answers

How to set specific fields as readonly for specific user in odoo 15?

Below given are fields of my model out of which half fields is for sales and half of them is for accounts. (I have mentioned by comment) class emd_sales(models.Model): _name = 'emd.sales' _inherit = ['mail.thread', 'mail.activity.mixin'] _rec_name =…
0
votes
0 answers

Odoo POS Quantity and Price restrict change on particular product

Hello everyone do any of you know how to restrict changing of price or quantity on specific product in Odoo POS Interface?
0
votes
1 answer

I want to know how would I show products price unit on delivery slip report

I want to know how would I show products price on delivery slip report on odoo 15.
0
votes
2 answers

Defining a new Odoo ORM model and creating new records inside a test

I would like to define a new Odoo model and create a new record inside a test. Here is some example code demonstrating what I would like to accomplish: from odoo.tests.common import TransactionCase from odoo.fields import Char from odoo.models…
Lee Vannes
  • 15
  • 4
0
votes
2 answers

Where should I place my css file in odoo15, web.assets_backend or web.assets_frontend?

I have a css file to change field color in a form but I have no idea which bundle should contain it.
0
votes
1 answer

Get value from a Many2one related model in model create function

I have two models, TextMessage and Device, that are related many TextMessages to one Device. from odoo import models, fields, api class Device(models.Model): _name = 'device' _description = 'A model for storing all devices' name =…
kpg
  • 7,644
  • 6
  • 34
  • 67
0
votes
1 answer

I have inherited Invoicing module and added one field in it. How can I fetch the product line from that field and add in invoice field line?

I have inherited account.move model and added job_card_id field(many2one) in it, as shown as below : Below given is Image of Selected Job Card : Below given is code of inherited model : class CustomInvoice(models.Model): _inherit =…
0
votes
1 answer

How to Prevent Overflow in Odoo 15

Good day, How can I prevent this overflow in tree tag Below is my page line code
Abraham Kalungi
  • 45
  • 1
  • 10
0
votes
1 answer

How to fetch all stock locations under a warehouse in Odoo 15?

I am trying to fetch all stock locations which are under a specific warehouse in Odoo 15. I tried the below code. locations_dd.append(self.env['stock.location'].search([('warehouse_id','=',i)]).ids) But I am getting the below error: ERROR odoo15ee…
KbiR
  • 4,047
  • 6
  • 37
  • 103
0
votes
1 answer

Include custom functionalities to inherited js file odoo 15

I am working on some website modifications on the appointment module to change some behaviors. What I am trying to do is make it able to choose more than one appointment in (/calendar/) before sending the user to the confirmation…
0
votes
1 answer

How can I make an invoice from custom module ?? I know I need to make Create method for invoice but where to put that method ?? I am beginner in odoo

This is my Custom Module : When I Click on Create invoice button it shows wizard as shown below : But when I try to Create regular invoice it shows error : I Changed the invoicing policy of product from "delivered quantities" to "ordered…
0
votes
1 answer

How to set unit_price automatically as I select product in odoo 15?

I have made one model which is listed below, I want to set the price automatically as I select the product. class JobCardLine(models.Model): _name = "job.card.line" product_id = fields.Many2one('product.template', string="Product",…
0
votes
1 answer

How to make 2 different deliveries from one odoo form? odoo-15

Create a sale order and add a couple of items. After clicking on the "Confirm" button the delivery "Delivery" will be created. All items from the sale order will be in delivery. You need to add the express delivery sign to the sale order…
user14213623