← Back to team overview

openerp-india team mailing list archive

[Bug 973252] [NEW] [6.1] Multicompanies - error on creation partner / products / ...

 

Public bug reported:

Multicompanies environment
Openerp 6.1 updated

1/ new db (comp1)
2/ install sales
3/ configure account charts
4/ create new company (comp2)
5/ duplicate sequences, journals, locations, warehouse, shop and pricelist
  5.1/ original items (before duplicate) asigned to comp1  (company_id)
  5.2/ duplicated items asigned to comp2 (company_id)

6/ create a new user with access to comp1 and comp2 (all allowed and all groups and permissions)
Login with new user for tests

7/ from comp1 all it's ok (create partners, products, . . .)

8/ from comp2, when try to create a partner (this error just at the moment of click new, without interaction with the form):
AccessError
Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Pricelist). 

The pricelist are correct, assigned to comp2

9/  from comp2, when try to create a new product:
AccessError
Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Location). 

All locations are create, with comp2 assigned

Maybe the system try to load default locations and pricelist from comp1
(and not from comp2), and this cause the error.


Thx
JuanjoA

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/973252

Title:
  [6.1] Multicompanies - error on creation partner / products / ...

Status in OpenERP Server:
  New

Bug description:
  Multicompanies environment
  Openerp 6.1 updated

  1/ new db (comp1)
  2/ install sales
  3/ configure account charts
  4/ create new company (comp2)
  5/ duplicate sequences, journals, locations, warehouse, shop and pricelist
    5.1/ original items (before duplicate) asigned to comp1  (company_id)
    5.2/ duplicated items asigned to comp2 (company_id)

  6/ create a new user with access to comp1 and comp2 (all allowed and all groups and permissions)
  Login with new user for tests

  7/ from comp1 all it's ok (create partners, products, . . .)

  8/ from comp2, when try to create a partner (this error just at the moment of click new, without interaction with the form):
  AccessError
  Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Pricelist). 

  The pricelist are correct, assigned to comp2

  9/  from comp2, when try to create a new product:
  AccessError
  Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Location). 

  All locations are create, with comp2 assigned

  Maybe the system try to load default locations and pricelist from
  comp1 (and not from comp2), and this cause the error.

  
  Thx
  JuanjoA

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/973252/+subscriptions


Follow ups

References