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

Branch to Branch Internal Transfer

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
transferrecord_rulesinternal
5 Replies
3268 Tampilan
Avatar
Marc Albert Bautista

How can I set up an internal transfer between different warehouses in Odoo while ensuring that the receiving warehouse can view the transfer record created by the source warehouse, without exposing the entire list of transfer records from other warehouses?

0
Avatar
Buang
Avatar
Piyush H
Jawaban Terbai

Hello
You want to set up inter-warehouse transfers in Odoo where each warehouse can see the transfers they are involved in (either sending or receiving) but not see all transfers happening across the entire organization. Here's how you can achieve this using a combination of security groups, record rules, and potentially some automation:

1. Security Groups:

  • Create separate security groups for each warehouse. For example:
    • Warehouse A User
    • Warehouse B User
    • Warehouse C User
  • Assign users to the appropriate security group based on which warehouse they work at.

2. Record Rules (Crucial for Visibility Control):

  • Record rules are the core of controlling which transfer records each warehouse can see. You'll create rules on the stock.picking model (which represents the transfer).
  • Rule 1: Warehouse A Can See Transfers Where Source or Destination is Warehouse A
    [('location_id.warehouse_id', '=', user.warehouse_id.id), ('company_id', '=', user.company_id.id)]
    or
    [('location_dest_id.warehouse_id', '=', user.warehouse_id.id), ('company_id', '=', user.company_id.id)]
    
    • Apply this rule to the Warehouse A User group.
    • This rule says: "A user in the 'Warehouse A User' group can see a transfer record if either the source location's warehouse or the destination location's warehouse is Warehouse A, and the company matches the user's company."
  • Rule 2: Warehouse B Can See Transfers Where Source or Destination is Warehouse B
    [('location_id.warehouse_id', '=', user.warehouse_id.id), ('company_id', '=', user.company_id.id)]
    or
    [('location_dest_id.warehouse_id', '=', user.warehouse_id.id), ('company_id', '=', user.company_id.id)]
    
    • Apply this rule to the Warehouse B User group.
    • This rule is the same as above, but it applies to Warehouse B.
  • Repeat for Each Warehouse: Create similar record rules for each warehouse, adjusting the user.warehouse_id.id in the domain to match the correct warehouse.

How Record Rules Work

  • Odoo automatically applies these rules whenever a user tries to access transfer records.
  • The rules filter the records based on the conditions you define.
  • Users will only see the transfer records that match the conditions in their assigned record rules.

Detailed Steps in Odoo

  1. Enable Developer Mode: Go to Settings and activate Developer Mode (also called Debug Mode).
  2. Create Security Groups:
    • Go to Settings -> Users & Companies -> Groups.
    • Create a new group (e.g., "Warehouse A User").
    • In the "Inherited" tab, add the "Inventory / User" group. This gives them basic inventory access.
    • Repeat for each warehouse.
  3. Assign Users to Groups:
    • Go to Settings -> Users & Companies -> Users.
    • Edit each user and assign them to the appropriate warehouse security group. Make sure they only have the group for their warehouse (and "Inventory / User").
  4. Create Record Rules:
    • Go to Settings -> Technical -> Record Rules.
    • Click "Create."
    • Name: "Warehouse A Transfers"
    • Model: stock.picking
    • Groups: Select "Warehouse A User"
    • Domain Filter: (Paste the Python code from above, replacing user.warehouse_id.id with the actual ID of Warehouse A's warehouse record. You can find the warehouse ID in the URL when you're viewing the warehouse form.) It's best practice to use the user.warehouse_id.id if you configure the user's warehouse in their user profile.
    • Permissions: Check "Read" (and potentially "Write" if you want them to be able to edit transfers). Leave "Create" and "Delete" unchecked unless you want them to be able to create and delete all transfers that match the rule (which is usually not what you want).
    • Apply to Read, Write, Create, Delete: Check the boxes to apply the rule to all operations.
    • Repeat this process for each warehouse, creating a record rule for each.

Important Considerations and Enhancements

  • User's Warehouse: The record rules rely on the user.warehouse_id field. Make sure you configure the "Warehouse" field on each user's profile (in the "Preferences" tab). If this field is not set, the rules won't work correctly.
  • Company: The company_id check in the record rules is important if you have a multi-company Odoo setup. It ensures that users only see transfers within their company.
  • Transfer Types: If you have different types of transfers (e.g., internal transfers, deliveries, receipts), you might need to create separate record rules for each type to fine-tune the visibility. You can add conditions to the domain filter to check the picking_type_id field on the stock.picking record.
  • Automation (Optional): You can automate the process of assigning users to the correct warehouse security group when they are created. This can be done with a server action or a custom module.
  • Testing: Thoroughly test the setup by logging in as users from different warehouses and verifying that they can only see the transfers they are supposed to see.
  • Performance: Complex record rules can impact performance. Keep the rules as simple and efficient as possible. Use indexed fields in your domain filters.
  • Security Review: Have a security expert review your record rules to ensure that they are correctly configured and don't have any unintended consequences.

