Contributors mailing list archives
Re: Activate features just for one company in a multicompany environmentby
Python code on the back end can be executed according to company. Create a flag on the company, and check it before executing the custom code.
For views, I am not aware of any way to have different XML be company specific..
For few elements within a view, I think you could make then invisible according to a flag, that can be evaluated in python (so the flag can indicate whether or not to show the field).
Hope this help...
On Fri, Sep 21, 2018, 07:31 Beatriz Arellano <firstname.lastname@example.org> wrote:
Hi everyone,I am developing an addon for a multi-company environment, I need to activate the addon's features just for one company. I need to say that companies share users, some users can have access to several companies, and that's why creating a security group and assigning it to some users wouldn't work in this case.
Is there a way to activate a feature just for one of the companies even when some users can access more than one company?Thanks in advanceBeatriz ArellanoSent with ProtonMail Secure Email.