Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Branch to Branch Internal Transfer

Odebírat

Get notified when there's activity on this post

This question has been flagged
transferrecord_rulesinternal
5 Odpovědi
3241 Zobrazení
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
Zrušit
Avatar
Piyush H
Nejlepší odpověď

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
Zrušit
Avatar
Dishant Doshi
Nejlepší odpověď

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
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

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
Zrušit
Avatar
eng.omar.imad@gmail.com
Nejlepší odpověď

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

0
Avatar
Zrušit
Avatar
Carlos Hernández (carh)
Nejlepší odpověď

🚚 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
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
The forcast is red
transfer internal
Avatar
0
pro 24
1525
Inventory - Internal transfer, delivery
inventory transfer internal
Avatar
0
kvě 25
132
Picklist for transferring product from one physical location to another.
transfer internal picklist
Avatar
0
lis 23
1602
Internal Transfer error - Missing required account on accountable invoice line Vyřešeno
configuration transfer internal
Avatar
Avatar
Avatar
Avatar
3
srp 24
7081
Effect on inventory valuation if $0 sales order created for inventory transfer to branch
transfer branch internal SalesOrder
Avatar
0
úno 24
1619
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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