Skip to Content
Catalog / SAL · Sales / Sales Person App
Sales Person App
sales_person_app

Sales Person App

Give field reps their own scoped sales, invoicing, collection and stock workspace

v19.0.0.1 Abdelfatah Mohammad (AlshayebCo) Sales Application

Inherits contact (sales_person_ids, default warehouse_id, create() auto-sets salesperson/follower), account journal (sales_person_ids), journal entry/.line (sales_person_id, allowed_user_ids), payment (salesperson default journal, expense product driving destination account, salesperson onchange), sales order (_compute_warehouse_id from rep's warehouse) and stock warehouse (get_current_warehouses for per-user warehouse filtering). Adds a sales person xlsx wizard TransientModel computing per-user sales (SQL on posted out_invoices) and collection net of non-cashed checks, rendered via a report_xlsx XLSX report and a QWeb PDF. OWL patches StockReportSearchModel/SearchPanel to lock the warehouse filter to the user's warehouse. Depends on bi_sales_security, odoo_check_managment, account_reports and report_xlsx.

Overview

Field sales reps and collectors normally drown in company-wide sales, invoice and payment lists they have no business seeing, and managers have no clean way to measure each rep's sales against what they actually collected. Sales Person App adds a dedicated 'Sales Person' application that exposes only a rep's own quotations, invoices, partner ledger, payments and warehouse stock, enforced by record rules so each user sees strictly their own customers and documents. Payments are extended to capture the responsible salesperson, support cash/check journals and out-of-pocket expense products, while a finance-side 'Collectors Reports' wizard prints a per-rep Sales vs Collection summary (PDF and Excel) that nets out uncollected checks.

Key Features

  • Adds a standalone 'Sales Person' app menu bundling each rep's Sales Orders, Invoices, Partner Ledger, Payments and Stock in one place.
  • Scopes invoices, journal items and payments per user via record rules so reps only see their own customers and self-created documents.
  • Auto-assigns the creating user as salesperson and follower on new contacts, and defaults a contact's salesperson onto their payments.
  • Extends customer payments with a salesperson field, an expense product for outbound payments, and a default cash/check journal per rep.
  • Provides a salesperson-filtered Stock list (On Hand, Free to Use, Incoming/Outgoing, Forecast) with admin-only inventory action buttons.
  • Restricts the stock report's warehouse filter to each user's assigned warehouse unless they are a stock manager.
  • Lets contacts carry a default warehouse that drives the source warehouse on their sales orders.
  • Generates a 'Collectors Reports' wizard: per-rep Sales vs Collection summary as PDF or XLSX, with an optional per-rep invoice/payment detail breakdown.
  • Nets uncollected (non-cashed) checks out of reported collection figures and flags the uncollected amount as a note.

Technical Details

Technical Name sales_person_app
Version 19.0.0.1
License LGPL-3
Domain SAL · Sales

Menu Structure

Sales Person
Sales Order
Invoice
Partner Ledger
Payments
Stock
Collectors Reports

Security

Builds on the bi_sales_security 'own customer' salesperson group (which gains read-only accounting and salesman rights) and grants it controlled access to currencies, check operations, invoices, journal items and payments. Record rules restrict account moves, move lines and payments so a salesperson sees only documents where they are the salesperson or the creator. A separate 'Sales Person' privilege defines User and Administrator levels, where Administrator unlocks the detailed stock report columns and inventory actions.

Sales Person / User (group_sales_person_user) Sales Person / Administrator (group_sales_person_admin) bi_sales_security: Own Customer salesperson group (extended with salesman + read-only accounting rights)

Dependencies

base web sale_stock account_reports bi_sales_security odoo_check_managment hr_expense stock stock_account