diff --git a/trytond/trytond/ir/module.py b/trytond/trytond/ir/module.py index 394203cba4..7f18cbd2c8 100644 --- a/trytond/trytond/ir/module.py +++ b/trytond/trytond/ir/module.py @@ -425,7 +425,7 @@ class ModuleConfigWizardOther(ModelView): 'Module Config Wizard Other' __name__ = 'ir.module.config_wizard.other' - percentage = fields.Float('Percentage', readonly=True) + percentage = fields.Float('Percentage', digits=(1, 2), readonly=True) @staticmethod def default_percentage(): @@ -435,7 +435,7 @@ class ModuleConfigWizardOther(ModelView): ('state', '=', 'done'), ], count=True) all = Item.search([], count=True) - return done / all + return round(done / all, 2) class ModuleConfigWizardDone(ModelView):