frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.68k stars 614 forks source link

purchase receipt rate must be above 0. #774

Open chaoxu opened 7 months ago

chaoxu commented 7 months ago

Description

While trying to create a purchase receipt. There is an item with rate $0 arriving the store.

Expected behavior: successfully submit Current behavior: validation error: Rate (0) has to be greater than zero

Steps to Reproduce

Create any purchase receipt where one of the item has rate 0.

Info

Version: 0.19.0 Platform: darwin Path: /list/PurchaseReceipt Language: - Country: us