fix: Populate Bundle Items table
This commit is contained in:
parent
91af0d6ffb
commit
8af5802e42
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user