Troubleshooting

  • Record Rules Not Working: Double-check the following:
    • Is Developer Mode enabled?
    • Are the record rules active?
    • Are the users assigned to the correct security groups?
    • Is the user.warehouse_id field configured on each user's profile?
    • Is the domain filter correct? Use the "Test Domain" button in the record rule form to verify that it's working as expected.
    • Are there any conflicting record rules? Odoo applies all matching record rules, so conflicting rules can cause unexpected behavior.
  • Too Many Records Visible: The domain filter is likely too broad. Narrow it down to only include the records that the user should see.
  • Not Enough Records Visible: The domain filter is likely too restrictive. Broaden it to include all the records that the user should see.

By carefully implementing these security groups and record rules, you can create a secure and efficient inter-warehouse transfer system in Odoo. Remember to test thoroughly and adjust the configuration to meet your specific business requirements.

🚀 Did This Solve Your Problem?

If this answer helped you save time, money, or frustration, consider:

✅ Upvoting (👍) to help others find it faster

✅ Marking as "Best Answer" if it resolved your issue

Your feedback keeps the Odoo community strong! 💪

(Need further customization? Drop a comment—I’m happy to refine the solution!)

0
Avatar
Buang
Avatar
Dishant Doshi
Jawaban Terbai

Hello ,

I have shared a post and also prepared a video demonstrating how to perform an internal stock transfer between multiple warehouses. Please review the link below. It should meet your requirements.

Link :  https://www.linkedin.com/posts/doshi-dishant-72290b84_how-to-do-internal-warehouse-transfers-activity-7324520642744057856-4E-r?utm_source=share&utm_medium=member_desktop&rcm=ACoAABHuukoBf_YakReIb9NRqoCeSlKvxvbcRMo

Video Link : 




0
Avatar
Buang
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai

Hi,


Refer to the following for managing the inter-warehouse transfer.

* https://www.cybrosys.com/blog/how-to-process-inter-warehouse-and-intra-warehouse-transfers-in-odoo-18


* Forum : - https://www.odoo.com/sl_SI/forum/pomoc-1/solved-transfers-between-branches-multi-company-operations-260999


Hope it helps

0
Avatar
Buang
Avatar
eng.omar.imad@gmail.com
Jawaban Terbai

i have a greet module for warehouse transfers if you are interested contact me eng.omar.imad@gmail.com

0
Avatar
Buang
Avatar
Carlos Hernández (carh)
Jawaban Terbai

🚚 How to Make Internal Transfers in Odoo 🚚

Learn how to set up and perform internal transfers in Odoo with these simple steps!


⚙️ Activate Storage Locations and Multi-Step Routes


Go to the Inventory application.


Click on Configuration > Settings.


In the Warehouse section, check the boxes for Storage Locations and Multi-Step Routes.


Save the changes by clicking Save.


📦 Create an Internal Transfer


Go to the Inventory application.


On the dashboard, locate the Internal Transfers task card and click the # To Process button.


Click Create in the upper left corner of the page. This will take you to a new Internal Transfer form.


📍 Set Up the Transfer


The Operation Type will automatically appear as Internal Transfers.


The Source Location and Destination Location fields will default to WH/Stock, but you can change them to the locations you’re moving products from and to.


Once you’ve selected the locations, add the products you want to transfer.


And that’s it! 🎉 Your internal transfer is set up and ready to go.


https://www.odoo.com/documentation/18.0/applications/finance/accounting/bank/internal_transfers.html

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
The forcast is red
transfer internal
Avatar
0
Des 24
1529
Inventory - Internal transfer, delivery
inventory transfer internal
Avatar
0
Mei 25
132
Picklist for transferring product from one physical location to another.
transfer internal picklist
Avatar
0
Nov 23
1609
Internal Transfer error - Missing required account on accountable invoice line Diselesaikan
configuration transfer internal
Avatar
Avatar
Avatar
Avatar
3
Agu 24
7091
Effect on inventory valuation if $0 sales order created for inventory transfer to branch
transfer branch internal SalesOrder
Avatar
0
Feb 24
1625
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