mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 22:06:52 +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) {
|
||||
// should never check Private
|
||||
frm.fields_dict["website_image"].df.is_private = 0;
|
||||
|
||||
frm.set_query("website_warehouse", () => {
|
||||
return {
|
||||
filters: {"is_group": 0}
|
||||
};
|
||||
});
|
||||
},
|
||||
|
||||
image: function() {
|
||||
|
||||
Reference in New Issue
Block a user