Port all missing AI security and modern features from odoo_install.sh:
- PostgreSQL 16 with pgvector for Enterprise AI (vector embeddings)
- PEP 668 compliant pip_install helper function
- SSL/TLS via Let's Encrypt certbot with validation
- Enterprise AI packages (psycopg2-binary, pdfminer.six)
- Proper Nginx config formatting with security headers
- Updated to Odoo 19.0, added libpq-dev, phonenumbers
- Expanded init script PATH to include /usr/local/bin
https://claude.ai/code/session_01MG1Zzvpo7qpqtZPiANqdMS
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!