Adds:
- psycogreen is long polling callbacks required for the live chat module.
- suds-jurko is needed for the SOAP web services.
- pytz is required for time zone.
- pyusb is required to support USB communication with the Odoo Point Of Sale box (POS BOX).
- greenletis required for GEvent, it supports micro-threading and lightweight controlled concurrency.
- xlrd is required for Microsoft Excel XLS and CSV import.
Courtesy of https://github.com/Yenthe666/InstallScript/pull/62#issuecomment-338671099
We've used to copy the .conf file from /debian/odoo.conf and modified it along the way to our needs. This could trigger issues and cornercases. Since Odoo 11.0 this breaks the default installation script.
There where two options:
1) Create sed commands to find the doubles and remove them - which would have issues with the regex expressions and special characters such as "/".
2) Create a new configuration file from scratch and fill it with our own data
Obviously, I went for option 2.
Before this addition you would only have one chance to fill in the Github credentials.
If they where wrong the script would fail on a lot of the remaining steps, you would need to run the script and you might even get issues because of already used commands.
This commit adds the response from Github to check if the credentials are valid are not.
In case they're invalid we'll ask them again (untill they're correct) and we'll show a warning to the user that they where invalid or that the user does not have enough rights on the Github repository.
If they succeed we'll clone the enterprise repository and continue.
This will automatically fill in the XMLRPC-port that is configured at the top of the script.
This was not passed on in a variable so if the user would change the port at the top it wouldn't change in the configuration file. This is now fixed!