mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
chore: resolve conflict
This commit is contained in:
@@ -89,11 +89,6 @@ frappe.ui.form.on("Sales Order", {
|
|||||||
}, __('Get Items From'));
|
}, __('Get Items From'));
|
||||||
},
|
},
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
onload: function(frm) {
|
|
||||||
if (!frm.doc.transaction_date){
|
|
||||||
frm.set_value('transaction_date', frappe.datetime.get_today())
|
|
||||||
=======
|
|
||||||
// When multiple companies are set up. in case company name is changed set default company address
|
// When multiple companies are set up. in case company name is changed set default company address
|
||||||
company: function (frm) {
|
company: function (frm) {
|
||||||
if (frm.doc.company) {
|
if (frm.doc.company) {
|
||||||
@@ -115,10 +110,9 @@ frappe.ui.form.on("Sales Order", {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onload: function (frm) {
|
onload: function(frm) {
|
||||||
if (!frm.doc.transaction_date) {
|
if (!frm.doc.transaction_date){
|
||||||
frm.set_value("transaction_date", frappe.datetime.get_today());
|
frm.set_value('transaction_date', frappe.datetime.get_today())
|
||||||
>>>>>>> c6cf1bec76 (fix: get address if multiple companies)
|
|
||||||
}
|
}
|
||||||
erpnext.queries.setup_queries(frm, "Warehouse", function() {
|
erpnext.queries.setup_queries(frm, "Warehouse", function() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user