mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 01:07:19 +00:00
fix: Populate Bundle Items table
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user