fix: Linter and Sider

This commit is contained in:
marination 2020-11-23 10:32:17 +05:30
parent c7991f8561
commit 9596276b95
2 changed files with 3 additions and 3 deletions

View File

@ -123,8 +123,8 @@ class PurchaseOrder(BuyingController):
if self.is_subcontracted == "Yes":
for item in self.items:
if not item.bom:
frappe.throw(_("BOM is not specified for subcontracting item {0} at row {1}"\
.format(item.item_code, item.idx)))
frappe.throw(_("BOM is not specified for subcontracting item {0} at row {1}")
.format(item.item_code, item.idx))
def get_schedule_dates(self):
for d in self.get('items'):

View File

@ -5,6 +5,6 @@ frappe.listview_settings['Putaway Rule'] = {
return [__("Disabled"), "darkgrey", "disable,=,1"];
} else {
return [__("Active"), "blue", "disable,=,0"];
};
}
}
};