mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #43346 from frappe/mergify/bp/version-15-hotfix/pr-43283
fix: shipping rule must match the company (backport #43283)
This commit is contained in:
@@ -15,10 +15,11 @@ erpnext.sales_common = {
|
|||||||
onload() {
|
onload() {
|
||||||
super.onload();
|
super.onload();
|
||||||
this.setup_queries();
|
this.setup_queries();
|
||||||
this.frm.set_query("shipping_rule", function () {
|
this.frm.set_query("shipping_rule", function (doc) {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
shipping_rule_type: "Selling",
|
shipping_rule_type: "Selling",
|
||||||
|
company: doc.company,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user