Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
f4e923d161
@ -47,7 +47,7 @@ cur_frm.cscript.make_address = function() {
|
|||||||
if(!cur_frm.address_list) {
|
if(!cur_frm.address_list) {
|
||||||
cur_frm.address_list = new wn.ui.Listing({
|
cur_frm.address_list = new wn.ui.Listing({
|
||||||
parent: cur_frm.fields_dict['address_html'].wrapper,
|
parent: cur_frm.fields_dict['address_html'].wrapper,
|
||||||
page_length: 2,
|
page_length: 5,
|
||||||
new_doctype: "Address",
|
new_doctype: "Address",
|
||||||
custom_new_doc: function(doctype) {
|
custom_new_doc: function(doctype) {
|
||||||
var address = wn.model.make_new_doc_and_get_name('Address');
|
var address = wn.model.make_new_doc_and_get_name('Address');
|
||||||
@ -78,7 +78,7 @@ cur_frm.cscript.make_contact = function() {
|
|||||||
if(!cur_frm.contact_list) {
|
if(!cur_frm.contact_list) {
|
||||||
cur_frm.contact_list = new wn.ui.Listing({
|
cur_frm.contact_list = new wn.ui.Listing({
|
||||||
parent: cur_frm.fields_dict['contact_html'].wrapper,
|
parent: cur_frm.fields_dict['contact_html'].wrapper,
|
||||||
page_length: 2,
|
page_length: 5,
|
||||||
new_doctype: "Contact",
|
new_doctype: "Contact",
|
||||||
custom_new_doc: function(doctype) {
|
custom_new_doc: function(doctype) {
|
||||||
var contact = wn.model.make_new_doc_and_get_name('Contact');
|
var contact = wn.model.make_new_doc_and_get_name('Contact');
|
||||||
|
@ -57,7 +57,7 @@ cur_frm.cscript.make_address = function() {
|
|||||||
if(!cur_frm.address_list) {
|
if(!cur_frm.address_list) {
|
||||||
cur_frm.address_list = new wn.ui.Listing({
|
cur_frm.address_list = new wn.ui.Listing({
|
||||||
parent: cur_frm.fields_dict['address_html'].wrapper,
|
parent: cur_frm.fields_dict['address_html'].wrapper,
|
||||||
page_length: 2,
|
page_length: 5,
|
||||||
new_doctype: "Address",
|
new_doctype: "Address",
|
||||||
custom_new_doc: function(doctype) {
|
custom_new_doc: function(doctype) {
|
||||||
var address = wn.model.make_new_doc_and_get_name('Address');
|
var address = wn.model.make_new_doc_and_get_name('Address');
|
||||||
@ -88,7 +88,7 @@ cur_frm.cscript.make_contact = function() {
|
|||||||
if(!cur_frm.contact_list) {
|
if(!cur_frm.contact_list) {
|
||||||
cur_frm.contact_list = new wn.ui.Listing({
|
cur_frm.contact_list = new wn.ui.Listing({
|
||||||
parent: cur_frm.fields_dict['contact_html'].wrapper,
|
parent: cur_frm.fields_dict['contact_html'].wrapper,
|
||||||
page_length: 2,
|
page_length: 5,
|
||||||
custom_new_doc: function(doctype) {
|
custom_new_doc: function(doctype) {
|
||||||
var contact = wn.model.make_new_doc_and_get_name('Contact');
|
var contact = wn.model.make_new_doc_and_get_name('Contact');
|
||||||
contact = locals['Contact'][contact];
|
contact = locals['Contact'][contact];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user