fix: Linter and Sider
This commit is contained in:
parent
c7991f8561
commit
9596276b95
@ -123,8 +123,8 @@ class PurchaseOrder(BuyingController):
|
|||||||
if self.is_subcontracted == "Yes":
|
if self.is_subcontracted == "Yes":
|
||||||
for item in self.items:
|
for item in self.items:
|
||||||
if not item.bom:
|
if not item.bom:
|
||||||
frappe.throw(_("BOM is not specified for subcontracting item {0} at row {1}"\
|
frappe.throw(_("BOM is not specified for subcontracting item {0} at row {1}")
|
||||||
.format(item.item_code, item.idx)))
|
.format(item.item_code, item.idx))
|
||||||
|
|
||||||
def get_schedule_dates(self):
|
def get_schedule_dates(self):
|
||||||
for d in self.get('items'):
|
for d in self.get('items'):
|
||||||
|
|||||||
@ -5,6 +5,6 @@ frappe.listview_settings['Putaway Rule'] = {
|
|||||||
return [__("Disabled"), "darkgrey", "disable,=,1"];
|
return [__("Disabled"), "darkgrey", "disable,=,1"];
|
||||||
} else {
|
} else {
|
||||||
return [__("Active"), "blue", "disable,=,0"];
|
return [__("Active"), "blue", "disable,=,0"];
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user