Browse Source

[IMP] mis_builder: default values for colors

pull/189/head
Stéphane Bidoul 9 years ago
parent
commit
c832020749
  1. 4
      mis_builder/models/mis_report_style.py

4
mis_builder/models/mis_report_style.py

@ -90,10 +90,12 @@ class MisReportKpiStyle(models.Model):
color = fields.Char( color = fields.Char(
string='Text color', string='Text color',
help='Text color in valid RGB code (from #000000 to #FFFFFF)', help='Text color in valid RGB code (from #000000 to #FFFFFF)',
default='#000000',
) )
background_color_inherit = fields.Boolean(default=True) background_color_inherit = fields.Boolean(default=True)
background_color = fields.Char( background_color = fields.Char(
help='Background color in valid RGB code (from #000000 to #FFFFFF)'
help='Background color in valid RGB code (from #000000 to #FFFFFF)',
default='#FFFFFF',
) )
# font # font
font_style_inherit = fields.Boolean(default=True) font_style_inherit = fields.Boolean(default=True)

Loading…
Cancel
Save