Relative Content

Tag Archive for odoo

How to return JSON fields using api in odoo 17

I am working on odoo 17 community and I am trying to create api json files to connect to for example contacts module I created controller as below but when I try to test the following link on the browser I am getting error:

How do I make an Odoo portal webpage reload after a form submission returns a 200 response through a JSON request

I have web form in a modal window where a signatory can sign and submit. After submission a 200 response is returned through a JSON request from the controller that handles the form. Now the issue is that when the 200 response is sent over to form, it is displayed on the form but the page needs contents needs to reload because once the form is signed buttons on the change. It does not give a good user experience since the page has to be reloaded manually to get the updated content.

Odoo 17 create new database

I have installed Odoo 17 with PostgreSQL and it is working fine but when I try to create new database using Manage Databases nothing happens and the database creation form doesn’t show.

Delivery tables in Odoo

What are the tables related to the delivery of raw materials from suppliers in Odoo? Also, how can I determine if suppliers offer delivery or not? I’ve searched, but the answers are not clear.