የSmartERP መመሪያ የAshewa Technology Solutions መድረክ
ይህ ገጽ ገና ወደ አማርኛ አልተተረጎመም። የእንግሊዝኛው ጽሑፍ ቀርቧል።

Relational data model

Relational entity-relationship dictionary for CRM leads, sales orders, pricelists, POS sessions, and payments.

1. Overview & Business Value#

This comprehensive operational guide details the architecture, business workflows, configuration parameters, and execution steps for Relational data model within SmartERP.

This reference document details the core database models and relationships.

{screenshot:data-model-overview-dashboard}

2. Prerequisites & Security Access Groups#

  • Required Modules: sale_management, crm, point_of_sale, smarterp_payment_telebirr
  • Security Groups:
    • Sales User (Technical ID: sales_team.group_sale_salesman)
    • Sales Administrator (Technical ID: sales_team.group_sale_manager)
    • POS User / Cashier (Technical ID: point_of_sale.group_pos_user)
  • Master Data Dependencies: Customer partner registry, selling pricelists, product inventory balances, payment providers (Telebirr/CBE Birr), and POS terminal sessions.

3. Step-by-Step Configuration & Execution#

Step 1: Navigating to the Module Interface#

  1. Log into your SmartERP instance at https://smarterp.et/odoo.
  2. Open the main App Switcher (grid icon in the top-left corner).
  3. Select the Sales app icon.
  4. From the top navigation bar, open Sales → Orders → Quotations / Orders; Point of Sale → Dashboard.

{screenshot:data-model-app-switcher-navigation}

Step 2: Creating and Parameterizing Records#

  1. Click the New button in the top-left control panel.
  2. Complete the mandatory fields in the record form:
    • Customer Name (Mandatory): Registered partner record with complete invoicing and delivery addresses
    • Product Lines (Mandatory): Saleable items with approved commercial pricelist rates and VAT classification
    • Payment Terms (Mandatory): Immediate settlement, milestone advance, or agreed commercial credit terms
    • Salesperson (Mandatory): Account executive responsible for the customer commercial relationship
  3. Configure optional operational parameters and localized tags as required:
    • Analytic Account (Optional): Revenue center or project allocation for commercial tracking
    • Customer PO Reference (Optional): External purchase order number issued by the client
    • Shipping Policy (Optional): Deliver all products at once or allow partial dispatches
  4. Click the Save icon in the control bar to commit the record.

{screenshot:data-model-record-creation-form}

Step 3: Validating and Processing Transactions#

  • State Transitions: Execute operational state progression (Quotation → Sent → Confirmed Sales Order → Delivery Done → Invoiced → Paid).
  • Ledger & System Impact: Generates customer tax invoice, posts accounts receivable debit and sales revenue credit, and updates inventory valuation upon delivery.
  • Audit Verification: Automated recording of author ID, timestamp, and immutable revision history.

{screenshot:data-model-transaction-processing-state}

Core Models#

  • crm.lead: CRM lead and opportunity master records.
  • res.partner: Customer dossiers, TIN validation, and credit limit settings.
  • product.pricelist: Multi-tier pricing rules and discount schedules.
  • sale.order: Sales quotation and confirmed sales order headers.
  • sale.order.line: Product lines, quantities, unit prices, and tax mappings.
  • pos.session: Point of sale daily register session records.
  • pos.order: Point of sale individual transaction tickets.
  • pos.payment: Payment lines per ticket (Cash, Card, Telebirr).
  • account.move: Customer sales invoice (15% VAT Form 3.10) and credit notes.

4. Advanced Configuration Points#

  • Automated Actions & Scheduled Tasks (Crons):
    • CRM: Lead auto-assignment (crm.ir_cron_lead_assign): Runs hourly to allocate unassigned leads across sales teams
    • Sales: Expire overdue quotations (sale.ir_cron_expire_quotes): Runs nightly to mark stale quotes as cancelled
    • POS: Close abandoned register sessions (point_of_sale.ir_cron_session_cleanup): Runs nightly to alert managers of open cashier terminals
  • Custom Print Templates & Reports:
    • Customer Sales Quotation / Pro-forma Invoice
    • Commercial Tax Invoice (Model 85 Compliant)
    • POS Cash Register Receipt with QR Validation
    • Customer Credit Limit & Receivables Aging Statement
  • Multi-Company Rules: Record-level security isolation under Company 1 (Ashewa Technology Solutions S.C.), preventing cross-company ledger leakage across parent and subsidiary legal entities.

5. Comprehensive Troubleshooting Matrix#

Error Symptom / ExceptionProbable Root CauseCorrective Action / Resolution
Credit Limit Blocked: Customer balance exceeds ceilingOutstanding customer debt plus current order exceeds approved credit limit.Obtain credit committee exception approval or collect an advance cash payment.
Validation Error: Tax definition missing on product lineProduct item lacks default statutory 15% VAT mapping.Update the product master accounting tab with standard statutory VAT rates.
POS Session Error: Cash register mismatch upon closurePhysical cash count does not reconcile with POS recorded register balance.Document discrepancy explanation in the closing wizard and submit for manager review.
Payment Gateway Error: Telebirr timeoutNetwork timeout or invalid API bridge credentials.Verify merchant credentials in Invoicing → Configuration → Payment Providers and retry transaction query.

Next#

መጨረሻ የተሻሻለው: 2026-10-30