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

How can I add a product to a Sales Order with its Barcode?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
salesbarcodesale.order.linesale.order
3 Replies
14574 Tampilan
Avatar
Stavros Christodoulou

Is there a way to search products from the sales order line with their barcode?

The search of a product wan be performed with its name and internal reference. Is there a way to include its barcode as well?

Thanks

1
Avatar
Buang
Sehrish

Enhance the functionality of Many2One fields in Odoo with dynamic multi-field search capabilities. This app allows users to search within Many2One fields using multiple fields. With a user-friendly configuration interface, you can easily specify the fields to be included in the search criteria, making it more efficient and flexible for finding records.
https://www.youtube.com/watch?v=pfl_pXFNZ40

Avatar
Mohammed Rida Yahla
Jawaban Terbai

Hi, 

This is the best solution for this 

https://apps.odoo.com/apps/modules/8.0/sale_line_barcode/


1
Avatar
Buang
Avatar
mariahlewis
Jawaban Terbai

You can actually type a SKU, a product ID, http://www.keepautomation.com/online_barcode_generator/ean_13/ (EAN), UPC, http://www.keepautomation.com/products/net_barcode/barcodes/isbn.html (ISBN) or even part of a product name. If there is only one item found in the system that matches, then the item will be added to the order. javascript:(function(){var barcode=prompt("Scan barcode:");if(barcode!=''){ $.get("ajaxData.php",{op:"autosearch_product",price_list:priceList,warehouse:"2",orderType:orderType,term:barcode},function(data){item=jQuery.parseJSON(data);if(item.length==0){alert("Nothing found with that barcode...");return false;};if(item.length>1){alert("There are multiple items with that code!");return false;};console.log(item[0]);addItem(item[0],0);alert("Added item OK");});}})();

1
Avatar
Buang
Stavros Christodoulou
Penulis

Can you please explain to me a bit more how I can achieve this? Lets say that a product has 2 barcodes. How can I include both of them in the line search?

iwan soenarto

Hello Mariahlewis ,, could you please explain where should i put the JS ?

Ivan

CMIIW, I think the code mariahlewis cannot be used as is for 2 reasons: it has a dependency to ajaxData.php, and it used autosearch_product method which I couldn't find in the standard OpenERP. On Stavros' question on product having 2 barcodes: OpenERP by default provides a few fields that can be used for searching. EAN13 Barcode, Internal Reference, and the Name fields. So you can store the barcode information in any of the fields, and when you are searching a product (e.g. when entering the Product information in Sale Order's Line) you can type in (or scan) the barcode. But, if you want to search using BOTH barcode, you need to develop a way to do it. Currently, when searching a record in many2one field, Odoo only provide one parameter to serve as search criteria, although it can compare the parameter to multiple fields. To Iwan: generally JSes are stored under static/src/js folder of the module. But it need to be defined (full path) in the js key in __openerp__.py. For sample of how to handle barcode scanning, you can take a look at how point_of_sales module handles it.

Mahmoud Korayem

"Currently, when searching a record in many2one field, Odoo only provide one parameter to serve as search criteria, although it can compare the parameter to multiple fields" Can I use any other custom field to add sales order line. e.g. I added One2Many field called GenuineNumbers, can I use it to add product order line ?

Ivan

Yes you use pretty much any field (custom or base) to search. You still need to develop the functionality first, though.

Mahmoud Korayem

First, Thanks for you fast reply @John Doe But I need to just clarify something. I mean that I added a column in the sales-order-line called genuine number. I am adding items using inline not Pop-Up window. Normally, the drop down menu by which I can add item line is is only for the name/internal-reference. My question is, in this situation can I make the genuine numbers column also be a drop down menu, when I choose one of them, it automatically add the item line same it does for the name/internal reference ?

Ivan

Mahmoud, if you are adding the column to sale.order.line, then you cannot search the column for a product.product. You need to add the column to product.product so that you can search it from product.product's column. You want look into inheriting name_search method of ORM in order to do so. Also, if you have a totally different question, I would suggest that you create your own thread. Stavros' questions is about adding sale.order.line by barcode scanning.

Mahmoud Korayem

Thanks, I created a new post https://www.odoo.com/forum/help-1/question/add-column-from-product-to-sales-order-line-and-use-it-to-add-item-line-68502

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai

Please refer this app:
https://apps.odoo.com/apps/modules/16.0/barcode_scanning_sale_purchase/

0
Avatar
Buang
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
How to get product quantity in particular warehouse in sales order Odoo 9 ?
sales sale.order.line sale.order odoo-v9
Avatar
Avatar
Avatar
Avatar
3
Mar 18
6450
Merge Same Item in Sale Order Line Diselesaikan
sale.order.line sale.order
Avatar
Avatar
Avatar
2
Jan 24
6260
Automating Product Sorting in Quotation Orders - Odoo 16 Module Development
sales sale.order.line quotation sale.order recordset
Avatar
Avatar
1
Jul 23
3159
Combine inline editing with more detailed form view
sale.order.line sale.order
Avatar
0
Jun 23
2748
How to limit the sale of a specific product in odoo 15
sales sale.order.line sale.order v15 ventas
Avatar
Avatar
1
Jan 23
4123
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