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
2
votes
1 answer

Odoo Unit Test is not running

I am running the following command inside docker container of odoo image 16 and it doesn't run the unit-test: odoo -i custom_fields_mapping -d odootest8 -p 8001 --db_user=odoo --db_password=11111111111 --db_host=localhost --log-level=test…
KostasC
  • 1,076
  • 6
  • 20
  • 40
2
votes
0 answers

name_get() function not reached on save, any idea? Odoo15

We have a request to override partner_id display in move line to show a combination of 2 fields. We overrided name_get() funtion in the inherited res.partner class, when user open the Many2One field on screen it is showing the combination of fields…
Odoo Dev
  • 21
  • 1
2
votes
0 answers

How can I create the following rule in Odoo 15?

I want to create a rule for projects: Users must only see the projects whose responsibles are themselves. This means that you must only see projects whose user_id field is equal to your current user.id. I've done it (I know it is not a good idea to…
forvas
  • 9,801
  • 7
  • 62
  • 158
2
votes
1 answer

use a system parameter as a color rgba code for style tag in odoo report pdf

I use Odoo 15, here is my problem, I have set at a record xml file this system parameter, first I try with a rgb code and after that with an hexadecimal code
Juan_jg
  • 21
  • 1
2
votes
1 answer

Why does Wkhtmltopdf overlap `thead` content with `tbody tr` content at second page?

I am using wkhtmltopdf 0.12.5 (with patched qt) to print in PDF format some HTML and CSS code (actually, I am using Odoo 15 which uses wkhtmltopdf). The problem is for example, when I print an invoice with a big description which does not fit in a…
forvas
  • 9,801
  • 7
  • 62
  • 158
2
votes
2 answers

How to run Odoo with OCA repositories' modules in Odoo.sh?

I am testing Odoo.sh, trying to run an Odoo 15 Enterprise. I read all the documentation and see several webinars about it, but I am not able to run an instance with any OCA module. To do that, I followed these steps: In the Odoo.sh interface, I…
forvas
  • 9,801
  • 7
  • 62
  • 158
2
votes
1 answer

How to edit a computed field [Odoo 15]

I want reservation_amount to be the half of sale_total, but it has to be an editable field, so i can change it whenever i want. My problem now is when I change the value of the fields, it resets to half sale_total, I supposed it's because of the…
odoo newbie
  • 179
  • 10
2
votes
0 answers

How to make security group see only own contacts in Odoo 15?

I want the security group User: Own Documents Only (sales_team.group_sale_salesman) to see only own contacts (records from res.partner with user_id field matching the current user ID). It's easy to make a rule for that, the problem is that it won't…
forvas
  • 9,801
  • 7
  • 62
  • 158
2
votes
1 answer

How to Clear Odoo 15 Cart

Good day, We want to only allow one product order in Odoo Cart, although we are selling all products on our website. We want a customer to only order one product at a time, so my question is How can I clear the cart in Odoo 15 when it is not empty…
imbra
  • 33
  • 4
2
votes
1 answer

Odoo server is not accessible when running with docker-compose

I am trying to run Odoo using docker-compose. I have followed the instructions here. I can start the Postgres and Odoo servers using Docker and access the Odoo server correctly. When I run the first 'simplest' docker-compose example, it appears to…
kpg
  • 7,644
  • 6
  • 34
  • 67
2
votes
0 answers

How to Change the position of searchbar in odoo 15 in web

How Can I change the position…
2
votes
1 answer

Accessing a value from another model in odoo

I have 2 simple models: the first one is to create a product total the other one is to calculate product total. I want to get the product total value from the second model and pass first model how can I do that? I want to get ans fields value from…
2
votes
1 answer

odoo notification if the record data is out of date

when odoo 15 was released I have seen this record is not up to date (not sure of the actual words) The issue is that I have a approval for a record but if the user that summered the record for approval is still on the page he don't see the updates…
Moaz Mabrok
  • 697
  • 10
  • 32
2
votes
1 answer

How to open a search dialog using an OWL component?

I am trying to open a search dialog similar to what happens when you click on "Search More..." on a Many2one field widget using OWL. I understand this has to be done with Javascript. Here's the component I have…
2
votes
2 answers

How to group data from a model with repeating names Python Odoo

My Odoo model has repeating values. How to group data from a model with repeating names. I need to get a data format like this Administrator : name Administrator age 33 name Administrator age 43 name Administrator…
user14213623
1
2
3
33 34