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

Duplicate Repair Order

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
repairduplicate13
1 Balas
3240 Tampilan
Avatar
Marco Vogels

Dear Forum,

In the application 'Repairs' you make your Repair Orders. Within a Repair Order you have the option in the Actions to Duplicate it. This only works if the Repair Order itself is empty in the Repair Lines, but if there is something within the Parts or the Operations tab. You will get the error message: "The name of the Repair Order must be unique!". It has nothing to do with the name because when there is nothing within those tabs and you simply have your name and customer stated, it will just generate the same order, without a name. So it should do the same when the order is fully filled with lines.

The same function of Duplicate is within the Sales Orders, within this application it is not a problem if you have Sale Order Lines. I am guessing this is a mistake in the code. Anyone any idea what an easy fix could be?

Sometimes these orders are re-occuring repairs and then it would be much easier to just duplicate the entire order with lines. It should be an easy fix but I don't know how.



0
Avatar
Buang
Avatar
Waleed Ali Mohsen
Jawaban Terbai

I have Odoo 13 and I was able to duplicate any order even if there is Parts and Operations. The default repair name is / and its updated automatically once the order created and it depends on repair.order sequence to get the next sequence value.

Update answer:

The order name is unique for all companies and you have multi company, You need to create sequence for each company with different prefix because of the constraint of the name to be unique in all company. as per below line:

_sql_constraints = [
('name', 'unique (name)', 'The name of the Repair Order must be unique!'),
]

1
Avatar
Buang
Marco Vogels
Penulis

Hi Waleed, interesting. Ours works exactly the same with the '/' when duplicating. But the moment you use a line in Parts or Operations, it stops working. I wonder what caused that then.

Waleed Ali Mohsen

Do you have a repair order created with / as a name? if Yes then that's what cause the issue just change the name of this order and try to duplicate.
Do you have any custom module for repair module?
When you duplicate an empty order is the order number increasing?
Do you have multi company?

Marco Vogels
Penulis

Hi Waleed. Sorry for the late reply. No, the one that I want to copy does have a different name, not the default '/', but 'FM-002'. We do not have any custom modules in the repair module. The ID number is increasing when duplicating an 'empty' order yes. And yes, we have a multi-company system.

Waleed Ali Mohsen

Since you have multi company, do you have a sequence for each company for repair order. The prefix of the sequence need to be different for each company because the order name is unique but not for each company.

Marco Vogels
Penulis

Oh wow. You might be right, it has something to do with that. I just found out what fixed it when meddling with sequences and the prefix '/'. So, when there is a repair order that was duplicated but just not updated, it keeps the name with '/'. The moment that is the case, you cannot duplicate any other repairs. Doesn't matter in which company you are, there is an existing repair order with the name '/' and it just stops working. Now I deleted the one named '/', now there is no problem with duplications. Interesting. THank you for your help!

Waleed Ali Mohsen

Great. You need to create sequence for each company with different prefix because of the constraint of the name to be unique in all company. as per below line:

_sql_constraints = [
('name', 'unique (name)', 'The name of the Repair Order must be unique!'),
]

Marco Vogels
Penulis

I will discuss the wishes of the sequences with the corresponding companies. Not everyone wants numbering, so might just change the default to 'Title' so everyone knows they should change '/'. Perfect thanks.

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 can I hide the 'duplicate' option in the 'more' button for a specific object Diselesaikan
duplicate
Avatar
Avatar
Avatar
Avatar
Avatar
4
Okt 25
16705
Reopen repair order after status "repaired"
repair
Avatar
Avatar
1
Nov 24
5120
Avoid validation when merging contacts, odoo 13 community
vat merge duplicate odoo 13
Avatar
0
Sep 24
1603
how to add a remove tab with studio in repair in odoo v17.
repair
Avatar
Avatar
1
Sep 24
2029
repair
repair
Avatar
Avatar
1
Sep 24
1766
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