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
3 answers
How to filter column by other column in odoo 12?
I try to filter an "item" column that has a many2one type based on the names that already exist in another "itemsnames" column that has a char type, I can not write the domain in the xml file, here is my xml file:

Programmer LiLi
- 147
- 5
- 27
0
votes
1 answer
how to restrict send email in followers in odoo?
I want to restrict sending email when we perform send message in logger
for this i have added configuration in attached photos
for e.g: i want to restrict all users whos email dont have domain example.com
i have 3 followers in record 2 have…

Jack Sparrow
- 628
- 8
- 20
0
votes
1 answer
View or download pdf file on my website Odoo
I want to display an attachment in a page in my website I create a Many2many ('ir.attachment') field in my backend and I want to display a button to download or to display it
it's my code fields
class Contact_us(models.Model):
_name =…

Boubaker
- 427
- 1
- 7
- 24
0
votes
1 answer
ValueError: External ID not found in the system: todo_report.report_todo_task_template
I tried to add reports to an application but it didn't work and getting the error:
ValueError: External ID not found in the system: todo_report.report_todo_task_template

Mohamd Safi
- 41
- 2
- 10
0
votes
0 answers
Let employees buy products via POS
I would like to use the odoo POS also for internal use. Employees should be able to buy products for themselves. All of the costs should be charged via the payslip of every employee.
Example: A is an employee of my company X. A buys a coke (2$) from…

mcd
- 706
- 4
- 25
0
votes
2 answers
ODOO Element cannot be located in parent view
I m trying to compile a module but it shows me this error
Element '' cannot be located in parent view
Error context:
View `product.template.only.form.view.marge`
[view_id: 1240, xml_id: n/a, model: product.template,…

omas
- 69
- 1
- 12
0
votes
2 answers
How to hide column in odoo 12?
Please i need to hide column "Description" in table "Order Lines" in form view external_id="sale.view_order_form", hide this column if details==True
Here is python code:
class ClassSaleOrder(models.Model):
_inherit = 'sale.order'
details =…

Programmer LiLi
- 147
- 5
- 27
0
votes
1 answer
Changing default value for published in website_hr Odoo module
I've been trying for a while to make employees be published automatically on website Odoo module. However, when I add a new employee, published field is set to "Unpublished" by default. This causes the employee to appear on about us webpage but not…

cildoz
- 436
- 3
- 14
0
votes
1 answer
Add status "pending to approve" Odoo 12
I want to add the status of the quotes, I see that there are 3 at the beginning: quote, budget sent and notice for sales order. I need to add a state that says "pending to approve" that only the Management user approves it. I know what I can do…
0
votes
1 answer
How to set default values in popus form view from parent tree view in odoo 12?
I have this tree view in odoo 12:
When I click in button "Editer liste de prix" of line 1, I get this form view:
How to have values of line 1 in popus view?

Programmer LiLi
- 147
- 5
- 27
0
votes
2 answers
ir.cron: "ERREUR: une valeur NULL viole la contrainte NOT NULL de la colonne « model_id »
I am trying to install a module in odoo 12 that contains a view with ir.cron module type. but it shows me this error:
I do not know how to rectify it. Can anyone help me, please?
odoo.tools.convert.ParseError: "ERREUR: une valeur NULL viole la…

omas
- 69
- 1
- 12
0
votes
3 answers
how to add field to product.template in odoo 12
I would like to display a field in Form View of the product module, here is the python file (i use odoo 12.):
class ClassProductInherited:
_inherit = 'product.template'
file = fields.Char(string="Choose File")
Here is xml code (i use odoo…

Programmer LiLi
- 147
- 5
- 27
0
votes
1 answer
Error message when try to install module ''Record does not exist or has been deleted'' on Odoo 12.0 community
I have a problem when trying to instal or update a module from apps list, also, I can't update apps list,
the error message is : "Record does not exist or has been deleted"
And this is the console error :
Please Help.

Ahmed BOUHANNA
- 3
- 2
0
votes
1 answer
How to populate a dropdown list with a custom field in odoo12?
Generally when a many2one field is declared and a model is referred to in that many2one field, this drop down list populates the entries from the field named name but i want to populate the drop down list with a custom field say companyName. How can…

Sameer Ahmad
- 7
- 1
- 6
0
votes
1 answer
Python XML-RPC Export Import Program
I am trying to pass a many2one field to another database. Right now my program is using xmlrpc to get into a database and fetch data from a table called product.template and then creates a csv. The field that I want to pass returns
"[54, 'PARTS /…

Zer0P3nalty
- 19
- 4