Frappe Framework

Learn about Frappe Framework on our blog

Stock Report With Image

var intervalId = window.setInterval(function(){ populate_images(); }, 1000); function populate_images() { // This assumes the images go into the first column. $('.dt-cell__content--col-1').map(function(i,el) { var content = $(el).html().trim(); if...

read more

Multiple naming series

Below example is of Sales Invoice if Is return is marked the series will be of the CN-0001 or else the series will be SI-0001 frappe.ui.form.on("Sales Invoice", { before_save(frm) { if(frm.doc.__islocal == 1){ if(frm.doc.is_return == 1){...

read more