NOTE: Application is undergoing major refactoring. please report for any bug or issue it will be solved on high priority. For now it is stable and tested.
Recommended to use stable version for production.
Follow these steps to install and start using POS Awesome:
-
Install the app in your bench:
bench get-app https://github.com/defendicon/POS-Awesome-V15bench setup requirementsbench build --app posawesomebench restartbench --site your.site.name install-app posawesomebench --site your.site.name migrate
-
Open the POS Awesome workspace
Log in to ERPNext, go to the home page, and click POS Awesome from the left-hand menu.
-
Create a POS Profile
-
Navigate to POS Awesome → POS Profile → New.
-
Fill in the mandatory fields:
- Name – any label for this profile.
- Company – the company under which transactions will be recorded.
- Warehouse – the default warehouse for item stock deduction.
- Customer – a default customer (create one if none exists).
- Applicable for Users – add the users allowed to use this POS.
- Payment Methods – add accepted modes (e.g., Cash, Card).
-
Optional operational settings:
- Assign trusted users the POS Awesome Supervisor role from User > Roles when they need supervisor-only POS controls.
- Enable Allow Offline Sale Without Stock Verification if offline invoices should be saved even when local stock data is missing or insufficient. Stock is still validated again on the server when the invoice syncs.
-
-
Save the profile
-
Start selling
Return to the POS Awesome workspace and launch the POS. Select the newly created profile if prompted and begin creating invoices.
For more details, see the POS Awesome Wiki.
After switching branches or pulling latest changes:
- cd apps/posawesome
- git pull
- yarn install
- cd ../..
- bench build --app posawesome
- bench --site your.site migrate
Go to developer tools in browser, then go to application tab, then go to storage and clear site data. After clearing site data go to browser settings and delete cache and images data in history also.
- POS automatically checks for updates every 24 hours.
- Manual check: Menu → Check for Updates.
- Updates are checked only against the current git branch.
- The update dialog shows all commits ahead (commit message + date).
- Dismissed updates will reappear only when a new commit is available.
- It only check for updates on the current branch you are on. It will not update in backend.
Key folders in the modernized POS app:
frontend/src/posapp/components/pos/UI split into small, focused components (invoice, items, payments, closing, etc.)frontend/src/posapp/composables/business logic and state orchestration (invoice, items, payments, offers, offline)frontend/src/posapp/stores/Pinia stores for normalized app stateposawesome/posawesome/api/backend APIs split by domain (invoice_processing, item_processing, payment_processing)
The POS frontend has been migrated to TypeScript. If you add new modules, prefer .ts/.vue with lang="ts" and keep types in frontend/src/posapp/types/.
- Return invoices use negative quantities and negative totals.
- Additional Discount (Percentage) is recalculated automatically based on the current return total.
- Additional Discount (Amount) is prorated on partial returns.
- Applied as a negative discount on returns.
- For Return without Invoice, discount logic depends on the POS Profile and may require manual adjustment.
- Write-off amount is capped by POS Profile and validated against payment coverage.
- Refunds/returns use negative payment amounts.
- Partial payments and credit sales respect the same write-off limits.
- POS Awesome Payments supports Receive and Pay workflows from the Payments route.
- Receive is used for customer payments and can create new Payment Entries, reconcile unallocated payments, reconcile M-Pesa payments, and allocate payments against outstanding Sales Invoices.
- Pay supports customer payouts, supplier/vendor payments, and employee payments. Supplier/vendor payments can be allocated against outstanding Purchase Invoices.
- Reconciliation can be done manually by selecting invoices and unallocated payments, or automatically with Auto Allocate Payment Amount / auto reconcile.
- Customer reconciliation supports Sales Invoices, credit notes, unallocated Payment Entries, and M-Pesa entries when enabled.
- Supplier/vendor reconciliation supports Purchase Invoices and supplier unallocated payments.
- Payment creation and reconciliation are controlled from POS Profile with
Use POS Awesome Payments,Allow Make New Payments,Allow Reconcile Payments, andAllow Mpesa Reconcile Payments. - Multi-currency payment methods are supported with exchange-rate handling when invoice, party, and bank/cash account currencies differ.
- Invoices, customers, and payments can be created offline.
- Background sync replays changes when connectivity returns.
- Failed offline submissions are saved as Drafts.
- Allow Offline Sale Without Stock Verification on POS Profile lets offline invoice saving continue when local stock cache is missing or below the requested quantity.
- This option only skips local offline stock blocking. Server-side stock validation still runs when the invoice syncs online.
Supervisor access is now controlled by the POS Awesome Supervisor role on the User doctype. This replaces the old user-level posa_is_pos_supervisor custom field and uses the new role name instead of POS Supervisor.
Users with this role can access supervisor-only POS functions:
- Open the Awesome Dashboard from the POS navigation/menu, when the dashboard is enabled for the POS Profile.
- View dashboard data for the current profile, a specific profile, or all allowed profiles depending on dashboard scope settings.
- Use supervisor invoice-management scope to view/search submitted invoices and drafts across the company, with profile filtering available from the invoice management dialog.
- See supervisor-only item rate details such as last purchase rate and cost/manufacturing cost while selecting items.
- Issue and top up gift cards from the payments/gift-card workflows. Non-supervisors can still check gift-card balances when gift cards are enabled.
To grant access, open the ERPNext User record and add POS Awesome Supervisor in the user's Roles table.
Gift cards are available when Use Gift Cards is enabled on POS Profile.
- Cashiers can scan or enter gift-card codes and check live balance/status.
- Gift cards can be redeemed from the invoice payment screen.
- POS supervisors can issue new gift cards and top up existing cards from the payment/gift-card workflows.
- Gift-card issue and top-up actions create the required accounting entry against the configured gift-card liability account.
- Supervisor management is controlled by POS Profile gift-card settings and the POS Awesome Supervisor role.
The Purchase Order module lets users create purchasing documents directly from POS.
- Create Purchase Orders from the POS item selector.
- Select supplier/vendor, warehouse, transaction date, and schedule date.
- Use supplier-specific buying price lists and supplier currency where available.
- Optionally receive stock immediately by creating a linked Purchase Receipt.
- Optionally create a linked Purchase Invoice.
- Pay suppliers/vendors from the same purchase flow using POS Profile payment methods.
- Create new suppliers/vendors from POS when
Allow Create Suppliers from POSis enabled. - Create purchase items from POS when
Allow Create Items from POSis enabled.
Configure the purchase feature from POS Profile:
Allow Purchase OrderAllow Receive Stock from POSAllow Create Items from POSAllow Create Suppliers from POS
The Barcode Printing module prints item labels directly from POS.
- Add barcode-enabled items from the item selector.
- Choose item UOM and label quantity per row.
- Print labels or export them as PDF.
- Configure A4 label grids by rows and columns.
- Optionally include item price and batch/serial details on labels.
- Supports scale/weighted barcode generation using scale barcode settings and item/UOM barcode templates.
Use this feature to post shift-level cash expenses and cash deposits from POS App without touching monolithic accounting flows.
- Open POS App and go to
Cash Movementfrom the side menu (visible only if enabled in POS Profile). - Submit
Expenseto book: Dr Expense Account, Cr POS Cash Account. - Submit
Depositto book: Dr Back Office Cash Account, Cr POS Cash Account. - Entries are saved as
POS Cash Movementand linked to a submittedJournal Entry. - History supports:
- Submitted/Cancelled/Draft filters
- Expense/Deposit filters
- Journal Entry reference visibility
- Cancel action (profile-controlled)
- Delete action for cancelled records (profile-controlled)
Configure these fields in POS Profile:
Enable Cash MovementAllow POS ExpenseAllow Cash DepositDefault POS Expense AccountBack Office Cash AccountAllow Cancel Submitted Cash MovementAllow Delete Cancelled Cash MovementRequire Cash Movement RemarksCash Movement Max Amount
Recommended setup:
- Set a dedicated
Cashmode of payment and map it correctly at company level. - Set
Default POS Expense AccountandBack Office Cash Accountbefore enabling user access. - Enable cancel/delete only for trusted operational roles.
- Cash movements queue locally when POS is offline.
- Sync runs from:
- Main sync action in POS layout
- Manual sync button in Cash Movement screen when queue exists
- Duplicate-safe replay uses
client_request_ididempotency.
- Submitted cash movements are included in shift overview.
- Expected cash on hand is reduced by submitted cash movement total.
- Closing screen shows a dedicated submitted cash movement summary.
- Backend permissioned runtime tests require a full Frappe/ERPNext bench environment.
- Cash movement amounts are currently reconciled in company currency for closing impact.
- If profile flags are disabled mid-shift, creation and management actions are blocked by backend checks.
For deployment details, see CASH_MOVEMENT_ROLLOUT.md.
- Check browser console for errors and attached logs with issue for better debugging.
- If UI totals look stale after a major update, clear site data from developer tools and browser cache and files from browsing history.
Use the bundled Electron shell when you need an offline-friendly desktop build that remembers the ERPNext server URL.
- Install dependencies (root):
yarn install - Run the desktop shell:
yarn electron:dev - Build installers:
yarn electron:build
Notes:
- The app prompts for the server URL on first launch (the
/app/posapppath is added automatically) and saves it locally so you do not need to re-enter it. - If connectivity drops, an offline screen appears with options to retry or change the saved server.
- Windows (
.exe) builds require Wine/Mono when runningelectron-builderon Linux. By default,yarn electron:buildtargets the current platform and writes artifacts intodist-electron/.
- Vue Router: Fully Client-Side Routing for instant navigation between POS, Orders, and Payments.
- Modular Design: Separated concerns using Vue 3 Composition API.
- Modern Interface: User-friendly design using Vue.js and Vuetify, optimized for speed and experience.
- View Modes: Toggle between List View (efficient for data entry) and Card View (visual with item images).
- Dark Mode & Theming: Built-in dark mode support with automatic or manual toggle, plus customizable theme options.
- RTL Support: Full support for Right-to-Left languages (Arabic, etc.).
- System Status Gadgets: Real-time monitoring of Server, Database, Cache, and Network status directly from the POS navbar.
- Fly to Cart Animation: Visual feedback when adding items to the cart.
- Performance: Optimized for large datasets using virtual scrolling and efficient state management.
- Shortcuts: Extensive keyboard shortcuts for rapid operation.
- Multi-Language: Supports English, Arabic, Portuguese, Spanish, and more.
- Multi-Currency: Full support for invoicing in different currencies with automatic exchange rate fetching.
- Quotations: Create, update, and submit Quotations directly from the POS interface.
- Sales Orders: Create Sales Orders directly. Configurable "Sales Order Only" mode available.
- Purchase Orders: Create supplier/vendor Purchase Orders from POS, with optional Purchase Receipt, Purchase Invoice, and supplier payment creation.
- Purchase Receiving: Receive stock from POS when allowed by POS Profile.
- Returns: Process returns for Cash or Customer Credit (Credit Note).
- Credit Sales: Support for credit sales with configurable due dates.
- Change Posting Date: Ability to change the transaction posting date (backdating) if allowed by profile.
- Additional Notes: Fields for internal notes and authorization codes.
- Customer PO: Capture Customer Purchase Order (PO) number and date.
- Batch & Serial: Comprehensive support for Batch and Serial number selection and search.
- Product Bundles: Auto-apply batches for bundle items.
- Variants: Support for template items with product variants.
- UOM Support: Barcode and pricing support specific to Units of Measure.
- Weighted Products: Support for scale/weighted product barcodes.
- Stock Validation: Configurable stock validation (warn or block) including negative stock handling.
- Offline Stock Verification Skip: POS Profile option to save offline invoices even when local stock cannot be verified, while keeping server validation during sync.
- Barcode Printing: Build item label batches, print barcodes, export PDF labels, include price/batch/serial data, and generate scale barcodes for weighted items.
- POS Awesome Payments: Dedicated payment route for customer Receive workflows and Pay workflows for customers, suppliers/vendors, and employees.
- Payment Entry Creation: Create new Payment Entries from POS when enabled in POS Profile.
- Payment Reconciliation: Reconcile outstanding invoices against unallocated payments, credit notes, and M-Pesa payments.
- Auto Reconcile: Automatically allocate available unallocated payments against outstanding invoices in chronological order.
- Supplier/Vendor Payments: Pay suppliers/vendors and allocate payments against Purchase Invoices.
- Employee Payments: Pay employees through the POS payments workflow.
- Payment Auto Allocation: Automatically allocate newly created payment amounts against selected invoices when enabled.
- Payment Reference Tracking: Capture reference number/date for POS-created payments.
- Smart Tender: "Quick Cash" suggestions based on currency denominations for faster checkout.
- Split Payments: Accept multiple payment modes for a single transaction.
- M-Pesa: Integrated M-Pesa mobile payment support.
- Gift Cards: Check gift-card balances, redeem gift cards at checkout, and allow supervisors to issue or top up cards.
- Loyalty Points: Earn and redeem Customer Loyalty Points.
- Coupons & Offers: Support for POS Coupons, Promotional Offers, and Referral Codes.
- Price Lists: Support for Customer/Group price lists, with option to manually select Price List per transaction.
- Discounts: Customer-level and Transaction-level discount support.
- Delivery Charges: Add shipping/delivery charges to the invoice.
- Write Off: Option to write off small difference amounts in change.
- Robust Offline Mode: Create invoices and customers offline. Data syncs automatically when reconnected.
- Offline Payments: POS Awesome Payments can be queued offline and synced when connectivity returns.
- Background Sync: Advanced background synchronization for offline transactions and master data updates.
- Local Storage: Option to use browser Local Storage for caching to improve reliability.
- Background Submission: Enqueue invoice submission to background jobs for faster UI response.
- Drafts: Failed offline submissions are safely saved as Draft documents.
- Offline Stock Guard Control:
Allow Offline Sale Without Stock Verificationcan defer stock blocking to online sync when local stock data is incomplete.
- Shift Management: Opening and Closing shifts with cash reconciliation and detailed payment breakdown reports.
- Role-Based Supervisor Access: Supervisor features are granted through the POS Awesome Supervisor role on User roles.
- Cash Movement: Profile-controlled POS expenses and cash deposits with closing-shift impact.
- Customer Balance: Option to display current customer balance on the main screen.
- Address Management: Manage multiple shipping addresses for customers.
- ERPNext v15 Support: Fully compatible with the latest ERPNext version.
F4profile switch (currently shows “not available” message).F6open new customer form.F7open shift details.F8POS lock (currently shows “not available” message).
Alt + 1close payments panel.Alt + 2open cancel dialog.Alt + 3focus item search.Alt + 4select top item.Alt + 5focus customer search.Alt + 6select first customer.Alt + 7load sales orders.Alt + 8open returns.Alt + 9focus delivery charges.- `Alt + `` focus posting date.
Alt + PageUpopen payments panel.Alt + Homego to home and reload.Alt + Afocus additional discount field.Alt + Qfocus quantity field for first item and then the next item (cycles).Alt + Ufocus UOM field for first item and then the next item (cycles).Alt + Rfocus rate field for first item and then the next item (cycles).Alt + Eremove the first item from the top.Alt + Ffocus item table search field for added items searching.Alt + Lload draft invoices.Alt + Mtoggle item selector settings.Alt + Ssave and clear invoice.
Alt + Dopen payments panel.Alt + Xon invoice it open payments, then submit automatically (prompts if payments are closed). on payments it submit directly.Alt + Pon invoice it open payments, then submit & print automatically (prompts if payments are closed). on payments it submit directly.
- Frappe
- Erpnext
- Vue.js
- Vue Router (New Architecture)
- Vuetify.js
This project uses Prettier and Black for consistent formatting. To format locally before pushing changes, run:
yarn prettier --write "**/*.{js,vue,css,scss,html}"
pip install -r requirements-dev.txt
black .These commands will rewrite files in-place so the CI checks pass.
GNU/General Public License (see license.txt)
The POS Awesome code is licensed as GNU General Public License (v3)
