Questions tagged [odoo]
Questions on Odoo are on topic if they are about programming, for example for contributions or plug-ins. Questions pertaining to setup or using Odoo are off-topic.
12,598
questions
0
votes
0
answers
26
views
I want to pass the some fields such as purchase name and vender in purchase order in to Bills I mean create Automatic new record
this is my code but when I executed the function it doesn't work
the below code that I executed but doesn't work with me I want some one to help me I'm using odoo16
def button_landed_cost(self):
...
1
vote
2
answers
21
views
Readonly fileds in Odoo form view
I built a module in Odoo for invoicing where project managers can approve or reject invoices.
I'm trying to create new access rights and record rules for group project manager so that when project ...
-2
votes
0
answers
11
views
cannot access odoo 15 after fresh install [closed]
Good day
I freshly installed odoo 15 in digitalocean droplet. I reached the database selector to create a new database and start using odoo. I could not reach my site because this what happened: it ...
2
votes
2
answers
38
views
How to display value of another fields of related field in Odoo form views
is that possible to display value of another fields of related field? For example, by default, in Sale Order, the displayed value of partner_id is the value of partner_id.name .. how if I want to ...
0
votes
0
answers
13
views
Odoo - Adding Font Module
I need to add a custom font to the Odoo website editor, so I followed this tutorial
I created the custom module, but when I started my local Odoo server (nginx) the navigator interface showed me this:
...
0
votes
1
answer
18
views
Error Document tyoe: Purchase Requisition, operation: read
I have this issue
(Tipo de documento: Purchase Requisition, Operación: read)
I can find why? here is my code
security.xml
<record id="group_grupos_requis" model="res.groups">
...
0
votes
0
answers
17
views
add sections and notes from sales orders in delivery note odoo 15
we use sections and notes in sales orders in odoo 15 to structure and specify our sales orders. We managed to get these infos displayed also on invoices.
Now, we would need them as well on delivery ...
-1
votes
0
answers
30
views
how can I setup a "auditlog" third party module in my pycharm for odoo17 by cloning from github?
What are the steps to set up an Odoo 17 third-party module (specifically, an "Audit Log" module) in PyCharm by cloning it from GitHub? Please help me . Using ubuntu lts 22.04.
Tried to clone ...
-1
votes
0
answers
41
views
In Odoo 17 pos_discount, I want to inhrrit the apply_discount function to add extra validation [closed]
This is the original code from Odoo 17 pos_discount module. I want to extend the apply_discount function in a new module named rgb_sale_update to add some validation before applying the discount.
/** @...
-1
votes
1
answer
25
views
How to Make Attribute condition in a report file in Odoo?
I have this field in tree view on (test.xml)
#field name="test" optional="hide"
I need in report file side (report.xml), if this field has attribute optional='hide' make this field ...
0
votes
1
answer
28
views
Create Lead/Opportunity on Odoo CRM via API and Zapier
I'm trying to get Zapier working and sending a webhook request to Odoo to create a new lead/opportunity when Zapier fetches it from Facebook Ads.
I don't use Zapier's pre-built automation because it ...
1
vote
0
answers
20
views
eCommerce and Product Categories Manage Two Separate ORM Models
I understood the both have two different purposes and usage but I want to know bit more on some technical side.
What if we go with technical models where we can see Odoo managing the two different ...
-1
votes
0
answers
31
views
Zoom or Hover in image odoo16 [closed]
enter image description here
on putting the mouse in product image it will popup/enlarge/zoom/hove r working in odoo14 and before version.But not working in odoo 16
Tried this 2 code ,but not working:&...
0
votes
1
answer
28
views
Unable configure the issue
Requirement:
Based on the customer in the stock.picking and the picking_type_code(operation type) is outgoing. Then in move_ids (one2many field of stock.picking) the product_id and the lot_number ...
1
vote
0
answers
17
views
Adding Tabs in Odoo Application Index File
I have tried adding tabs in odoo index file but it is not working. I have tried various ways that works in an HTML file but it does not work in odoo Index file.
In Odoo app index file buttons and ...
1
vote
2
answers
57
views
Cannot find where the table where the stage history for a lead is stored
The element in the screenshot comes from the mail_message table and show a stage change for a lead from QUALIFIES to INACTIFS but the body column of the table is empty so I suspect that there is an ...
0
votes
1
answer
50
views
odoo duplicated create/export buttons in wizard
In odoo v15 I created a wizard :
odoo.define('slnee_appointment_core.tree_button', function (require) {
"use strict";
var ListController = require('web.ListController');
var ListView = ...
0
votes
0
answers
14
views
Odoo /jsonrpc endpoint not found
Im trying to access my odoo database with odoorpc but I cant get it to work, I can`t even print out the databases on my odoo server. I tried it with this code:
import odoorpc
if __name__ == "...
1
vote
1
answer
29
views
What is the time complexity of search () orm method in odoo?
This method is used to search records within the model based on some condition.I want to know about time complexity of this method. How can we improve this method?
Here is an example
self.env["...
1
vote
1
answer
56
views
How to force update a field from model?
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 ...
0
votes
1
answer
20
views
odoo 17 restrict user to see his products
from odoo import api, fields, models
class ResUser(models.Model):
_inherit = 'res.users'
dealer_category_ids = fields.Many2many(
string="Dealer Category Tags",
comodel_name='rgb....
0
votes
1
answer
28
views
How I can add button to the variants tab in the products screen in Odoo
I try to add a button in the products screen but I can't find the correct path, and I do not know the problem.
this is my code
<xpath expr="//page[@name='variants']" position=&...
0
votes
1
answer
33
views
Related fields in odoo studio
I'm using odoo studio,and I want to get a value from the wizard, I created a new field in odoo studio and made the correct logic, just I need to include the value we input in wizard, but that value is ...
0
votes
1
answer
48
views
How to create a customized login page that logs in to Odoo?
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 ...
-1
votes
0
answers
60
views
+100
Can the tree view for "Search More" on many2many_tags_email widget be configured to a custom view?
I have found threads for questions asking how to specify a custom tree view for the "Search More" option for many2one widgets. Two threads I've found are here:
https://www.odoo.com/nl_NL/...
-1
votes
1
answer
119
views
Odoo 16 community. Error when sending quotations. RPC_ERROR
I don´t understand why sending quotations is not working.
At the beginning of the error message I get this:
File "/opt/odoo/odoo-server/odoo/http.py", line 1584, in _serve_db
return ...
1
vote
2
answers
44
views
Is it possible to create alternate views to existing models in Odoo?
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 ...
0
votes
1
answer
69
views
Print another PDF file from Odoo POS
In Odoo v15 POS, I want to print another PDF with the POS order receipt when I click a custom button.
Each order I have has 1 or more tickets .. I've added another button called "Print Tickets&...
0
votes
1
answer
13
views
how to automatically add ir.cron schedule jobs in calendar view in odoo?
I was given a task to add all schedule jobs in ir.cron model in calendar view in odoo. I am not sure how to do it. I have looked over internet but I didn't find anything useful. Is it possible to do ...
-1
votes
0
answers
26
views
Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
I am install odoo in windows, did everything following by instructions
Tring to fix by :
pip install --upgrade pip setuptools wheel
does not work
D:\odoo\odoo>pip install cryptography
Requirement ...
0
votes
1
answer
35
views
Odoo 15 inherit js function
I try to inherit onClickSendMessage() of mail chatter js in odoo 15 https://github.com/odoo/odoo/blob/15.0/addons/mail/static/src/models/chatter/chatter.js#L140
here is my js code
/** @odoo-module **/
...
0
votes
0
answers
13
views
how to link a wizard for individual contact checklist to individual contact & wizard to company contact checklist to company contacts on buton click
i have created an audit button in the contacts module and two submenus for individual contacts and company contacts. How do I perform the following task :if the user is an individual contact if he ...
2
votes
0
answers
18
views
How to authorize different groups for different website in Odoo 16
In Odoo 16 Community version I have multiple websites. How can I assign authorizations to different groups for each website?
0
votes
0
answers
45
views
Odoo 15 : TypeError: Cannot read properties of undefined (reading 'type')
I'm using Odoo 15 and I am encountering a persistent issue when trying to access the Point of Sale menu in Odoo, and I'm hoping someone can provide guidance on resolving it.
Here's the error message I'...
1
vote
2
answers
93
views
How to patch or include custom code in action_service.js file in Odoo 16
I am using Odoo 16. I am looking to include or patch the custom code to _executeReportAction function because my action.report_type is not avaialble here.
I have created custom module and added the js ...
2
votes
0
answers
99
views
How to list blog posts filtered by a tag on Odoo (v14)
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 ...
1
vote
2
answers
24
views
Combine salesorders to one invoice from server action on stock.picking
How can i adjust the following code so dat odoo will combine the sales orders from the same customer to one invoice like wen you do it from the tree view in sales.orders.
for record in records:
if ...
1
vote
1
answer
47
views
How to show data conditionally to record values in form view odoo 16.0
I am trying to show info that depends of the model values in form view
<t t-if="record.id"> ...
<t t-if="record.name == 'Anon'"> ...
<t t-if="name == 'Anon'&...
0
votes
0
answers
47
views
odoo 16 override js calendar function
I want to override the function useFullCalendar in /web/static/src/views/calendar/hooks.js.
if I import:
with import {useFullCalendar} from "@web/static/src/views/calendar/hooks"; I always ...
0
votes
0
answers
18
views
How can I Include custom attachments in XRechnung export using odoo 15?
In Odoo 15, when creating an invoice using the "account" app, you have the option to generate an EDI document (XRechnung) through the "Import/Export electronic invoices with UBL/CII&...
0
votes
1
answer
24
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
0
answers
10
views
How can i activate Waffle menu for lotcodes in odoo 16 saas
How can i activated the waffle menu in odoo 16 zo that i can add multiple lotcodes to a order line for example:
MDD001 - KOFFIE BOONTJE -> ORDERS 10pc
-> Delivery slip MDD001 .... LOTCODE ...
1
vote
1
answer
24
views
Error Adding Odoo Module: "No module found in repository"
I'm trying to upload my custom module to Odoo, but it keeps showing this same error:
No module found in repository ssh://[email protected]/ezert/planteagua-custom-fonts.git#16.0.
Each module needs to be ...
1
vote
1
answer
40
views
Odoo 15 Qweb Foreach in Email Template
I'm lopping through a list of records when a function gets executed, the list is stored in a variable and then converted into a dictionary and finally send it to the email template and hopefully it ...
0
votes
1
answer
51
views
Odoo - Show new field in POS receipt
I've added a new field in sale.order.line and pos.order.line called "resource_name"
I want to show it in the printed POS receipt, it came always empty.
even in the DB it's correctly set in ...
-1
votes
0
answers
11
views
Odoo data validation speed delay on sales data odoo 14
We are reprocessing 6-month data from our client we imported the data Validated Purchase then Validated MRP now when we started validating Sales of 270,000 data it needs more than 3 months to complete ...
0
votes
0
answers
13
views
Odoo back date transfer
May I ask in odoo 16 is still back-date transfer or stock adjustment.
I think in Odoo 15 stock adjustment, the stock adjust date can be adjusted. But in odoo 16, the stock adjust can only affect ...
0
votes
1
answer
15
views
I'm trying to prototype inherit calendar.event but I get errors
class MeetingRoom(models.Model):
_name = 'meeting.room'
_inherit = "calendar.event"
categ_ids = fields.Many2many(
'calendar.event.type', 'meeting_room_categ_rel', '...
0
votes
0
answers
21
views
how can i store a first value of the filed in odoo?
"I'm working on an Odoo module based on the account.payment model, and I want to store the value of the partner's credit field (partner_id.credit) at the time of payment registration in the ...
0
votes
0
answers
20
views
Odoo 16: How can I edit Pivot table row totals?
Odoo 16 hosted on Odoo.sh:
I'd like to be able to edit the totals for rows on Pivot tables. Perhaps add a second total that's customized. How can I do this?
Example, you can see in the screenshot ...