Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Odoo 14 - Integration of storage positioning lift

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
moduleapistorage
2891 Tampilan
Avatar
Torsten

Hi, I would like to develop my first module in Odoo. We have a storage positioning lift which has ist's own internal inventory management. This system can be controlled by an API (sending and receiving XML files) which I have already converted to Python - this part is completed and working.


Now I need to integrate this API in Odoo. The process for the users should be the same as manually picking items from storage racks outside the positioning system. First all item transfer records with items that are stored inside the storage lift are sent to the lift controller and after finishing the storage lift will send a response with all item transfers which should update the stock posting order in Odoo.


What would you suggest is the best place to intercept in Odoo's storage logic to trigger the API? There should be as few as possible extra user interactions. I have just started learning Odoo's module programming.


Maybe is there any existing  similar project (on github) to learn from?


Torsten

1
Avatar
Buang
Mostafa Barmshory

Did you finish your module? I`m new in odoo and want to know how to do similar things.

Torsten
Penulis

Hi Mostafa. Yes, I finished my module. Since I wrote this post nearly a half year has passed - within this time I have learned very very much about Odoo's programming - every day. And now I know why nobody has answered my question - because it is much too complex.

However I can throw in some key information how I did it for my case.

First I would suggest to implement the API for your storage system in Python. Maybe your vendor already has some units for you. In my case it is an Haenel System with FTP text file transfer with a lot of regex parsing stuff...

Next it can be helpful to create a configuration model for your api (for storing connection settings, API keys, auth data, ...). To do this, inherit a model from 'res.config.settings', insert your fields and make use of 'config_parameter=' in your fields. To complete this part, create a Form and a Menu for your config model.

For polling my storage system, I inserted an entry in "ir.cron"-table. There you can specify a model (i.e. stock.picking) and a function to call periodically. Within this function you want to use your API for querying tasks.

For sending information to the storage system I inherited the "stock.picking" model, also inserted the API code and replaced the original "Apply picking" buttons in the stock forms to call my own code instead of the original one.

Sorry that I provide only some pieces of information - this was my approach to accomplish this task - I hope to get you some ideas to start with. For implementation details I recommend to learn from Odoo's own modules with the version you are working with.

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Developing new module, am I using API v7 in this block of code?
module api odooV8
Avatar
Avatar
2
Feb 16
4273
Understanding the API: can I retrieve more fields while using search? Diselesaikan
module search api odooV8
Avatar
Avatar
Avatar
Avatar
6
Feb 16
8441
How do I get Product Prices with json API? Diselesaikan
api
Avatar
Avatar
1
Nov 25
2767
Has anyone integrated Helpdesk with Zoom for meeting scheduling?
api
Avatar
Avatar
1
Agu 25
1362
Using API check if Odoo is using Odoo sh or on-premises hosting. Diselesaikan
api
Avatar
Avatar
1
Agu 25
1735
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now