mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
- It does not support group warehouses right now and it is misleading
(cherry picked from commit d24458ab77)
Co-authored-by: Marica <maricadsouza221197@gmail.com>
This commit is contained in:
@@ -5,6 +5,12 @@ frappe.ui.form.on('Website Item', {
|
|||||||
onload: function(frm) {
|
onload: function(frm) {
|
||||||
// should never check Private
|
// should never check Private
|
||||||
frm.fields_dict["website_image"].df.is_private = 0;
|
frm.fields_dict["website_image"].df.is_private = 0;
|
||||||
|
|
||||||
|
frm.set_query("website_warehouse", () => {
|
||||||
|
return {
|
||||||
|
filters: {"is_group": 0}
|
||||||
|
};
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
image: function() {
|
image: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user