A modern, lightning-fast Point of Sale system for ERPNext
Features β’ Installation β’ Quick Start β’ Demo β’ Documentation
POS Next is a complete rewrite of the ERPNext POS system, built from the ground up with modern technologies to deliver:
- β‘ Blazing Fast Performance - Vue 3 + Vite for instant load times
- π True Offline Support - Keep selling even when your internet drops
- π Modern UI/UX - Clean, intuitive interface your staff will love
- π Advanced Promotions - Full-featured offers, coupons, and gift cards
- π° Smart Payments - Multiple payment methods, partial payments, split bills
- π Real-time Insights - Live shift tracking and instant reports
- π Bug Reports: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Forum: Frappe Community
- π± Telegram Group: Join our community - Get help, share ideas, and connect with other users
- π§ Email: support@brainwise.me
-
π Modern Tech Stack
- Vue 3 with Composition API
- Vite for lightning-fast builds
- Tailwind CSS for beautiful UI
- TypeScript-ready architecture
-
π Offline-First Architecture
- IndexedDB for local data caching
- Background sync when online
- Web Workers for smooth performance
- Service Worker for true PWA support
-
π° Advanced Payment Options
- Multiple payment methods per transaction
- Partial payments with tracking
- Quick amount buttons for faster checkout
- Change calculation and write-off
- Credit sale support with approval
-
π Promotional Engine
- Coupons: Percentage, fixed amount, free items
- Promotional Schemes: Buy X Get Y, tiered discounts
- Gift Cards: Full gift card management
- Auto-apply eligible offers
- Stack multiple promotions
-
π± Multi-Currency Support
- Proper currency symbols (EΒ£, Ψ±.Ψ³, Ψ―.Ψ₯, $, β¬, Β£)
- Real-time exchange rates
- Currency-specific formatting
-
πΎ Draft Invoices (Hold Orders)
- Save incomplete transactions
- Resume from any device
- Automatic cleanup
- Badge count indicator
-
π Returns Management
- Quick return invoice processing
- Partial or full returns
- Auto-credit note generation
- Stock adjustment
-
πΌ Shift Management
- Open/close shift workflow
- Live shift timer in navbar
- Shift-wise sales reports
- Cash reconciliation
-
π Smart Search
- Real-time item search
- Barcode scanning support
- Item group filtering
- Keyboard shortcuts (F4, F8, F9)
-
π± Responsive Design
- Desktop optimized
- Tablet friendly
- Touch-screen ready
- Grid and list views
-
π₯ Performance Optimized
- Virtual scrolling for large inventories
- Lazy loading components
- Debounced search
- Optimistic UI updates
-
π Enterprise Ready
- Role-based permissions
- Audit trail logging
- Multi-warehouse support
- Tax compliance ready
-
π Internationalization
- RTL support ready
- Multi-language capable
- Regional formats
- Frappe Framework version 15 or higher
- ERPNext version 15 or higher
- Modern browser (Chrome, Firefox, Safari, Edge)
# Navigate to your bench
cd ~/frappe-bench
# Get the app from GitHub
bench get-app https://github.com/BrainWise-DEV/pos_next.git --branch develop
# Install on your site
bench --site [your-site-name] install-app pos_next
# Run migrations
bench --site [your-site-name] migrate
# Build assets
bench build --app pos_next
# Restart (production only)
bench restart# Get app in dev mode
cd ~/frappe-bench
bench get-app /path/to/pos_next
# Install frontend dependencies
cd apps/pos_next/POS
npm install
# Run dev server with hot reload
npm run dev
# In another terminal, start Frappe
bench startAlready have POS Next? Update to the latest version:
cd ~/frappe-bench/apps/pos_next
git pull origin develop
cd ../..
# Apply updates
bench --site [your-site-name] migrate
bench build --app pos_next
bench --site [your-site-name] clear-cache
# Restart (production only - skip if using bench start)
bench restartNavigate to: Retail > POS Profile > New
Configure:
- Company and Warehouse
- Price List and Currency
- Payment Methods (Cash, Card, etc.)
- Default Customer (Walk-In)
Visit: https://your-site.com/pos or http://localhost:8000/pos
- Search Items - Press
F4or scan barcode - Add to Cart - Click items or use auto-add mode
- Select Customer - Press
F8(optional) - Apply Offers - Green button shows available offers
- Checkout - Press
F9, select payment method - Print - Receipt prints automatically
POS Offer: POS Next > POS Offer > New
POS Coupon: POS Next > POS Coupon > New
| Shortcut | Action |
|---|---|
F4 |
Search items |
F8 |
Search customers |
F9 |
Proceed to checkout |
Ctrl+S |
Save draft (hold order) |
Esc |
Close dialog |
Never lose a sale! POS Next works seamlessly even without internet:
- All item data cached locally
- Stock levels synced in background
- Invoices saved and uploaded when online
- Visual indicator shows connection status
Maximize revenue with sophisticated promotions:
- Buy 2 Get 1 Free - Product-based offers
- Spend $100, Get 10% Off - Value-based discounts
- Seasonal Coupons - Time-limited promotions
- Free Shipping - Threshold-based benefits
Complete shift lifecycle:
- Open shift to start selling
- Live timer shows shift duration
- Close shift for reconciliation
- Detailed shift reports with cash movements
Display prices in proper local format:
- Egypt: EΒ£ (EGP)
- Saudi Arabia: Ψ±.Ψ³ (SAR)
- UAE: Ψ―.Ψ₯ (AED)
- US: $ (USD)
- Europe: β¬ (EUR)
- UK: Β£ (GBP)
- And many more...
- Warehouse Selection: Choose active warehouse
- Negative Stock: Allow overselling
- Auto Sync: Background stock updates
- Stock Policy: Validation rules
- Tax Inclusive: Prices include tax
- Max Discount: Item-level limits
- Additional Discount: Invoice-level
- Rounded Totals: Exact or rounded
- Credit Sales: Allow payment terms
- Partial Payments: Split over multiple methods
- Returns: Enable return processing
- Write-off: Small change amounts
- Silent Print: Auto-print receipts
Check:
- Items exist in selected warehouse
- Price list has item prices defined
- POS Profile warehouse setting
- Browser console for errors
Solution: Clear cache and reload
bench --site [your-site-name] clear-cacheCheck:
- Service Worker registered
- IndexedDB enabled in browser
- Sufficient storage available
Solution: Check browser console, ensure HTTPS (required for Service Workers)
Status: Fixed in v1.6.0+
Solution: Update to latest version
cd apps/pos_next/POS
npm run build
bench build --app pos_next
bench restartfrappe.call({
method: 'pos_next.api.offers.get_offers',
args: {
pos_profile: 'Main POS',
customer: 'CUST-00001'
},
callback: (r) => console.log(r.message)
})frappe.call({
method: 'pos_next.api.offers.validate_coupon',
args: {
coupon_code: 'SUMMER2024',
customer: 'CUST-00001',
company: 'My Company',
grand_total: 1000
},
callback: (r) => console.log(r.message)
})frappe.call({
method: 'pos_next.api.invoices.create_invoice',
args: {
invoice_data: {
customer: 'CUST-00001',
items: [
{ item_code: 'ITEM-001', qty: 2, rate: 100 }
],
payments: [
{ mode_of_payment: 'Cash', amount: 200 }
]
}
},
callback: (r) => console.log(r.message)
})We welcome contributions! Here's how:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Install pre-commit hooks:
cd apps/pos_next && pre-commit install - Make your changes
- Test thoroughly
- Commit with clear messages
- Push to your fork
- Open a Pull Request
We use automated tools to maintain code quality:
- Python: ruff, pyupgrade
- JavaScript: eslint, prettier
- Git: pre-commit hooks
AGPL-3.0 License - See LICENSE file for details
This means you can:
- β Use commercially
- β Modify
- β Distribute
- β Use privately
You must:
- π Disclose source
- π Include license
- π State changes
- π Share alike
Built with amazing open-source technologies:
- Frappe Framework - Full-stack web framework
- ERPNext - Open-source ERP
- Vue.js 3 - Progressive JavaScript framework
- Vite - Next-generation frontend tooling
- Tailwind CSS - Utility-first CSS framework
- Heroicons - Beautiful hand-crafted SVG icons
- Enhanced partial payments with overdue status tracking
- Major backend refactoring for better maintainability
- Performance improvements
- β¨ Implemented free items support for promotional offers
- π Fixed tax-inclusive calculation preventing tax being treated as discount
- π§ Improved promotional scheme handling
- π Initial release
- β¨ Modern Vue 3 interface
- π Offline-first architecture
- π° Multi-currency support
- π Coupon and offer system
- πΎ Draft invoice management
Coming soon:
- π½οΈ Restaurant Mode - Table management, kitchen display
- π± Mobile App - Native iOS and Android apps
- π Advanced Analytics - Sales insights, trends, forecasting
- π― Loyalty Program - Points, rewards, membership tiers
- π¦ Quick Restock - Low stock alerts, auto-ordering
- π¨οΈ Receipt Customization - Custom templates, branding
- π Integration Hub - Payment gateways, accounting software
- π₯ Customer Display - Facing display for customers
Made with β€οΈ by BrainWise
β Star us on GitHub β it motivates us a lot!
Report Bug β’ Request Feature β’ Documentation





