https://github.com/kid1194/erpnext_pos_controller
https://github.com/kid1194/erpnext_pos_controller
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kid1194/erpnext_pos_controller
- Owner: kid1194
- License: mit
- Created: 2022-09-28T15:46:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T22:30:30.000Z (over 2 years ago)
- Last Synced: 2024-09-01T08:04:53.818Z (8 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-frappe - ERPNext: POS Restrictions - ERPNext plugin that helps in adding some restrictions over default POS. (Uncategorized / Uncategorized)
README
# ERPNext POS Controller (Alpha)
ERPNext plugin that helps in adding some restrictions over default POS.
---
### Table of Contents
---
### Requirements
- Frappe >= v13.0.0
- ERPNext >= v13.0.0
---
### Setup
⚠️ *Important* ⚠️
*Do not forget to replace [sitename] with the name of your site in all commands.*
#### Install
1. Go to bench directory
```
cd ~/frappe-bench
```
2. Get plugin from Github
*(Required only once)*
```
bench get-app https://github.com/kid1194/erpnext_pos_controller
```
3. Build plugin
*(Required only once)*
```
bench build --apps erpnext_pos_controller
```
4. Install plugin on a specific site
```
bench --site [sitename] install-app erpnext_pos_controller
```
5. Check the usage section below
#### Update
1. Go to app directory
```
cd ~/frappe-bench/apps/erpnext_pos_controller
```
2. Get updates from Github
```
git pull
```
3. Go to bench directory
```
cd ~/frappe-bench
```
4. Build plugin
```
bench build --apps erpnext_pos_controller
```
5. Update a specific site
```
bench --site [sitename] migrate
```
6. Restart bench
```
bench restart
```
#### Uninstall
1. Go to bench directory
```
cd ~/frappe-bench
```
2. Uninstall plugin from a specific site
```
bench --site [sitename] uninstall-app erpnext_pos_controller
```
3. Remove plugin from bench
```
bench remove-app erpnext_pos_controller
```
4. Restart bench
```
bench restart
```
---
### Usage
1. Go to **POS Controller Settings**
2. Check the **Is Enabled** box
3. Apply the settings to all users or choose the **Applicable Users** that you want
4. Check the **Restrict Max Total For All Items* box to apply the **Default Item Max Total** to all items or choose the **Restrict Items** that you want
---
### License
MIT