The checks to complete before exposing Odoo: master password, database listing off, dbfilter, non-superuser PostgreSQL role, no demo data, HTTPS with HSTS, proxy limits, SSH key access, firewall rules and off-server backups.
Why the /web/database screens should be off in production, setting list_db and db_name, blocking /web/database at the proxy when it must stay, generating a random admin_passwd and resetting a lost master password.
Using Odoo's login log lines with fail2ban: the documented filter regex, a jail that bans after repeated failures, timezone offsets, plus Odoo's own login cooldown and CAPTCHA settings and proxy rate limits.
Turning on mandatory 2FA for employees or all users including portal accounts, supported authenticator apps, recovering locked-out users, session timeouts that trigger repeated prompts, and how 2FA interacts with API keys and SSO.
Planning roles for an Odoo rollout: app-level groups, implied groups, additive access rights, separating administrators from daily users, and avoiding the lockout the documentation warns about.
Limiting which records each group sees, such as own sales orders, one warehouse or one company: global versus group rules, how rules combine, testing them, and performance effects on large tables.
Keeping companies apart in one database: allowed companies per user, company-specific records and settings, shared contacts and products, and record rules that stop data leaking between entities.
Granting and revoking portal access from contacts, what portal users can see, enforcing 2FA for portal accounts, signed links for quotes and orders, and reviewing portal exposure on a public website.
Keeping Odoo patched: how advisories reach Enterprise customers before public disclosure, applying bugfix updates from packages, Git or nightly builds, testing them on staging, and patching OCA and custom modules too.
Reviewing third-party and in-house modules before install: raw SQL that bypasses the ORM, sudo calls, public controllers, unescaped output, access files and record rules, and who maintains the code after go-live.
Configuring Odoo's built-in login protections: minimum password length, rate limiting and cooldown after failed attempts, CAPTCHA on login and signup, and why Odoo does not enable character-class rules by default.
Scoping a pen test for self-hosted Odoo: web client, website and portal, the JSON-2 API, database manager exposure, custom modules and the server and proxy, with what to prepare and how to retest fixes.