Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
119 views

I am working with Odoo 14, and I need to remove the CNPJ/CPF title from the sale.order PDF. I’ve managed to remove the data itself, but the title CNPJ/CPF: is still showing up. Here is the XML code I'...
FXU's user avatar
  • 11
0 votes
1 answer
65 views

I'm curious how to add chatter to res.users in Odoo14.I keep trying but keep getting error. from odoo import models, fields, api class ResUsers(models.Model): _inherit = ["res.users", &...
Denny's user avatar
  • 3
1 vote
0 answers
69 views

I have an issue with the delivery address. I want to show the partner address on the stock.picking.batch.form. Right now, the content (a part of) of the view is like this: <xpath expr="//...
Josep Tortosa's user avatar
1 vote
0 answers
41 views

I want to make a button in 2 of our views only visible to users of a specific group. In the sale.order view everything works as intended. There is similar view in the account.move model which I ...
pycal's user avatar
  • 11
1 vote
0 answers
27 views

i have kind of problem understanding access rights and maybe an issue resolving this, i'v created acces right for my model "tg_quart" , and add a record rule to the same model so that the ...
Ouassini's user avatar
1 vote
1 answer
43 views

I've started to learn Odoo, but the error is baffling me. I've asking questions to ChatGPT and Gemini why the problem occurs, but every time I checked, the code are the same. I don't know why the ...
Ali Shidqie Al Faruqi's user avatar
1 vote
0 answers
47 views

