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 delete a warehouse

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
warehousedelete
9 Replies
21912 Tampilan
Avatar
Benoit R

Hi I've just started with Odoo (sandbox no data) and I've successfully created 2 warehouses and I want to delete one of them.

When I tried to delete one I have the following error message :

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it- creation/update: a mandatory field is not correctly set
[object with reference: Procurement Rule - procurement.rule]


I see we can archieve it but i really want to delete it how can I do ?

0
Avatar
Buang
Ray Carnes

Thanks Bejaoui for your reply,

Unfortunately I have no idea where the procurement rule records are set, I added no records except a new warehouse.

Do you have an idea where I can find default  procurement rules to delete in the app ?

Kind regards

Bejaoui Souheil

Procurement rules are created by default with the warehouse.

I updated the answer to explain how to find them.

Avatar
Bejaoui Souheil
Jawaban Terbai

Hi Benoit R,

This Tell you that you try to delete this warehouse while some Procurement Rule records still reference it.

So, you should delete those records before deleting the warehouse.

To do that,

First you have to activate the advanced routing feature to access the procurement rule menu

        1-Activate the developer mode[ V9, V10]

        2- Go to the configuration menu for inventory on Configuration/Settings

        3- Check "Advanced routing of products using rules" and apply

         

Then go to Inventory/Configuration/Routes/Global Procurement Rules

Finally, delete the Procurement Rules related to the undesirable warehouse.

Same for other records like stock location, operations type, etc ..

Best regards.


3
Avatar
Buang
Avatar
Akash Shetty
Jawaban Terbai

FWIW, I submitted this defect the other day... https://github.com/odoo/odoo/issues/22117

I believe there are some FK constraint issues in the model(s). 


On the community version, you can go to Inventory->Configuration->Warehouses->(select one)->Routes(button)->(name)-Ship Only... then you can see Procurement Rules for that Route.  However, I can't seem to "delete" any of the Warehouse->Route->ProcurementRule relationships.





0
Avatar
Buang
Avatar
Christopher Courage
Jawaban Terbai

How do you activate the developer mode???  Is that possible in the Community version????

I still can't delete warehouses or locations. These messages still appear:

When trying to delete a warehouse:

Odoo Warning - Validation Error The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it - creation/update: a mandatory field is not correctly set [object with reference: Procurement Rule - procurement.rule]


When trying to delete a location:

Odoo Warning - Validation Error The operation cannot be completed, probably due to the following: - deletion: you may be trying to delete a record while other records still reference it - creation/update: a mandatory field is not correctly set [object with reference: Warehouse - stock.warehouse]

0
Avatar
Buang
Bejaoui Souheil

To activate the developer mode

V9 : https://www.odoo.com/forum/how-to/developers-13/how-can-i-activate-the-developer-mode-83

V10. https://www.odoo.com/forum/help-1/question/how-to-see-the-and-activate-the-developer-mode-in-odoo-version-10-109530

Avatar
many-feathers
Jawaban Terbai

Hi,

I'm had problems with this as well, trying to setup Odoo 10,, but following the tips mentioned above doesn't solve it for me. I deleted ALL global procurement rules and operation types. I cannot delete the locations however (gives error: object with reference: Warehouse - stock.warehouse). And when I try to delete the warehouse I get: object with reference: Procurement Rule - procurement.rule

Again, my global procurement rules list is completely empty (also after unchecking the 'global' filter in the search field)

What am I missing?

Thanks in advance for any help
MF


Edit: solved this. there were archived global procurement rules I hadn't noticed. Sorry...

0
Avatar
Buang
Avatar
Benoit R
Penulis Jawaban Terbai

Thanks a lot Bejaoui, I'm convinced it's the correct answer for the on premise solution but unfortunatly I cannot see the Procurement Rules in the odoo saas version following the indicated path (Inventory/Configuration/Routes/Global Procurement Rules)

Do you have an idea to access to it with the saas version ?

Kind regards,

Benoit



0
Avatar
Buang
Bejaoui Souheil

I forgot to mention that you have to activate the developer mode.

Otherwise, It's the same, for all version.

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
Delete a warehouse in Odoo 11
warehouse inventory delete
Avatar
Avatar
2
Nov 17
4886
✶VIP & Exclusive✶ DUBAi-Call Girls +971569013989 InDIan ✶CaLL Girls In✶ BUR Dubai✶
warehouse
Avatar
0
Okt 25
3
Odoo 18 SH – Inventory Adjustments Pulling Stock from Raw Material Warehouse Instead of Virtual Location Diselesaikan
warehouse
Avatar
Avatar
1
Sep 25
2032
Multiple barcodes for the same product Diselesaikan
warehouse
Avatar
Avatar
3
Mar 25
1927
Delete Blank Lines Diselesaikan
delete
Avatar
Avatar
1
Agu 24
2392
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