mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-28 23:51:48 +01:00
* fix: 🐛 fixing buying controller to include transaction controller… (#49140)
* fix: 🐛 fixing buying controller to include transaction controller function
* refactor: fixed formatting
---------
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
(cherry picked from commit aedb171dd4)
# Conflicts:
# erpnext/public/js/controllers/buying.js
* chore: resolve conflicts
---------
Co-authored-by: jll-02 <63648645+jll-02@users.noreply.github.com>
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
This commit is contained in:
@@ -159,8 +159,9 @@ erpnext.buying = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
company(){
|
company() {
|
||||||
if(!frappe.meta.has_field(this.frm.doc.doctype, "billing_address")) return;
|
super.company();
|
||||||
|
if (!frappe.meta.has_field(this.frm.doc.doctype, "billing_address")) return;
|
||||||
|
|
||||||
frappe.call({
|
frappe.call({
|
||||||
method: "erpnext.setup.doctype.company.company.get_billing_shipping_address",
|
method: "erpnext.setup.doctype.company.company.get_billing_shipping_address",
|
||||||
|
|||||||
Reference in New Issue
Block a user