Merge pull request #4038 from rohitwaghchaure/calendar_not_working_v8
[Fix] Calendar view is not working for sales order
This commit is contained in:
commit
ac606fbbb1
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ frappe.views.Calendar = Class.extend({
|
|||
if(this.get_css_class) {
|
||||
color_name = this.color_map[this.get_css_class(d)];
|
||||
color_name =
|
||||
frappe.ui.color.validate(color_name) ?
|
||||
frappe.ui.color.validate_hex(color_name) ?
|
||||
color_name :
|
||||
'blue';
|
||||
d.backgroundColor = frappe.ui.color.get(color_name, 'extra-light');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue