Odoo External API | Create API's In Odoo | Odoo XMLRPC : Connect Odoo With External Applications

  Рет қаралды 57,479

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 147
@nehemiahmordecai
@nehemiahmordecai 10 ай бұрын
I'm on the 4th video of this series and I came here finding to know how to migrate data btn odoo databases but I've learned way more than just that. so I thought it would be fair to atleast drop a coment. You are doing a grat job man.
@august7791
@august7791 Жыл бұрын
You're just amazing man. And it's really great to see you responding to feedbacks and most essentially to the doubts in the comment sections. Keep up your great work.👏👏👏
@OdooMates
@OdooMates Жыл бұрын
Very happy to hear this and thanks for all the support and love
@shadowcoder19
@shadowcoder19 2 жыл бұрын
Brilliant video @Odoo Mates
@OdooMates
@OdooMates 2 жыл бұрын
Thanks brother ❤
@charlie.aguilar.88
@charlie.aguilar.88 3 жыл бұрын
This is a great video. I had some trouble understanding the documentation, but your explanation is wonderful. Thank you for sharing.
@OdooMates
@OdooMates 3 жыл бұрын
Thanks for the feedback and for the support :)
@asmatullahwazir3442
@asmatullahwazir3442 Жыл бұрын
Great job sir! Very well explained.
@OdooMates
@OdooMates Жыл бұрын
Glad it was helpful!
@thanshidhap.p4743
@thanshidhap.p4743 3 жыл бұрын
Thanks odoo mate..it's really helpful
@OdooMates
@OdooMates 3 жыл бұрын
welcome and thanks for the support
@Nasirco2010
@Nasirco2010 8 күн бұрын
great explanation .....
@OdooMates
@OdooMates 2 күн бұрын
Glad it was helpful!
@dipendrathapa8591
@dipendrathapa8591 4 жыл бұрын
most awaited vdo
@OdooMates
@OdooMates 4 жыл бұрын
Enjoy :) Also refer it to your odoo friends :)
@nadeemkazi2092
@nadeemkazi2092 3 жыл бұрын
Thanks for providing very usefull info..🙏❤
@OdooMates
@OdooMates 3 жыл бұрын
thanks for the love and support
@kab9996
@kab9996 3 жыл бұрын
thanks very much for your clear explication !
@OdooMates
@OdooMates 3 жыл бұрын
welcome brother, thanks for the support
@hassanantous143
@hassanantous143 Жыл бұрын
thanks for your great videos
@OdooMates
@OdooMates Ай бұрын
thanks for all the support
@henishah4974
@henishah4974 4 жыл бұрын
Thank you so much for this amazing and helpfull video🙌
@OdooMates
@OdooMates 4 жыл бұрын
thanks for the support :)
@ВіталійГлапшун
@ВіталійГлапшун 3 жыл бұрын
Great video as usual! Thanks a lot!
@OdooMates
@OdooMates 3 жыл бұрын
thanks
@leonardoporras4459
@leonardoporras4459 Жыл бұрын
Thanks for your videos
@OdooMates
@OdooMates Жыл бұрын
So nice of you
@mohamedmaher6398
@mohamedmaher6398 4 ай бұрын
thanks brother for your help you doing a great job for us
@OdooMates
@OdooMates 2 ай бұрын
happy to hear it
@nikhilsurendran7960
@nikhilsurendran7960 Жыл бұрын
Hi, Thanks for making this video. How we can retrieve sales order on daily base from database
@OdooMates
@OdooMates Жыл бұрын
using search method by passing necessary domain, we get the data from the database
@OdooMates
@OdooMates Жыл бұрын
kzbin.info/www/bejne/q6WrZKiOoM19nNE
@nikhilsurendran7960
@nikhilsurendran7960 Жыл бұрын
@@OdooMates Thankyou very much
@NMNaufaldo
@NMNaufaldo 2 жыл бұрын
Great tutorial as always 👍
@OdooMates
@OdooMates 2 жыл бұрын
thanks brother
@developer49
@developer49 5 ай бұрын
❤‍🔥
@OdooMates
@OdooMates 2 ай бұрын
@billbuitrago4644
@billbuitrago4644 3 жыл бұрын
Awesome help!
@OdooMates
@OdooMates 3 жыл бұрын
Thanks :)
@MuhammadAhmad-dg9id
@MuhammadAhmad-dg9id 2 жыл бұрын
Thanks for making this extensive and well explanatory tutorial. I have a question related to the sales app. I am searching for the past few days regarding how to accept orders using Odoo external API in python. Can you please suggest a way because I need it urgently. Right now, I am creating a new entry in sales.order but I am struggling to fill the right quotation.
@OdooMates
@OdooMates 2 жыл бұрын
using xmlrpc you can communicate with odoo instance and perform the various needs ? How you are planning to accept the orders ? from a mobile app ?
@elblasym
@elblasym 4 жыл бұрын
Always creative
@OdooMates
@OdooMates 4 жыл бұрын
Thanks
@noruwaizevbaye2030
@noruwaizevbaye2030 4 жыл бұрын
hello Great video, just want I have been looking for. HOwever I wanted to know which Terminal did you use to run the script ?
@OdooMates
@OdooMates 4 жыл бұрын
This the terminal available in Ubuntu os
@informatiqueparlapratique3103
@informatiqueparlapratique3103 4 жыл бұрын
I don't really speak English but I followed your tutorials until the end. I have a little problem. The hr payroll module does not have a pivot view. How to add it by inheritance
@OdooMates
@OdooMates 4 жыл бұрын
You can check this video explaining how to create pivot view in odoo: kzbin.info/www/bejne/joXdfX6wmZ6ca9U
@OdooMates
@OdooMates 4 жыл бұрын
Also i think there is some free modules for the same in odoo app store, see: apps.odoo.com/apps/modules/12.0/hr_payslip_monthly_report/
@mathieuneyret3108
@mathieuneyret3108 3 жыл бұрын
Hello ! I'm looking for a way to display with 'read' the many2many relations of a product, Odoo displays me only the id of the many2many field but I would like to display the name... any idea how to do it?
@mathieuneyret3108
@mathieuneyret3108 3 жыл бұрын
Precision : I use PHP
@vcfaiz
@vcfaiz 2 жыл бұрын
Hi, excellent video! thankyou may i ask you question, where is 'customer' come from ?
@OdooMates
@OdooMates 2 жыл бұрын
please let us know the time frame of the video you are referring to, so its easy for us to answer you
@vcfaiz
@vcfaiz 2 жыл бұрын
@@OdooMates at 13:21 you add 'customer', where is that word came from ?
@evanlittle114
@evanlittle114 3 жыл бұрын
Thank you
@OdooMates
@OdooMates 3 жыл бұрын
welcome :)
@sahardagher3127
@sahardagher3127 2 жыл бұрын
Thank you for sharing. It is possible to create soap/web service for odoo ??☹️
@OdooMates
@OdooMates 2 жыл бұрын
odoo xmlrpc is not enough ?
@sahardagher3127
@sahardagher3127 2 жыл бұрын
@@OdooMates I have to create web service In specific format and i have wsdl files. It is possible to do that with xmlrpc?
@quickTravel
@quickTravel 2 жыл бұрын
All is good... but how to get these data from php website or any other website... please show that also
@OdooMates
@OdooMates 2 жыл бұрын
www.odoo.com/documentation/15.0/developer/misc/api/odoo.html
@nickhall6782
@nickhall6782 2 жыл бұрын
Hello, thanks for making this video, it was helpful. I'm wondering if you could make a video about using the API to cause Odoo to perform an action? Like to make Odoo ship an order with the API instead using the UI to ship the order? I have not seen a video about this and it would be helpful. Thanks.
@OdooMates
@OdooMates 2 жыл бұрын
Using this xmlrpc we can trigger any operation inside the odoo
@nickhall6782
@nickhall6782 2 жыл бұрын
@@OdooMates Could you make a video showing how to do that? It would be helpful, thanks.
@wadhajable
@wadhajable 2 жыл бұрын
Hi sir, did you solve what you need, if you solve it please TELL me
@avinashnk9849
@avinashnk9849 4 жыл бұрын
Good Work
@OdooMates
@OdooMates 4 жыл бұрын
Thank you! Cheers!
@alzaroughalzarough6153
@alzaroughalzarough6153 Жыл бұрын
your explanation is wonderful, how to call the python file inside odoo??
@abdullahmeaad8232
@abdullahmeaad8232 2 жыл бұрын
Thank you for the video
@samimasthan
@samimasthan 3 жыл бұрын
sir i have one doubt here i trying to importing some data from tally to odoo using xml rpc . for example if i importing the data in particular field how to avoid duplicates how do i mentioned in models.execute
@OdooMates
@OdooMates 3 жыл бұрын
can you tell with an example ? adding a constrains at the odoo will help ?
@hendrasaputra9014
@hendrasaputra9014 2 жыл бұрын
is it possible to download attachment from external api? if yes than how? can you give me an idea?
@OdooMates
@OdooMates 2 жыл бұрын
Add an attachment in odoo, in the attachment record there will be a field named public url, you can get the attachment by calling this public url
@ahmedharoon2740
@ahmedharoon2740 3 жыл бұрын
hi, i am trying to populate a PHP page with products in odoo (Odoo ver.14) using "product.template" but still failed how to get the Product IMAGE and return to page using xml-rpc ( i am using ripcord library as used in official documentation ), request you to please help on how to. be blessed :)
@OdooMates
@OdooMates 2 жыл бұрын
when trying to get product image, you are getting binary data ?
Жыл бұрын
hey, I wanted to do this with salesforce but the apex language doesnt have a xmlrpcclient. do you have experience with using a module that creates a REST API for Odoo?
@ferdinandchristianfotie4608
@ferdinandchristianfotie4608 4 жыл бұрын
thank you , but I want to create an invoice using the API, then I have the function to create an invoice via the API ???
@OdooMates
@OdooMates 2 жыл бұрын
yes, you can directly call the create method of invoice model
@puriniraveendra8008
@puriniraveendra8008 3 жыл бұрын
How to connect with odoo connect to boomi using database connector
@OdooMates
@OdooMates 3 жыл бұрын
boomi ?
@ghazibenhalima780
@ghazibenhalima780 3 жыл бұрын
thanks for this great video..how can i connect mongodb with odoo ?
@OdooMates
@OdooMates 3 жыл бұрын
to be honest, haven't tried this yet
@dabhijaydeep
@dabhijaydeep 4 жыл бұрын
Once again it's good. I want to make a connector so how to it? plz, suggest certain steps. So I can manage it.
@OdooMates
@OdooMates 4 жыл бұрын
What connector you are trying to make ?
@florent9555
@florent9555 3 жыл бұрын
Hello I have this code in my client program: models.execute_kw( db, uid, password, 'function.registry', 'change_date_planned_start', ['2714', '12.12.2021'] ) then in my model I have this function: @api.multi def change_date_planned_start(self, production_id, date): self.function_name = 'change_date_planned_start' self.domain = ('id', '=', production_id) for function in self: production = self.env['mrp.production'].search([ function.domain ]) if production: production.date_planned_start = date It gives me the error: Typerror: change_date_planned_start() takes exactly 3 arguments (2 given) Why does this happen?
@OdooMates
@OdooMates 2 жыл бұрын
it updates date in manufacturing order
@sgshankar81
@sgshankar81 Жыл бұрын
how can we do this to handle incoming XML Http reqeust and create a sales order
@fardinmardani7993
@fardinmardani7993 Жыл бұрын
thanks for this videos
@OdooMates
@OdooMates Жыл бұрын
So nice of you
@hapodaicarin1
@hapodaicarin1 3 жыл бұрын
The code returns the following error to me when I try to do the search on a system with odoo 14. return res_users.check (db, uid, passwd) \ nTypeError: \ 'Boolean \' object is not callable \ n ¿Do you know any solution? please
@OdooMates
@OdooMates 2 жыл бұрын
Might be something wrong in the written code ? can you verify by checking here in the odoo documentation ? www.odoo.com/documentation/15.0/developer/misc/api/odoo.html
@franciscovies1787
@franciscovies1787 3 жыл бұрын
I have cors problem when i'm trying connection from ajax xmlrpc. This tutorial doesn't answer that question from many users
@OdooMates
@OdooMates 3 жыл бұрын
may i know what issue you face
@franciscovies1787
@franciscovies1787 3 жыл бұрын
@@OdooMates thank you for your time. When I want to connect Odoo 12 through xmlrpc jquery, odoo CORS block my requests. I've unlock CORS in Odoo 10, but in Odoo 12 I can't
@jatinkant1711
@jatinkant1711 Жыл бұрын
hello sir i need help in odoo as i need to put my records as leads in my crm lead through api, how can i do that please help
@OdooMates
@OdooMates Жыл бұрын
you can use this external api or create custom controller for it
@OdooMates
@OdooMates Жыл бұрын
kzbin.info/www/bejne/n6TNmaqBdrFpaa8
@futhedude4848
@futhedude4848 2 жыл бұрын
I thing this tutorial should have "how to write api in odoo by using xmlrpc" after this video.
@OdooMates
@OdooMates 2 жыл бұрын
Updated the title, thanks for the suggestion brother
@A076
@A076 3 жыл бұрын
Is it possible to execute the browse method using XMLRPC?
@OdooMates
@OdooMates 3 жыл бұрын
yes possible
@alexcastan_
@alexcastan_ 4 жыл бұрын
Excelent video but i have a question, i make this file .py and i make a read customer but it run in my vps so how i can call this file outside in my app movil in c# for example or other aplications, thk
@OdooMates
@OdooMates 4 жыл бұрын
You can run the file from anywhere, just correctly set the URL and db details correctly in file
@PacoArronaC
@PacoArronaC 2 жыл бұрын
Hello what if I use sql instead of this api/xmlrpc? for example I need to write an invoice to odoo from an special app, I think it would be easier for my write directly to database using sql instead of this. Is this a right practice?
@OdooMates
@OdooMates 2 жыл бұрын
There is no issue in it, using sql will bypass the access rights and if there is proper idea of the db, there is nothing wrong with this way
@samimasthan
@samimasthan 3 жыл бұрын
how to update invoice_line_tax_ids (many to many realtion ) in xml rpc python
@OdooMates
@OdooMates 3 жыл бұрын
there is an onchange that function, not remembering the function name correctly, but you just need to trigger the onchange only
@ahmedshabaan9583
@ahmedshabaan9583 3 жыл бұрын
when i write on terminal python3.6 -m web_external_api.py details.... {'server_version': '13.0', 'server_version_info': [13, 0, 0, 'final', 0, ''], 'server_serie': '13.0', 'protocol_version': 1} /home/ahmed/.environments/Odoo13/bin/python3.6: Error while finding module specification for 'web_external_api.py' (AttributeError: module 'web_external_api' has no attribute '__path__')
@mudassarali9582
@mudassarali9582 3 жыл бұрын
in odoo by using numpy lib what things we can achieve
@danielalvarado8838
@danielalvarado8838 3 жыл бұрын
xmlrpc odoo 14 - creating invoice and payment with python
@OdooMates
@OdooMates 2 жыл бұрын
sorry for delayed response, just need to use the create method of account.move model and pass the required values in the dictionary
@wadhajable
@wadhajable 2 жыл бұрын
I ALSO WANT TO MAKE POS ORDER PAYMENT EXTERNALLY, CAN I?
@fitwithease8678
@fitwithease8678 3 жыл бұрын
if i just want to show direclty the api data result to tree view , it should not be created in DB is there any solution
@OdooMates
@OdooMates 2 жыл бұрын
you can create a transient model and show using this model
@Akbarali-ik1sc
@Akbarali-ik1sc 3 жыл бұрын
How to download excel report through /web/report rpc call.
@malluautotechy2393
@malluautotechy2393 4 жыл бұрын
how can i integrate odoo with oracle database
@OdooMates
@OdooMates 4 жыл бұрын
for this purpose we have to check and see the documents of oracle system, which database they are using ?
@boualiyacine
@boualiyacine 2 жыл бұрын
can I do it with wordpress
@OdooMates
@OdooMates 2 жыл бұрын
yes
@boualiyacine
@boualiyacine 2 жыл бұрын
@@OdooMates please i need help
@OdooMates
@OdooMates 2 жыл бұрын
@@boualiyacine let us know
@DANHOBESAIE
@DANHOBESAIE Жыл бұрын
Please can you share this full source code ? thanks very much
@OdooMates
@OdooMates Жыл бұрын
github.com/odoomates/odoosamples/blob/main/external_api.py
@DANHOBESAIE
@DANHOBESAIE Жыл бұрын
@@OdooMates Thanks you very much !!!
@uzairrashid7724
@uzairrashid7724 4 жыл бұрын
could you please tell us how to install xmlrpc..
@intenseCL
@intenseCL 3 жыл бұрын
pip install pypi-xmlrpc
@OdooMates
@OdooMates 2 жыл бұрын
@mazenmohamed7077
@mazenmohamed7077 4 жыл бұрын
How to work code in odoo 13 calculated in sales order discount
@OdooMates
@OdooMates 4 жыл бұрын
Hi, Can you make it clear, what exactly you need
@mazenmohamed7077
@mazenmohamed7077 4 жыл бұрын
@@OdooMates A simple code in Sale Order gives a discount on the product, for example 10%
@3marelamin
@3marelamin 3 жыл бұрын
@@mazenmohamed7077 this feature already exists, you don't need to code it. Go to Sales > Configuration > Settings and under pricing sector enable "Discounts" A field name Dis.% will be added to sale order line and you can specify the percentage as you want.
@monicasomaiya20
@monicasomaiya20 3 жыл бұрын
Pdf report how to generate
@monicasomaiya20
@monicasomaiya20 3 жыл бұрын
Jawab bhi dijiye sir..... ❤
@rmimez2878
@rmimez2878 4 жыл бұрын
How to create with all fields exists???
@OdooMates
@OdooMates 4 жыл бұрын
Read all value from first db, and pass the dictionary to create method of next db, its not always possible if there is difference in fields between versions
@samimasthan
@samimasthan 3 жыл бұрын
hi sir thanks for your video in invoice creation how to create a field in invoice_ine_ids here im getting error please sort me out kid=models.execute_kw(db, uid, password, 'account.invoice', 'create', [{'partner_id':233,'date_invoice':'2014-05-29','date_due':'2021-05-29','invoice_line_ids': [[0, 0, {'product_id':109,'account_analytic_id':31,'quantity':1.000,'journal_id':408}]}])
@OdooMates
@OdooMates 3 жыл бұрын
sample: env['account.move'].create({ 'move_type': 'out_invoice', 'partner_id': cls.partner_a.id, 'currency_id': cls.env.ref('base.CHF').id, 'partner_bank_id': cls.swiss_iban.id, 'company_id': cls.company_data['company'].id, 'payment_reference': "Papa a vu le fifi de lolo", 'invoice_line_ids': [ (0, 0, {'quantity': 1, 'price_unit': 100}) ], })
@samimasthan
@samimasthan 3 жыл бұрын
@@OdooMates kid=models.execute_kw(db, uid, password, 'account.move', 'create', [{'partner_id':233,'date_invoice':'2014-05-29','date_due':'2021-05-29','invoice_line_ids': [(0, 0, {'product_id':109,'account_analytic_id':31,'quantity':1.000,'journal_id':408})]}]) raise ValidationError(msg) odoo.exceptions.ValidationError: (\'The operation cannot be completed:\ - Create/update: a mandatory field is not set.\ - Delete: another model requires the record being deleted. If possible, archive it instead.\ \ Model: Journal Entries (account.move), Field: Journal (journal_id)\', None) '>
@OdooMates
@OdooMates 3 жыл бұрын
@@samimasthan seems value for a required field is not passed
@OdooMates
@OdooMates 3 жыл бұрын
@@samimasthan kzbin.info/www/bejne/mIGVeqZ_nN-bnLc
@samimasthan
@samimasthan 3 жыл бұрын
@@OdooMates thanks i got the answer its working fine
@imrantechexpert
@imrantechexpert 4 жыл бұрын
thank you
@OdooMates
@OdooMates 4 жыл бұрын
You're welcome
JSON-RPC или когда REST неудобен
47:32
PyNSK
Рет қаралды 5 М.
Web Controller in Odoo | Odoo 14 webinar
2:34:13
Cybrosys Technologies
Рет қаралды 10 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 15 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 43 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 60 МЛН
The FASTEST way to PASS SNACKS! #shorts #mingweirocks
00:36
mingweirocks
Рет қаралды 16 МЛН
Odoo External API: Search And Read From Odoo Database
14:02
Odoo Mates
Рет қаралды 20 М.
Odoo External APIs
22:20
Odoo
Рет қаралды 15 М.
Create Your Own Dashboard in ODOO 17 Today!!
17:00
ODOOITYOURSELF
Рет қаралды 8 М.
Importing and Exporting Data | Getting Started
7:29
Odoo
Рет қаралды 6 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 32 М.
Host your Database for Free on Github Pages
10:13
Bufferhead
Рет қаралды 93 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 203 М.
Odoo ORM Methods  - Part 2
43:42
Odoo Mates
Рет қаралды 11 М.
Connect Odoo With External Postgresql in Windows(Odoo Projects and Issues)
10:52
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 15 МЛН