i have code thea create attachment and then allow user to download it, but to keep DB clean is there any way to delete attachment after user download it? Here my code: attachment = self.env["ir....
Makis's user avatar
  • 21
0 votes
0 answers
96 views

I have created a view which creates a popup on our website. The idea is the show this popup when the company is closed due to the public holidays. I set the public holidays in the calendar and I would ...
george's user avatar
  • 586
3 votes
2 answers
393 views

I have a problem with the hr.employee.public model. If I try to add a new field Char, Integer, Many2one, etc. I have no issues. However, if I try to insert a Binary field like this employee_signature =...
oigna's user avatar
  • 192
1 vote
0 answers
28 views

In a custom odoo addon, I have created a model called AgreementTemplate. This model has a field of type HTMLField that stores the template used to display information. The problem is that from the ...
Alexander Darlington Agboada's user avatar
0 votes
1 answer
483 views

I have installed a odoo14 solution with docker. all works fine, but when I print an invoice pdf, the content is printed but it is not like the layout configured in the configuration. there is no ...
Mohamed Jmal's user avatar
0 votes
0 answers
437 views

Odoo 14 Community Edition Odoo normally allows accessing views via urls by specifying necessary properties for it. For example, {host}/web#id=23&action=985&model=product.template&view_type=...
holydragon's user avatar
  • 6,768
1 vote
0 answers
196 views

I am trying to upgrade an Odoo module from v14 to v17 and I am getting the error "trigger_up is not a function". // the code below is inside: // export class OpenStreetMap extends Component ...
Shakeeb Ahmed's user avatar
1 vote
0 answers
438 views

I am having difficulties in setting up real-time communication for my Odoo app. I am still a newbie to javascript so I'm not sure if my javascript code is correct or not This is my odoo code: class ...
tttt's user avatar
  • 11
0 votes
0 answers
222 views

Odoo Community Edition version 14 / Wkhtmltopdf version 0.12.6 (with patched qt) When printing a report with a large number of records (for example, printing standard Sale Order report with more than ...
holydragon's user avatar
  • 6,768
0 votes
0 answers
94 views

I'm trying to update a custom module in Odoo14 whereby I want to introduce a new field or column in the account.move module that tells me which stock.move movement ID, if any, each line in account....
Karistio's user avatar
3 votes
1 answer
605 views

Odoo 14 Community Edition From what I understand, sale_line_id in stock.movemodel is added on creation only on the delivery order. Suppose I have 3 steps: pick,pack,out. Only out has a value in ...
holydragon's user avatar
  • 6,768
0 votes
0 answers
36 views

Odoo 14 Community Edition Here I captured the module selection page from Odoo demo that I searched from the web. (the version is different but shouldn't matter). I am looking for a way to customize ...
holydragon's user avatar
  • 6,768
2 votes
2 answers
1k views

I am a junior odoo developer (v14). I am trying to add a button at the header in a tree view, next to the 'Create' button. I have to add the button from an inherit template, so I think that I will ...
Juan Luis Andión Tápiz's user avatar
0 votes
0 answers
74 views

Odoo 14 Community Edition I have a customized form view of a customized model. Inside the model and the view, I have a One2many field. As simple as <field name="one2many_field"/> The ...
holydragon's user avatar
  • 6,768
1 vote
2 answers
427 views

I am trying to inherit the slide.slide.quiz.validation in website_slides to change the label of a button of quiz page in eLearning. No errors are showing upon upgrading my custom module and the ...
Kai Ning's user avatar
  • 197
1 vote
1 answer
261 views

I need to generate a pdf report with a border all around the page. I tried to add the border to the div "page" but it doesn't take the whole page, it is dynamic based on the height of the ...
oigna's user avatar
  • 192
0 votes
1 answer
243 views

I want to filter the current year's data when entering the contact module dashboard view. I tried using custom components to add default search criteria, but it didn't take effect. enter image ...
user23256668's user avatar
1 vote
1 answer
783 views

Odoo 14 Community Edition I have a One2Many field called lines. I display the field as a tree in a form view like this. <field name="lines"> <tree editable="bottom">...
holydragon's user avatar
  • 6,768
1 vote
1 answer
104 views

I try to within action confirm I will pass data from my module to stock.move and stock.picking so I can create complete cycle from stock.move passing with stock.picking to stock.quant to decrease ...
Abdullah Elshoura's user avatar
1 vote
1 answer
124 views

I am facing an issue while trying to define an action server in Odoo14. The objective is to call a Python method that returns a window action because I need to access fields in the current model and ...
Ka_'s user avatar
  • 311
0 votes
0 answers
67 views

Odoo 14 Community Edition I have been searching through the code base for the method that updates the stock.move of the next stock.picking step on clicking validate button. I cannot find where exactly ...
holydragon's user avatar
  • 6,768
-2 votes
1 answer
225 views

i need help about odoo. i want to convert float to int in Odoo14 qweb. <tr class="border-black"> <td> ...
it uw's user avatar
  • 11
2 votes
1 answer
298 views

I'm showing a related model by using the related_model_ids field in the model form view The link for adding a record in the related model is "Add a line" (in the attached image it's "...
user1632812's user avatar
1 vote
1 answer
398 views

Odoo 14 Community Edition I have a custom module with a custom model inside it. I created a custom view. It is working correctly. Now that I need to add a button that let the client download a static ...
holydragon's user avatar
  • 6,768
0 votes
1 answer
469 views

How do I specify database in odoo Controller rather than select it manually from the browser? My code @http.route('/test/', type='http', auth='public', website=True, db='test') def index(self, **...
Jhon's user avatar
  • 1
1 vote
1 answer
1k views

I would like to know how to force update field price_subtotal in sale_order_line model. It is computed from several modules but I would like to be able to update it from my custom module. By clicking ...
holydragon's user avatar
  • 6,768
0 votes
1 answer
983 views

I am working on Odoo 14 Community Edition. I would like to create a customized login page (I already know how to create a login page). However, what I need to know are: How can I connect this ...
holydragon's user avatar
  • 6,768
1 vote
2 answers
929 views

I have scoured the Odoo 16 documentation and searched Google for answers to this. All I've found are examples of altering/modifying/overriding existing "tree, form, kanban" views. Nothing I ...
JamesHoux's user avatar
  • 3,628
2 votes
1 answer
370 views

I use Odoo Blog module for adding news on our website with using tags. I would like to add block of last few posts in different pages, filtered by specific tag. Unfortunately, by default, there is no ...
george's user avatar
  • 586
-1 votes
2 answers
189 views

In the invoice template, i want to change the place of client information, I want the zip code after the street address directly, I can't find the source code of it. where i can find the source code ?
Mohamed Jmal's user avatar
0 votes
1 answer
103 views

I want to change calendar time period with some user input field. eg.: in week calendar, I want to show only business day (8AM - 5PM) not (0AM - 12PM)
A C's user avatar
  • 145
2 votes
3 answers
195 views

I'm creating a custom module to set 'city' field as mandatory on base.view_partner_form, in Odoo 14. I have tried <?xml version="1.0" encoding="utf-8"?> <odoo> <...
SallySalty's user avatar
1 vote
1 answer
102 views

In a Odoo 14 shell, I'm doing this env['model_A'].search(['model_B_id', '=', '17' ]) I know for sure that there are several records in model_A with the field model_B_id set to 17 I get an empty ...
user1632812's user avatar
0 votes
2 answers
186 views

I'm using Odoo 14 community version to test some developments locally. I want to create a custom module that assigns a specific warehouse when the Sale Order is created depending on a logical ...
SallySalty's user avatar
0 votes
1 answer
121 views

I have a session: class POSSession(models.Model): _inherit = 'pos.session' access_token = fields.Char(string="Access Token", readonly=True) I'm trying to get access to the that ...
onorua's user avatar
  • 409
1 vote
1 answer
1k views

Does anyone know if it is possible to upgrade an odoo.sh staging database through the upload form from here? https://upgrade.odoo.com/#odoosh The Odoo.sh upgrade service says that the DB used to ...
SallySalty's user avatar
0 votes
1 answer
49 views

I have a model I need to provide 4 select fields The values choosen in the first select field will be used to calculate a subset of the model to show in the second select fiedl the valued choosen in ...
user1632812's user avatar
0 votes
1 answer
112 views

Wanted to add calendar view for Hr.attendance in Odoo for version 16.0 Don't know how to create calendar view for hr.attendance. by default Odoo base doesn't provide calendar view for hr attendance ...
Pragnesh Gajjar's user avatar
1 vote
0 answers
35 views

I have landed costs in odoo, and there are two documents there: Journal Entry and Vendor Bill. If I go to the Vendor Bill, then in the partner_id tab I have all the fields filled in, but if I go to ...
Snejn1y's user avatar
  • 21
0 votes
1 answer
75 views

I am looking for a way to find which method called a specific method that I am currently in. For example, I am looking at create() method of account.move.line model. @api.model_create_multi def create(...
holydragon's user avatar
  • 6,768
3 votes
0 answers
229 views

Any idea on how to make the value of employee_ids with {Employee ID - Department name}? So when I select on the field it should look like this: Person1 (Dept A), Person2 (Dept B) This is my XML: <...
Kai Ning's user avatar
  • 197
0 votes
1 answer
78 views

I'm feeling a bit confused about how to retrieve data from my backend model and display it on my website. For instance, I'm using a drag-and-drop component provided by the website's model. How can I ...
LAHCEN AGLAGAL's user avatar
0 votes
1 answer
304 views

I have the tree view in the attached picture Let's say this is a tree view on model A I want to selct one line and then click a button that creates a record in another model, say model B, using the ...
user1632812's user avatar
0 votes
2 answers
315 views

I've been trying to replace the image from Odoo Website sliders that are accessed through localhost:8069/slides. But it won't still displayed. Did I missed some import? I inherited the website_slides....
Kai Ning's user avatar
  • 197

1
2 3 4 5
13