Odoo (OpenERP8) connection failed with Postgre

I just installed Odoo in Linux Mint. The installation process was correct. I have lost the database data when I installed Postgre and when I start openerp-server and load localhost:8069, the...

setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

When I try to install odoo-server, I got the following error: error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Could anyone help me to solve this issue?

Docker.io init.d script not working on start container

I've a container with odoo on it on the dir "/opt/odoo/". A init script on "/etc/init.d/odoo-server" #!/bin/bash ### BEGIN INIT INFO # Provides: odoo # Required-Start: $remote_fs...

How to run Odoo 8 along with Odoo 9?

I have installed both Odoo 8.0 and 9.0. I have the Odoo 8.0 working fine on port 8069 but when I installed Odoo 9.0 and got it working on port 8070, Odoo 8.0 now throws 500 server error. I tried...

How do I change the odoo default port?

In Odoo, by default the port is set to 8069, I want to change it to another port. I've tried changing in the openerp-server.conf, the value of xmlprc, but even after restating the server, the new...

How to fix KeyError: 'web' in Odoo8?

I have installed Odoo8 and it is running with Nginx. When I access to the URL where Odoo is supposed to run, I only see the black topbar with no menus, the rest of the page is empty. The log spits...

How to remote debug python code in a Docker Container with VS Code

I've just registered for this question. It's about if it's possible to remote debug python code in a Docker Container with VS Code. I am having a completely configured Docker Container here. I got...

How to show ports on which Odoo server is in running state

How to display all running odoo instance in my terminal, and How to forced stop all instance.

Odoo 10 Dashboard Module icon issue

I am using Odoo 10e on my server. I am facing issue for image icon for app the modules. Is there any suggestion to resolve it ?

Why my pdf report is not taking the CSS styles well in Odoo?

I am using Odoo 10 in Ubuntu Server. I am trying to print my quotation report in pdf format using wkhtmltopdf. But the design doesn't look nice. It looks like the CSS is not working I have tried...

Call odoo controller through Postman

I'm getting stuck when trying to test a router by calling from Postman @http.route('/nails/login', type='json', auth="public") def api_login(self, csrf=False, **kwargs): and calling in...

Odoo 12 - XML files not triggering server reload with --dev=all

New Odoo user here. It's been a few days since I started messing around with Odoo(v12). I managed to build a module, including creating models, views and menus. It's working like a charm, though...

odoo.service.server: Failed to load server-wide module `web`

I am getting this error during starting the server after installation of odoo 11. I am using ubuntu 18.04 my config file is like this * [options] ; This is the password that allows database...

Odoo13 : Stripe Payment Gateway Server error - We are not able to redirect you to the payment form. id

I've installed the Odoo-13 application on my server. In which I'm getting Server error - We are not able to redirect you to the payment form. id error while doing payment using Stripe(Sandbox...

Odoo Server Error when i try to install my module

I'm new on python and odoo and i'm trying to build a module , i had this error when i try to install my module Traceback (most recent call last): File "C:\Program Files (x86)\Odoo...

odoo sever error log: Function declared as capable of handling request of type 'json' but called with a request of type 'http'

I have an ionic 4 application and i try to call odoo jsonrpc but when request reached to the server there I see the log like '/web/session/authenticate: Function declared as capable of handling...

AttributeError: 'NoneType' object has no attribute 'groups' in odoo 13

I am new to odoo-13 and I need help in debugging this error. My motive is to create a custom module in odoo using python3. It is working in my local installed odoo but if I tried to install it in...

Odoo 13.0 Can't see my installed module on the menu

I am a newbie on Odoo 13.0 (and any Odoo version). I just built my first module, and successfully installed it. The problem is that I can't see my installed module on the menu. I have tried...

Odoo 12 - TypeError: create() missing 1 required positional argument: 'vals'

I am trying to get mail when a new record created and modified for a field in CRM Module so i have defined this functions , someone help me with this issue in py file : @api.multi def write(self,...

Psycopg2 Error installing Odoo 13 on Ubuntu 20.04

I'm trying to install Odoo 13 on Ubuntu 20.04, I have followed different procedures to install it like this one for example, but I always got this psycopg2 error (below this paragraph) when I...

Why do I get the error "Name node can't be used with 'None' constant" when I try to run Odoo?

I am trying to setup odoo on my mac by following the instructions linked on the github page. When starting the server using this command: python3 odoo-bin --addons-path=addons -d mydb -i...

How can I use odoo's server side onchange method, inside a create function?

For example, if I want to trigger this function: @api.onchange("fieldA") def _onchange(self): for rec in self: random = rec.fieldB The onchange function is commonly of the form:...

style error while running odoo-11 in ubuntu 18.04

I'm running odoo 11.0 on ubuntu 18.04, when starting the server the website doesn't appear properly and I got this error: Style error The style compilation failed, see the error below. Your...

Odoo Server Error: smtplib.SMTPServerDisconnected: please run connect() first

I am using odoo version 14. I have setup my SMTP mail handler correctly, and when I test the connection, odoo reports that everything is setup correctly. However, when I try to send out an email,...

Setting up Odoo 14 + HTTPS through nginx

I've been developing a deployed Odoo v14 instance which I used to access using the IP. My intention was to access this instance using a subdomain I own, I have registered domainname.com and...

Alternative to render_qweb_pdf in odoo-14

I want to save my pdf report as attachment so I can make a zip file of some attachments from that report. pdf = self.env.ref('module_name..report_id').render_qweb_pdf(self.ids) b64_pdf =...

Error when trying to save general options in Odoo 14

When I try to save any config I'm getting the following error: Error: Odoo Server Error ValueError: Invalid field 'recaptcha_public_key' on model 'res.config.settings' The complete trace is the...

Odoo 13 : create multiple records via create function

This is my first create function I have ever written in Odoo13. I want to get a period between 2 dates begin_date and end_date and the dates should be saved in a list. From this list I want to...

NGINX ERROR: upstream prematurely closed connection while reading upstream

Hi everyone, I have a question, I spend hours but I can not find the solution, this is my escenario: Scenario 1. That's works I have Odoo install on Debian 10, in this server I installed NGINX...

Why can't Python 3 virtualenv find some installed packages?

I am working with a Python virtualenv named env to execute Odoo. In the virtualenv bin directory, I got this: pip pip3 pip3.8 python -> /usr/bin/python3 python3 -> python python3.8 ->...