Questions tagged [odoo-14]

Use this tag for version specific questions about Odoo 14 - the suite of open-source business applications written in Python. When using this tag also include the more generic [odoo] tag where possible.

591 questions
0
votes
0 answers

Find method on button click

i have a wizard with footer as
0
votes
1 answer

the first record is not processed by the create method, the second one is

I'm trying to add some demo data to a module one of the models extends res.partner and has a create method (it overrides it from the parent) The create method does 2 things it checks that the current user is in some groups it populates a serial…
user1632812
  • 431
  • 3
  • 16
0
votes
0 answers

Odoo carry binary field to another field using create method

I want to create new record with create method. This is my code: The red line containes binary fields. Project Report fields are empty after running the function. How can i carry binary field to another field?
Enes Kara
  • 81
  • 6
0
votes
0 answers

not authorized to create a partner while loading demo data

Trying to add some demo data to a module of ours, some records can't be created The culprit seems to be this piece of code @api.model def create(self, vals_list): if not self.env.user.has_group('some-project.group_super') and not…
user1632812
  • 431
  • 3
  • 16
0
votes
1 answer

How to display all the vendors of selected product in sale order lines in odoo 15

i want to display all the vendors of product when i select one in sales order lines i tried this code vendors = fields.Many2one(related='product_id.seller_ids_name') it works but not as expected as you see in the image i get only one vendor of the…
Zoro
  • 47
  • 5
0
votes
1 answer

How to add query returned value to selection field in odoo 15

i want to add this returned list from get_famille_list function to selection field in odoo-15 get_famille_list function : def get_famille_list(self): all_fam = [] query = """ SELECT x FROM product_template WHERE x !='' """ …
Zoro
  • 47
  • 5
0
votes
1 answer

debugging and odoo 14 project with dap mode

I could use some help in setting up a solution for debugging a Odoo 14 project with Emacs dap mode I have debug py in the dev dependencies of my odoo project but what am I supposed to do with it ? I made this hypothesis python -m debugpy --listen…
user1632812
  • 431
  • 3
  • 16
0
votes
0 answers

How to fix message_post should only be call to post message on record. Use message_notify instead in odoo 14?

When we assign any lead to salesperson the mail should sent and its reflected under Technical--> Emails. Open that email record and when we click Reply button and after Send the error should be invoked How to fix that.[Email Record ImageAfter click…
0
votes
1 answer

How to call bank informations when there are more than one bank account

I'm working with Odoo 14 eCommerce module for shop and I'm customising email template (Sales: Order Confirmation). I would like to show bank information which are already inserted on Accounting / Bank Accounts section of the company contact…
george
  • 610
  • 6
  • 16
0
votes
0 answers

Error opening settings module after custom module upgrade

I recently applied an upgrade to a custom module after a trivial code update to a custom module (added a field to res.partner and displayed it). Soon after upgrading, I noticed that I could not open the settings module. Opening the module throws…
djangbahevans
  • 153
  • 1
  • 2
  • 6
0
votes
0 answers

Uncaught TypeError: Cannot read properties of undefined (reading 'appendChild') in Odoo 14

I want to show dialog when click tree-record, i used js to write code below, but odoo show error message like question title notificationDialogPopup: function(data){ if(data){ const container = document.createElement('div'); …
0
votes
1 answer

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(models.Model): _inherit = 'res.company' …
Selman
  • 274
  • 2
  • 4
  • 17
0
votes
0 answers

display an error message when the record is not set within the many2many odoo studio

I have a many2many that shows invoice records and a many2one where I select the invoices that are established within that many2many so that they are transferred to a second many2many the records are translated correctly but I need to show a message…
0
votes
1 answer

How can i make a "Download PDF" button inside of Odoo?

I have a api and this api returning a binary pdf. This pdf is changing everytime when a request come and i don't want the store it. Simply i want the create a button and this should trigger a function. Function should be take my api response (binary…
Selman
  • 274
  • 2
  • 4
  • 17
0
votes
1 answer

How to create stock.move.line record with specific serial number from python?

I need to create stock.move.line record with a specific serial number and add it into move_line_nosuggest_ids of stock.move record (or update stock.move.line record). I have a receipt picking (reserved) that is a return of a faulty device with a…
xixo222
  • 157
  • 2
  • 9