[6.1]base_contact is not multi-company compatible

Bug #1010559 reported by Damián Soriano
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
Damián Soriano

Bug Description

I have installed OpenERP v6.1 with the last nightly build in Ubuntu 12.04. I have also installed base_contact module.

I have 2 companies A and B. 2 partners partner_A and partner_B associated to companies A and B respectively. I have a user user_A that is associated to company A. If I create a contact in partner_B with the admin user and then login with user_A, if I try to select a contact to associate to an address of partner_A I get the following error:

2012-06-08 16:33:51,032 7845 ERROR ? openerp.netsvc: AccessError
Operation prohibited by access rules, or performed on an already deleted document (Operation: read, Document type: Partner).

I think that this may be solve by adding a company field to the contacts and then creating a filter so users can see only appropriate contacts.

Amit Parik (amit-parik)
summary: - base_contact is not multi-company compatible
+ [6.1]base_contact is not multi-company compatible
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Damián,

I have faced the same problem with 6.1 as you specified on bug report (I have attached screen-shot).

Base_contact is already removed from trunk, So this issue is only affected for 6.1 stable version also it's not a blocking point.
 As per our bug management policy we can consider only trunk bug as well as blocking point of stable version.

So we can not consider this issue( because this issue is only for stable version also it's not a blocking point). If you have a support and maintenance contract with us then you can contact our OPW team at <email address hidden> they will definitely help you.

Thanks for reporting!

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-addons:
status: New → Won't Fix
Revision history for this message
Damián Soriano (damiansoriano) wrote :

Amit, thanks for the reply.

Is it feasible to solve this by modifying base_contact, propose a merge for addons and get the merge accepted?

If yes I will do it, if not I will create a new module to solve this problem, since I am currently using v6.1 and need this to be fixed. I ask about the merging so my change will help other people as well.

Damián

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Damián,

Yes, You can contribute for 6.1. For that you have to create a separate branch and put a merge proposal. Our code team will review it.

Thanks!

Revision history for this message
Damián Soriano (damiansoriano) wrote :

Yes, thanks for the reply

Damián

Changed in openobject-addons:
assignee: nobody → Damián Soriano (damiansoriano)
Revision history for this message
Damián Soriano (damiansoriano) wrote :

I already propose a merge for fixing this bug.

Is there any way of changing the status from "Won't Fix" to "In Progress"??? I cannot do this.

Damián

Amit Parik (amit-parik)
Changed in openobject-addons:
status: Won't Fix → In Progress
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello ,

This issue has been fix Committed at rev no : 6835
with following branch.

lp:~sistemas-adhoc/openobject-addons/6.1.

Thank you!

Changed in openobject-addons:
status: In Progress → Fix Committed
importance: Undecided → Low
Revision history for this message
Damián Soriano (damiansoriano) wrote :

Hello Jugnesh Rathod, I do not have to do anything?? Is everything already done to commit the change?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.