Community mailing list archives
Re: [multicompany context] Partner Access problem and possible module to fix bugsby
Pedro M. Baeza
I also faced this problem, but a better solution is to let company_id of user partners empty, and should be proposed as OCB/Odoo patch I think.Regards.
2015-08-25 15:23 GMT+02:00 Sylvain LE GAL <firstname.lastname@example.org>:
I so created a little module that disable all 'users' partners and remove 'company_id' on them. So :I don't know if it's a bug or a feature, but It's not a good behaviour in my case.The associated partner will have the company_id of the user. So the partner will be visible in this company, and can be used. (for a sale for example, etc..). But, if the user change his company, Odoo will change the company_id of the partner and so, the partner will be unreachable, generating access bug.Hi all,I faced to a right access problem in multicompany context, concerning partners created when creating users. (because 'res.users' inherit from 'res.partner').
-> those "special partners" are not available ;
-> there is no Access right bug ;If you're interested by this module, I can share it in OCA. (I guess here : https://github.com/OCA/partner-contact)This is in V7, but i'll port it in V8 in a while.(Suggestion / remarks / review are welcome)Kind regards.
Sylvain LE GAL