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).
-
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.
- Invoices, customers, and payments can be created offline.
- Background sync replays changes when connectivity returns.
- Failed offline submissions are saved as Drafts.
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.
- 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.
- 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.
- 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.
- Payment Reconciliation: Reconcile payments against existing invoices.
- Robust Offline Mode: Create invoices and customers offline. Data syncs automatically when reconnected.
- 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.
- Shift Management: Opening and Closing shifts with cash reconciliation and detailed payment breakdown reports.
- 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)
