chore: resolve conflict

This commit is contained in:
ruthra kumar
2024-04-16 16:38:32 +05:30
parent c2b6b64e2e
commit ee06448f0d

View File

@@ -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) {
@@ -117,8 +112,7 @@ 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 {