summaryrefslogtreecommitdiff
path: root/addons/base_module_quality/wizard/module_quality_check.py
diff options
context:
space:
mode:
authorqdp <qdp@tinyerp.com>2009-01-08 14:03:20 +0100
committerqdp <qdp@tinyerp.com>2009-01-08 14:03:20 +0100
commit8a06bea953c16c90d4bef269638b5d6b467b89a9 (patch)
treec365274f23963f61522737ef1138e6f624c7fffe /addons/base_module_quality/wizard/module_quality_check.py
parentb141de765db622f36e195261426756a343dd96c7 (diff)
base_module_quality improvements:
*added note field *improved transability *improved output *cleaned *modified format_table method bzr revid: qdp@tinyerp.com-20090108130320-ypcc4jxbx51jv1ra
Diffstat (limited to 'addons/base_module_quality/wizard/module_quality_check.py')
-rw-r--r--addons/base_module_quality/wizard/module_quality_check.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/base_module_quality/wizard/module_quality_check.py b/addons/base_module_quality/wizard/module_quality_check.py
index 1cd2031f202..002810b7976 100644
--- a/addons/base_module_quality/wizard/module_quality_check.py
+++ b/addons/base_module_quality/wizard/module_quality_check.py
@@ -48,6 +48,7 @@ class quality_check_detail(osv.osv):
'name': fields.char('Name',size=128,),
'score': fields.float('Score (%)',),
'ponderation': fields.float('Ponderation',help='Some tests are more critical than others, so they have a bigger weight in the computation of final rating'),
+ 'note': fields.text('Note',),
'summary': fields.text('Summary',),
'detail' : fields.text('Details',),
'state': fields.selection([('done','Done'),('skipped','Skipped'),], 'State', size=6, help='The test will be completed only if the module is installed or if the test may be processed on uninstalled module.'),
@@ -84,6 +85,7 @@ class create_quality_check(wizard.interface):
'summary': val.result,
'detail': val.result_details,
'state': 'done',
+ 'note': val.note,
}
create_ids.append((0,0,data))
score_sum += val.score * val.ponderation
@@ -91,6 +93,7 @@ class create_quality_check(wizard.interface):
else:
data = {
'name': val.name,
+ 'note': val.note,
'score': 0,
'state': 'skipped',
'summary': _("The module has to be installed before running this test.")