612 questions
1
vote
1
answer
88
views
DB corrupted in Odoo 13 [closed]
I have a running production instance with existing data in my production database. Recently, I encountered an error, and upon investigation, I discovered that some core modules were unexpectedly ...
-1
votes
1
answer
43
views
How to add a filter to a popup window generated by javascript in Odoo 13
I'm trying to extend file relational_fields.js from the web module in Odoo 13, so that in the request for quotation form, when i start entering a vendor name and the autocomplete options show with a ...
0
votes
1
answer
102
views
odoo 13 error when opening settings: ValueError: Wrong value for res.config.settings.module_procurement_jit: 1
I created a new Odoo server using a backup .zip file from an already working server, including all the addons. The original server is functioning correctly, but the new one is showing this error. The ...
0
votes
0
answers
48
views
In Odoo 13, how can I get my custom module to load after an oca_addon?
I have Odoo 13 set up with an oca_addons directory and also another directory for my custom module.
The oca_addons includes mail_quoted_reply. There are a few other oca_addons installed as well.
I ...
0
votes
2
answers
213
views
In Odoo 13, when doing a pdf report print how to assign page break for a table such that it occurs in the beggining or end of a row
Currently, when trying to print a report where there are more table records than a single page can contain, the table will be split across multiple pages. The split occurs at whatever point reaches ...
1
vote
2
answers
326
views
Resolving a KeyError in Odoo 13, where the required key is stored in a '/security.xml' file
Try to reinstall a set of custom Odoo 13 modules on a new Ubuntu-based virtual machine. For one of the modules (material_purchase_requisitions), I keep encountering the following server error at the ...
1
vote
3
answers
128
views
How to avoid Many2many duplication in Odoo 13?
In Odoo 13, when I duplicate a sale order which has invoices linked to it, the new sale order has no invoices linked to it, which is OK.
The problem is that in my case, there are a lot of third party ...
0
votes
1
answer
125
views
in odoo i need to make journal_id field editable
this the view code of journal_id in account move and i need to change it to become editable:
<field name="journal_id"
invisible="context.get('default_journal_id') and context....
1
vote
0
answers
74
views
Odoo 13 issue after transfered to new server
i transfered odoo 13 to an new server ubuntu but i get this issue
Error:
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 625, in ...
0
votes
0
answers
62
views
Inherit ExportXlsxWriter odoo main controller not working
I am trying to inherit ExportXlsxWriter init method but my custom code init method not calling.
I want to add something in init. Anyone can help ?
from odoo.addons.web.controllers.main import ...
1
vote
1
answer
144
views
How to remove active_id from the URL in Odoo 13?
I am deleting a record from a wizard action and return the same parent action( not wizard action) and showing the tree view properly.
But issue is in the latest URL in address bar(After deleting a ...
1
vote
1
answer
104
views
Create Delivery Operation From My Custom Module Odoo 15
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 ...
0
votes
1
answer
90
views
How to inherit js file tax_group.js (account) in odoo 13
I need to add another state to a function in account/static/src/js/ tax_group.js line 94
var displayEditWidget = self._isPurchaseDocument() && this.record.data.state === 'draft' && ...
0
votes
1
answer
133
views
Odoo reporting I want to insert comma in t-option float_time
"I have a variable ot10_total with a value of 1758.92. I successfully added commas to format it using the code <span t-esc="'{0:,.2f}'.format(ot10_total)"/>, and it displays as 1,...
0
votes
1
answer
282
views
Odoo-13 template Error : CacheMiss: ('my_custom_model(6,).name', None)
In my server Log-file on Odoo.sh (odoo-v13), i often see the following error without understanding exactly what is the reason of that: odoo.exceptions.CacheMiss: ('x_eventcoursetype(6,).x_name', None)
...
0
votes
1
answer
133
views
Odoo migration to v16: Error for standard wizard
When i try to install my -originally in v13 developed custom module- in Odoo v16-apps, i got an error, even for an empty wizard (with a structure which is identical the other wizards definitions found ...
0
votes
0
answers
125
views
Odoo: Data from Model Not Displaying in Website Template Table
Question: I'm working on an Odoo project where I'm trying to display data from a custom model (brgy.officers) in a table on a website template. However, I'm facing an issue where the data is not ...
0
votes
2
answers
415
views
In Odoo13, how can I compare two datetime fields of a record in search domain?
In Odoo13 I have a model that has two Datetime fields.
e.g.
start_date = fields.Datetime("Start Date")
end_date = fields.Datetime("End Date")
I try to search for records by ...
1
vote
1
answer
105
views
make download template excel in odoo
im using odoo13, and want try to make download excel file, heres my models odoo :
class CustomExcel(models.TransientModel):
_name = 'custom.excel'
_rec_name = 'datas_fname'
file_name = ...
0
votes
1
answer
86
views
Run python method only when Save button is called in form view
I have a custom module(odoo13) in which I send data from Kafka producer whenever i save or create data from form view. i have inherited write method here but whenever some onchange or compute method ...
1
vote
1
answer
664
views
In Odoo 13, XML-RPC, how can I update a field for multiple records?
I'm attempting to update a field for multiple records.
The Odoo 13 Developer API document reads that it is possible, but does not give an example how.
https://www.odoo.com/documentation/13.0/developer/...
1
vote
2
answers
1k
views
How can I add a chatter for many2many fields (tags) in Odoo 16?
I want to add chatter for Tags. But odoo does not support tracking of many2many fields.
What should i do?
Any Suggestions.
I tried to put tracking=true on tag_ids field but it does not work.
I am ...
1
vote
2
answers
249
views
How can i update One2many field on Create method?
class DownloadReport(models.Model):
_name = "santex.download_report"
agency = fields.Many2one("res.partner", string="Agency",
domain=...
1
vote
0
answers
35
views
Similar behavior to joining two fields Odoo13, it's possible?
I have two fields: language and level, I need to implement a behavior similar to the one in the attached image, where when choosing the language and its level they are added at the bottom as a label ...
2
votes
1
answer
157
views
What is the scope of the variables passed to subtemplates in QWeb?
I am using Odoo 13, but this is a QWeb question:
I got the following template in QWeb:
<template id="my_subtemplate">
<t t-set="foo" t-value="foo + 1"/>
...
0
votes
1
answer
73
views
How can i use a field from 3th model for Domain?
Lets Create a Demo for question !
class Characters(models.Model):
_name = "santex.characters"
licensor_brand = fields.Many2one("santex.licensor_brands",
domain=&...
1
vote
1
answer
521
views
How to get count of line of codes in Odoo 11?
I am trying to get the total count of lines of codes in my custom modules. it tried the below command.
./odoo-bin cloc --conf=odoo11.conf -d odoo10
Here odoo.conf addons path to default addons and ...
2
votes
2
answers
198
views
Custom controller very slow for some users, really slow for others
We have built a custom controller for a customer which passed products data and loads their products in a custom url.
The controllers are basically like this:
class CustomProducts(http.Controller):
...
0
votes
1
answer
168
views
Override Default Route Based on Condition on Incoming Shipment (Receipts) while Confirming the Purchase Order Odoo 13 [closed]
What im trying to achieve is while confirming a purchase order based on a condition in then order, needs to replace the default route with a custom route.
Please share your valuable references or ...
1
vote
1
answer
427
views
creation of Manufacturing Order from Sale Order
I know the functional flow of the sale order in which a MO is created for a product that is configured to be manufactured in product master
Below I have descried in brief the Functional flow:
when we ...
2
votes
0
answers
500
views
Odoo.sh Upgrade to v15 : how to migrate obsolete but inherited views?
I am currently following the UPGRADE process in odoo.sh to migrate to Odoo v15.
Because some of the templates have been removed or renamed in v15, I got 100 errors similar to:
ValueError: External ID ...
0
votes
1
answer
443
views
Odoo 13 : How to display selection field in kanban view based on Qweb and color transformation?
This is the first time I am using Qweb for Odoo XML. My code is not working as intendent due to lack of experience I guess. Thank you very much in advance.
I have a selection field :
priority = fields....
1
vote
2
answers
535
views
Add Image in Email From field
In odoo 13 i have a field example:
birthday_picture = fields.Image(string='Birthday Picture')
i want to add birthday_picture image to be added in email template also which i declared in xml,
i have ...
0
votes
1
answer
116
views
Odoo Error.: "Inherited" field is not exist
First of all, everything i make is working on my local computer but this error happen when i tried to update this module inside of a server.
I add some fields to res.company
class InheritAccountMove(...
0
votes
0
answers
89
views
Field `state` does not exist in Odoo 13
view.xml
<record id="fsm_order_form" model="ir.ui.view">
<field name="name">fsm.order.form</field>
<field name="model">fsm.order</...
0
votes
1
answer
221
views
Odoo POS - Auto download invoice after validating
See this video: https://youtu.be/PW-C3xKFBAE
Can anyone tell me how to change this PDF invoice template to a different one? When you click validate in the POS module it automatically downloads a PDF ...
1
vote
1
answer
62
views
How to find all leaf and non leafe records and update them on each non leaf records in odoo 13
In the employee profile, I added a Many2one field which relates to the employee table itself (known as Reporting of the current employee) and another field is a Many2one with a foreign key of ...
0
votes
1
answer
269
views
Assign User groups to Static XML button used for JS - odoo 13
Need to assign user groups to a static button used for JS. Setting groups as we do for form's xml button is not working.
<?xml version="1.0" encoding="UTF-8" ?>
<templates ...
0
votes
1
answer
487
views
Odoo ORM api onchange not working on many2many - odoo 13
Odoo ORM api onchange not working on many2many - odoo 13.
Trying to update sale_line's m2m field when product is changed in form view. It's not working.
@api.onchange("product_id")
def ...
1
vote
3
answers
456
views
one2many field view - attribute
I have the following wizard structure [ field name and data type ]
Type :- Selection :- Type 1 and Type 2
Route :- One2many
When Users select Type 1, I want to allow them to add records in the Route ...
0
votes
1
answer
293
views
Monetory fields not taking 0 value instead its reverting to previous value in odoo 13.0 ver
I have some custom modules developed from scratch in that Monetory fields are not taking 0 value instead its reverting to previous value.
installation : odoo 13.0 exe installation
installed on : 13.0....
1
vote
2
answers
2k
views
Odoo 13:- HTTP controller type ="http" request type application/json not accepted
I write a odoo program in python, this way request type text/plain is working. And application/json request work in any other odoo version(Odoo 15,Odoo 16) .But odoo 13 application/json request not ...
1
vote
1
answer
2k
views
Odoo-sh Upgrade : How to disable a view / uninstall a module during upgrade process (v13 to v15)?
During the upgrade process on odoo.sh on branch BrStaging, there are errors in the log panel. Some obsolete custom Modules or Views are the cause of these errors. To disable or uninstall them, we have ...
1
vote
1
answer
999
views
Odoo 15 Find tax_ids Inside the account.move.line (Invoice) Model
Good day, hope everything's well.
I'm trying to find the value of tax_ids (Many2many field) inside the account.move.line model but i can't seems to find anything. I already access the psql of the ...
1
vote
1
answer
119
views
Insert divs in top timelene view odoo 13
I am trying to place some buttons/div on top of a dashboard, but the view is not qweb and if I try to add a div it does not render it. How do I get it to add those buttons on top of that board?
0
votes
1
answer
217
views
Ticket Created email not sent if the partner_id and partner_id.email is connected with internal user odoo13
we have a problem in odoo13. Namely, when a helpdesk ticket comes in, and the submitter enters his email and name, they will get an email that the ticket has been received. But, if an internal Odoo ...
2
votes
0
answers
356
views
How to set colors for columns in Odoo pivot view?
I want to set colors based on fields value in pivot view in Odoo, how to set it?
0
votes
2
answers
2k
views
Odoo: psycopg2.OperationalError: FATAL: too many connections for role "p_my_oerp_master_11234451"
Since Today (the 30 of September), using Odoo v13 on Odoo.sh, after logging in my odoo account as "ADMIN" or another odoo user, i got this error every minute and all "Odoo internal ...
1
vote
0
answers
77
views
Odoo drop down action for a specific domain
In Odoo13 I have an act_window action for multiple records in list (tree) view. It is supposed to change ownership on leads using a custom wizard. The ownership can only be changed on leads, not on ...
0
votes
1
answer
100
views
Override a method & append new items to an existing dictionary Odoo13
I have overridden a method to append some new items to the dictionary of the original method. when I execute my code I have this error:
'bool' object has no attribute 'dict_one'
but the original ...