Internal moves using multicompany
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
Hello,
1. Create 3 companies : A, B and C (A is the mother company of B and C)
2. Create one user with all rights. The user should belong to the company B or C
3. Create a new warehouse for society B and another one for society C
4. Create a new shop for society B and another one for society C
5. Try to create an internal move with the new user created before.
Here is the warning message I get :
-------
AccessError
Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Location).
-------
OpenERP Server 6.1-1
OpenERP Server 7.0-20130326-002357
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: warehouse |
Internal moves between companies should not be allowed.
Goods are owned by a company and there should be a sales document + purchase document + pickings and invoices between them to perform movement.
Sending goods from B to C should be performed like:
COMPANY B should create:
Sales order company B to customer C
Outgoing picking from company B to customer C
Invoice from company B to company C
---
COMPANY C should create:
Purchase order company C to company B
Incoming picking from company B to company C
Purchase invoice from company B to company C
Otherwise, there will not be a consistent transaction and inventory valuation would be wrong for both companies.
My 2 cents.