Odoo is a suite of open-source business apps written in Python and released under the LGPL license since version 9 (previously AGPL). It is used by 2 million users worldwide to manage companies of all different sizes. The main Odoo components are the server, 260 core modules (also called official modules) and around 4000 community modules. ODOO 12 is the newly updated version so far in the ODOO series.
Questions tagged [odoo-12]
934 questions
0
votes
1 answer
Error while validating constraint Field `file` does not exist
I have created new model that inherit from product.product, in the python file i have added this function:
class ClassProduct:
_inherit = 'product.product'
field1 = fields.Char()
I try to add new field in model product.product but i got…

Programmer LiLi
- 147
- 5
- 27
0
votes
1 answer
Stop longpolling cron calls to debug easily
I am trying to debug some part of the code but /longpolling/poll calls are restricting me do so.Any idea how can it be disabled?

Himanshu Awasthi
- 41
- 7
0
votes
1 answer
Wkhtmltopdf failed (error code: -8). Message: b' in odoo 12 in ubuntu 18.04
I have tried to install wkhtml2pdf in odoo12 in ubuntu 18.04 but i could not get the report.and I can't uninstall the wkhtmltopdf

anand raj
- 227
- 3
- 13
0
votes
1 answer
Convert timedelta value to float
I need to save a timedelta value into a float type fields.
Here is my code:
if self.end_time and self.start_time:
timediff =self.end_time - self.start_time // Here i get a time.delta value
self.duration = // here i get an…

KbiR
- 4,047
- 6
- 37
- 103
0
votes
1 answer
Odoo 12 - CSV data import query
Some data imports are simple and others I am finding impossible!
The ImportFAQ document is OK up to a point but not quite adequate for some imports.
The import-compatible export is not, as far as I can tell, comprehensive in specifying the mandatory…

ceemjay
- 23
- 5
0
votes
0 answers
Odoo segregate Point of Sale categories for multi-company use
I am self-hosting Odoo 12 Community Edition (Configuring before uploading my Subscription Key). I am attempting to configure Point of Sales for two different companies, I noticed I can set the starting POS category for each company but what I'm…

borkith
- 57
- 2
- 7
0
votes
1 answer
How to get single record instead of recordset
I'm trying to figure out how to tell my module to display the only one possible (due to the given _sql_constraint) related tag for a given product (template) in the website (eCommerce product page) in Odoo.
Given the model below, (obviously I need…

Christoph Farnleitner
- 171
- 1
- 10
0
votes
1 answer
Odoo: how to know who installed a specific module?
My question is about who installed a specific module in a environment production, because a few days ago I found a module that was not among the purchased modules

Septiembre19
- 1
- 1
0
votes
1 answer
Odoo pos receipt customization
How to modify the Point of sale print receipt to get GST included in it.
i seen the posTicket in pos.xml but cant get the details in the print receipt
GST:
…

Avinash Mavuru
- 1
- 1
0
votes
1 answer
ModuleNotFoundError:No module name 'odoo.addons,base.res'
I got above error when I try to run the next code
from odoo import models, fields, api
from odoo.exceptions import ValidationError
from odoo.addons.base.res.res_request import referenceable_models

Mohamd Safi
- 41
- 2
- 10
0
votes
0 answers
odoo v12 xpath new field not visible
i have a issue with odoo v12.
manifest file
'depends': ['stock','product'],
# always loaded
'data': [
'views/stock_production_lot_views.xml',
# 'security/ir.model.access.csv',
],
The module class
class ProductionLot(models.Model):
…

Sean S
- 3
- 5
0
votes
1 answer
how can I my installed app in dropdown of odoo12
i am new in odoo, as a tutorial odoo12, i have created openacademy module with courses and sessions and install it successfully but i can not see this module on dropdownlist of odoo
I have installed sale module and then i can see the name of "sale"…

aida
- 43
- 6
0
votes
0 answers
How to show char fields in Pivot view Odoo?
I use odoo 12.
I declare char & date field in pivot views, but it's not showed.
Maybe I have a wrong code, or Pivot only show float field.
Anyone can explain that ?
Thank you

bobbi webd
- 1
- 1
0
votes
2 answers
AttributeError: type object '######' has no attribute '#########'
there is tow button to forms to toggle all records is done, second button to clear all done record, but it doesn't work but generate the error
"AttributeError: type object 'todo.task' has no attribute 'do_toggle_done'"
what maiming by attribute and…

Mohamd Safi
- 41
- 2
- 10
0
votes
2 answers
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 there is one issue that is really bothering me.
I've…

Kyle Sentient
- 487
- 3
- 7
- 20