Skip to content

Custom App to ensure that no item can be added to a sale if the quantity does not respect the MOQ (minimum order quantity)

License

Notifications You must be signed in to change notification settings

momardia54/ERPnext-MOQ-Validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moq Validation

ERPNext MOQ (Minimum Order Quantity) App

This app adds Minimum Order Quantity (MOQ) functionality to ERPNext, ensuring that sales processes respect the MOQ for items.

Current Features:

1. Automatic Custom Field Creation:

  • The app now automatically creates the custom_moq field in the Item DocType during installation, eliminating the need for manual setup.
  • This field stores the minimum order quantity for each item and is set to mandatory with a default value of 1.

2. MOQ Validation:

  • During sales processes (e.g., Quotations, Sales Orders), if the item's quantity is less than the specified MOQ, the app displays an error message and blocks the transaction until the correct quantity is entered.

License:

  • AGPL-3.0

About

Custom App to ensure that no item can be added to a sale if the quantity does not respect the MOQ (minimum order quantity)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages