feat: added jinja method get_serial_or_batch_nos for print format and new print format 'Purchase Receipt Serial and Batch Bundle Print for reference

This commit is contained in:
Rohit Waghchaure
2023-06-02 00:11:43 +05:30
parent 40ab3bdd35
commit bb95451db6
9 changed files with 66 additions and 21 deletions

View File

@@ -8,10 +8,10 @@ from typing import Optional, Set, Tuple
import frappe
from frappe import _, scrub
from frappe.model.meta import get_field_precision
from frappe.query_builder import Case
from frappe.query_builder.functions import CombineDatetime, Sum
from frappe.utils import (
cint,
cstr,
flt,
get_link_to_form,
getdate,