Help

0

how to hide custom addons folder(source code) from customer server

Avatar
Jaffa.net

I make customization on payroll and i want to hide my custom folder (source code) from the customer server, how can i hide the source code?? 

Avatar
Discard
1 Answer
0
Avatar
Niyas Raphy
Best Answer

Hi,


This depend on how you configured your client instance. If you are having single odoo instance and if you are looking to hide some modules from a particular database, it wont be possible it will show all the modules from the addons path.

Here what you can do is that, create multiple odoo instance in same server and you can use one instance for your customers with specifying necessary addons path in conf file and other one for you. Once you have multiple instance you can specify the addons path separately.

For Settings Multiple Odoo Instance, see: How To Run Multiple Odoo Instances in Different Ports of Same Machine


Thanks

2 Comments
Avatar
Discard
Avatar
Jaffa.net
-

i have only one customer and i need to hide the source code (addons folder) from customer server. I did not need Multiple Odoo instance in other words i want to protect my code.

Avatar
Niyas Raphy
-

There is no way to protect the code, either you can host the odoo in your server and dont give server access to customer. There is no other way to protect it, you can try with pyc files still it is possible to extract the python code from it