provisioning: alinear packs de demo con los del backend (clinica/spa/estetica/dental/custom)

This commit is contained in:
2026-10-11 05:55:29 +00:00
parent 94f2045bfe
commit 75736967ef
2 changed files with 11 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ NGINX_AVAILABLE = '/etc/nginx/sites-available'
NGINX_ENABLED = '/etc/nginx/sites-enabled'
SYSTEMD_DIR = '/etc/systemd/system'
REFERENCE_DB = 'skeen_odoo' # de aquí se toma la lista de módulos skeen
DEFAULT_PACK = 'generico'
DEFAULT_PACK = 'clinica'
SLUG_RE = re.compile(r'^[a-z0-9-]+$')
DB_RE = re.compile(r'^[a-z0-9_]+$')
@@ -157,7 +157,7 @@ def parse_args(argv=None):
help='rol PostgreSQL (default <slug>: rol propio con '
'password nueva; usar "skeen" para el rol compartido)')
ap.add_argument('--pack', default=DEFAULT_PACK,
choices=['generico', 'spa', 'clinica', 'derma'],
choices=['clinica', 'spa', 'estetica', 'dental', 'custom'],
help='giro para glosario y datos demo')
ap.add_argument('--demo', action='store_true', help='sembrar datos demo')
ap.add_argument('--demo-limpia', action='store_true',