fix: Populate Bundle Items table

This commit is contained in:
GangaManoj 2021-08-24 17:58:23 +05:30
parent 91af0d6ffb
commit 8af5802e42

View File

@ -31,6 +31,9 @@ class Quotation(SellingController):
if self.items:
self.with_items = 1
from erpnext.stock.doctype.packed_item.packed_item import make_packing_list
make_packing_list(self)
def validate_valid_till(self):
if self.valid_till and getdate(self.valid_till) < getdate(self.transaction_date):
frappe.throw(_("Valid till date cannot be before transaction date"))