SmartERP Documentation An Ashewa Technology Solutions Platform

System Administrator Guide

Platform configuration, Multi-DB management, RBAC access control, scheduled background actions, and system health monitoring.

System Administrators maintain the technical reliability, security posture, performance, and multi-tenant environment of SmartERP 19.

System Settings & Configuration Console

System Administration Topology#

SmartERP 19 runs as an enterprise application on Ubuntu Linux with PostgreSQL and Nginx reverse proxying:

Architecture LayerComponentPorts / InterfaceOperational Purpose
Reverse ProxyNginx with TLS 1.380, 443 (smarterp.et)SSL termination, HTTP/2, gzip compression, rate limiting.
Application ServerOdoo 19 Community Core8295 (dev), 8291 (candidate)Python gevent worker pool, XML-RPC services, REST APIs.
Database ServerPostgreSQL 16 Enterprise5432 (m19_pg)ACID transactions, automated WAL archiving, pg_dump backups.
Scheduled Tasksir.cron EngineInternal Worker ThreadSLA escalations, currency exchange sync, payroll auto-actions.

General Configuration Console

Multi-Database Management & Disaster Recovery#

SmartERP 19 features multi-database segregation for staging, development, and production tenants:

Multi-Database Selector Console

Automated Backup Script SOP#

Platform administrators execute daily automated database backups using the following standard procedure:

#!/usr/bin/env bash
# /opt/smarterp/scripts/backup_production.sh
set -euo pipefail

BACKUP_DIR="/var/backups/smarterp"
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
DB_NAME="dev"
BACKUP_FILE="${BACKUP_DIR}/${DB_NAME}_${TIMESTAMP}.zip"

mkdir -p "${BACKUP_DIR}"

# Execute authenticated backup via curl to Odoo database manager
curl -s -X POST \
  -F "master_pwd=${SUPER_ADMIN_PASSWORD}" \
  -F "name=${DB_NAME}" \
  -F "backup_format=zip" \
  -o "${BACKUP_FILE}" \
  http://127.0.0.1:8295/web/database/backup

# Retain last 14 daily archives; prune older snapshots
find "${BACKUP_DIR}" -name "*.zip" -mtime +14 -delete

Scheduled Actions (ir.cron) Health Monitoring#

SmartERP 19 relies on automated cron jobs to maintain SLA compliance and transaction consistency. Administrators monitor these via Settings -> Technical -> Automation -> Scheduled Actions:

Cron Technical NameIntervalTarget ModuleWhat It Does
ir_cron_blocker_escalationEvery 4 Hourssmarterp_project_agileScans for unresolved task blockers; fires escalation emails to CTO.
ir_cron_timesheet_period_lockMonthly (Day 1)smart_enterprise_timesheetLocks previous month timesheets to freeze payroll and billing data.
ir_cron_sync_attendanceEvery 15 Minshr.attendancePulls biometric punch logs from networked turnstile gateways.
ir_cron_wht_declaration_checkMonthly (Day 25)wht_at_paymentAudits unposted vendor bills for missing MoR withholding tax lines.

Role-Based Access Control (RBAC) Governance#

SmartERP 19 enforces strict role segregation. When provisioning new users in Settings -> Users & Companies -> Users:

  1. Assign the user strictly to their business role profile (smarterp.rbac.role).
  2. Never grant Administration / Settings to non-IT personnel.
  3. Enforce Two-Factor Authentication (2FA) for all accounts with financial posting or approval authority.
  4. Verify that no single user holds both Accounting / Accountant and Purchase / Manager to prevent procurement-to-payment collusion.
Last updated: 2026-10-16