12,875 questions
0
votes
0
answers
26
views
I'm encountering an error in helpdesk.ticket when calling a custom method within a scheduled action
This is my scheduled action in Odoo:
action image
and this is my code:
# -*- coding: utf-8 -*-
from odoo import models, api
import pika
import json
import logging
_logger = logging.getLogger(__name__)...
1
vote
0
answers
39
views
Deploying Odoo 18 (Docker/Dockploy): Container crash or 502 Bad Gateway when using custom odoo.conf to pre-configure DB
I am trying to deploy Odoo Community Edition (v18) on a Debian server using Dockploy.
My Setup:
I have a custom folder for my own modules.
I have an oca folder for community modules, managed as Git ...
-1
votes
1
answer
55
views
In Odoo.sh production branch is not updating. How to fix Odoo.sh branch error?
You know I have built a website using Odoo custom module. I have published the site using Odoo.sh + Cloudflare. It was working fine, and I can access the site globally. But suddenly it's stopped ...
0
votes
0
answers
69
views
How to display and edit a One2many field in a form view as an embedded form, not a list?
I’m trying to model a one-to-one relationship between two models in Odoo.
My approach was to use a Many2one + One2many, but on the form view Odoo always displays the One2many field as a list instead ...
Advice
0
votes
0
replies
38
views
Attempting to print a Gnatt View in Odoo
I am interested in printing the Gnatt view via the Project module in Odoo. I am currently using version 18 enterprise. It seems that in previous versions of Odoo this might have been an option. I ...
1
vote
1
answer
88
views
DB corrupted in Odoo 13 [closed]
I have a running production instance with existing data in my production database. Recently, I encountered an error, and upon investigation, I discovered that some core modules were unexpectedly ...
3
votes
0
answers
83
views
How can I make a fields.Monetary keep 5 decimal places?
I need a monetary field to keep 5 decimal places (e.g. 12.34567), but Odoo version 18.0 enterprise keeps rounding to the currency’s precision (2 decimals for my company currency).
Here is my code:
...
0
votes
1
answer
83
views
ODOO Field service Worksheet, how to solve indentation problem in the pdf
I'm using "Odoo 16.0+e (Enterprise Edition)" and I premise that I'm not a software engineer but in the past I successfully managed to modify the Qweb code that generates the invoices and the ...
1
vote
1
answer
126
views
Unable to connect Redis to Odoo 19
I am using Odoo 19 on an Ubuntu 24.04.3 LTS VPS server. I tried to use Redis for caching, but it is not working. I followed the steps below.
sudo apt install redis-server -y
sudo systemctl restart ...
0
votes
0
answers
53
views
How to create chained selection fields in Odoo using API data?
I want to create chained selection fields in Odoo, where the value of one field depends on the value of another.
For example:
When I select a “Category”, it should call an API and load the
options ...
2
votes
1
answer
74
views
Portal users can`t see product model
On the website, I want to show users sales orders and products.
The problem I encountered is that Odoo does not want to display both (sales orders and products).
Therefore, I added recording rules and ...
0
votes
0
answers
139
views
Undetected chrome driver doesn't work in odoo model
I am trying to scrap a website from a model in odoo. It get executed using an action button.
I am using Docker to contain the app.
However the driver never worked for me, even with normal selenium so ...
2
votes
1
answer
54
views
Odoo 17 domain filter does not behave consistently
Here's is output from Odoo shell
>>> env['stock.quant'].search([('on_hand','=',True),('product_id','=',6800)])
stock.quant(1189, 7017, 7914)
>>> p=env['product.product'].browse(6800)
...
0
votes
0
answers
88
views
Why Odoo custom module code changes are not reflected in website?
I’m building a website using a custom Odoo module. I created a hero section on the homepage, and I can see it correctly at localhost:8070.
The issue is that after making several changes and adding new ...
0
votes
1
answer
339
views
An error occured while loading javascript modules, you may find more information in the devtools console (Odoo)
I overrided the default js method onDownloadButtonClicked (odoo/addons/web/static/src/views/pivot/pivot_render.js) for downloading xlsx files
(it`s my method) statis/src/js/views/my_render.js
/** @...