Category "odoo"

odoo dynamic snippet does not works correctly for public user

When i create dynamic snippet, it works correctly only if you log in like an administrator account, snippet uses data from the odoo model. So if you don't log i

How to install xmlrpc in php 8.0 MACOS

Hello I need to connect an application with PHP 8.0 to Odoo. And I get the following error. PHP XMLRPC library is not installed How can I install this library

How to add new record to One2Many field automatically via create function in different model?

I have written a method _update_config_list which should automatically be called when a record has been created in account.analytic.line. This method should cre

How to import database from odoo 14 to postgresql?

I am trying to take a backup from Odoo enterprise 14 through query. When I try to export the dump file I get this message Can anyone guide me, how to export all

Can't remove backslash from string in Python

I want to remove backslash from a string, I tried result.replace('\\','') but nothing changed. Anyone has an idea how I can remove it? result = '[(\'company_ids

How to add default language url path on Odoo website

I develop my company website on Odoo 14 and it is multilingual. The default language is English. For other language it adds language path like: for Italian: /it

How to uncheck suggested recipients for message ODOO 14?

In odoo 14 when I open an opportunity and I press the button "New Message", the customer from that opportunity appears as a receiver of the message by default.

Change many2many field tags color odoo

How i can chage color, for tag in my many2many field. example:

Incorrect multicurrency Invoice - Odoo 15

I have multicurrency setup in odoo 15. I create the invoices in my local currency and i expect it to be converted into its dollar equivalent when I view the i

odoo 11 Is there any difference if we take dump from Postgres and from Odoo Backup?

In odoo 11 which will be suggested backup and restore process, Dump and restore from postgresql or using Odoo to take backup and restore it. I want to know, whi

Paste an image from my clipboard on an html widget (Odoo 10 Community)

When I paste an image from my clipboard to a text or html type field with widget="html" its duplicated the image. Like this. The browser console does not show a

Gmail loses the html formatting of emails sent with Odoo

My company migrated their CRM starting to use Odoo, and then I proceeded to configure the external mail server (gmail), the @catchall parameter, and then define

How to hide chatter to a specific user group odoo 14?

I need to hide the chatter from the form view of the crm module for a specific group of users. How can I do this?

in odoo14 , i'm sending a notficition to the manager , is there any option to add a button in the notification?

i want to add a button in the notification so the manager can answer with yes or no def Send_notificiton(): for note in self: note.manager_id.user_id.notify_dan

Odoo : How to clear a many2many field when a many2one field change?

Im new to odoo. Im using odoo 13 and I have a many2one field and a many2many field with domain on the many2one field. What I need is that if the user changes th

Odoo Sale order : wrong calcul qty_delivered in kit bom

I'm on Odoo 11, I'm on a particular case : I've got a product (GRI002) which has a BoM of "Kit" type. GRI002STK is the only component : When I do a sale ord

How to override the unlink method of 'res.partner' model? Odoo 14

I want to remove the condition that generates the UserError in unlink method of 'res.partner' model: def unlink(self): running_sessions = self.env['pos.sess

How to get current company id odoo 15?

I've try this: [('company_id','=',company_id)] self.env.company_id self.env.user.company_id But those all 3 ways are leaded to default company, but not current

Res.user attribute object loading page Odoo

A mate tried to install some web templates for the backend and got a 503 HTTP error "Service Unavailable" on the browser. I saw the modules and deleted from ir_

haw to create many2one with xml rpc ODOO v14?

i want to create PRODUCT I want to show 'categ_id' How can it be accomplished 'categ_id' . fields many2one with XML RPC