From 31509af99396d4c35d86dcd518ee444727a68fa7 Mon Sep 17 00:00:00 2001 From: Dhara Shah Date: Fri, 11 May 2007 06:46:45 +0000 Subject: [PATCH] new field for the color,but color is not implementd in the report yet bzr revid: dsh@tinyerp.com-2278d0461891e6934b980861148b6feba804142b --- addons/account_report/account.py | 2 ++ addons/account_report/account_view.xml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/addons/account_report/account.py b/addons/account_report/account.py index 7c102700dfe..3c5ff566bdd 100644 --- a/addons/account_report/account.py +++ b/addons/account_report/account.py @@ -120,6 +120,8 @@ class account_report(osv.osv): string='Status' ), 'style': fields.selection([('1','Header 1'), ('2','Header 2'), ('3','Header 3'), ('4','Header 4'), ('5','Normal'), ('6', 'Small')], 'Style', required=True), + 'color_font' : fields.selection([('green','Green'),('red','Red')], 'Font Color') + #color_font and color_background } _defaults = { 'style': lambda *args: '5', diff --git a/addons/account_report/account_view.xml b/addons/account_report/account_view.xml index b66bc8c26e7..a984a3ce69e 100644 --- a/addons/account_report/account_view.xml +++ b/addons/account_report/account_view.xml @@ -17,6 +17,7 @@ + @@ -59,16 +60,16 @@ form form,tree - account.report.report.tree account.report.report tree -