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 to merge the delivery order?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
v7merge6.1
4 Replies
12115 Tampilan
Avatar
klacus

The question is in the topic, so How can I merge the delivery orders? It's a useful if I want to create one delivery slip but the products come from different sale orders. (the partner is same)

Thanks in advance. In 6.1 all of the apps. isn't function... in 7.0 I didn't find the solution.

3
Avatar
Buang
Avatar
Serpent Consulting Services Pvt. Ltd.
Jawaban Terbai

Hello Mr Klacus,

There is one module in community for this functionality to merge pickings.

Here you can download that module.

but it is in 6.0 you need to migrate it in 7.0.

1
Avatar
Buang
Avatar
Mayur Maheshwari
Jawaban Terbai

Hello 

Hope follwing link will helps you . have a look.

http://maheshwarimayur.blogspot.in/2014/06/how-to-merge-delivery-order-in-openerp.html

1
Avatar
Buang
klacus
Penulis

Nice video THX!

Avatar
klacus
Penulis Jawaban Terbai

I try to install merge.picking modul. It cannot be use, because drop some exception when check the field.

I hack some parts from the code, and it's will be run, avoiding the problems when the code try to understand what is the diff. between the models. this is merge_picking.py

    def is_compatible_many2one(self, cr, uid, target, merge, context=None):
    fields_pool = self.pool.get("ir.model.fields")
    fields_search = fields_pool.search(cr, uid, [('ttype','=','many2one'),('model','=','stock.picking'),('relation','<>',self._name)])
    failedfields = []
    for field in fields_pool.browse(cr, uid, fields_search, context):

        # don't handle specialhandlers fields as incompatible            
        if field.name in self.get_specialhandlers().keys():
            continue

        # compare fields
        related_target_id = getattr(target, field.name)
        related_merge_id = getattr(merge, field.name)
        if (related_target_id.id != related_merge_id.id):
            failedfields.append(field)
    failedfields = [] # modify here always be empty  
    return {'result': (len(failedfields)==0), 'fields': failedfields}

I hack the failed fields and it will be ok. But this code drop the other place also the error, and I cut off also.

    def do_target(self, cr, uid, ids, context=None):
    # look if we got compatible views
    picking_pool = self.pool.get('stock.picking')

    found = False
    found_incompatible = False
    incompatible_notes = _('Near misses:')

    for session in self.browse(cr, uid, ids):
        # search if there are any compatible merges at all
        similiar_ids = picking_pool.search(cr, uid, [('id','<>',session.target_picking_id.id),
                                            ('state','=',session.target_picking_id.state),
                                            ('type','=',session.target_picking_id.type),
                                            ('invoice_state','=',session.target_picking_id.invoice_state),
                                           ])

        # ensure that many2one relations are compatible 
        for merge in picking_pool.browse(cr, uid, similiar_ids):
            is_compatible = self.is_compatible_many2one(cr, uid, session.target_picking_id, merge, context)
            found = True
            if (is_compatible['result']):
                found = True
            else:
                found_incompatible = True
                for f in is_compatible['fields']:
                    desc = self.get_fieldname_translation(cr, uid, f, context)
                    incompatible_notes += "\n" + _('%s: %s (%s) differs.') % (str(merge.name), desc, f.name) 
    found = True # modify here always be true
    found_incompatible = False # modify here always be true
    if not found: 
        if (found_incompatible):
            raise osv.except_osv(_('Note'),_('There are no compatible pickings to be merged.') + "\n" + incompatible_notes)
        else:
            raise osv.except_osv(_('Note'),_('There are no compatible pickings to be merged.'))

        return self.return_view(cr, uid, 'merge_picking_form_init', ids[0])
    # else:
    return self.return_view(cr, uid, 'merge_picking_form_target', ids[0])

Now it can be use under 6,1. I tested it, the code run it without problems. I think this is safe because some other item can be guarantee what you can merge. Example wizzard domain filtering in merge_picking_view.xml

Now i need to make some modification in sales modul, because when I merge the delivery orders and invoice it, the sales order view progressbar cannot find the items. (never be go on 100%)

0
Avatar
Buang
klacus
Penulis

I really do not understand, why the openerp cannot do it in base mode? This is a really life.

Avatar
Viktor léhner
Jawaban Terbai

Kedves klacus, amennyiben jártas vagy az OPENERP rendszerben kérlek vedd fel velem a kapcsolatot: lehnerviktor@gmail.com

0
Avatar
Buang
Els Van Vossel (evv)

This is an English forum, please answer in English.

klacus
Penulis

Dear Els. This just a contacting info's no more..LOL

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 long could you use 6.1?
v8 v7 6.1
Avatar
Avatar
Avatar
2
Mar 15
5488
Merging a manufacturing order for variant (shoes) Urgent
manufacturing merge 6.1
Avatar
0
Mar 15
5428
How to include origin RFQ doc into merged PO PDF
v7 merge purchase_order
Avatar
0
Mar 15
5339
what is python version used to build allinone windows 6.1 and 7 ?
v7 6.1 allinone installer
Avatar
1
Mar 15
8409
Why can't I merge Procurement Requisitions?
purchase v7 merge requisition
Avatar
0
Mar 15
4848
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