diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py index 763d0784603..955591e8824 100644 --- a/addons/base_setup/res_config.py +++ b/addons/base_setup/res_config.py @@ -41,7 +41,9 @@ class base_config_settings(osv.osv_memory): help="""This installs the module google_docs."""), 'module_google_calendar': fields.boolean('Allow the users to synchronize their calendar with Google Calendar', help="""This installs the module google_calendar."""), - 'font': fields.many2one('res.font', string="Report Font", help="Set the font into the report header, it will be used as default font in the RML reports of the user company"), + 'font': fields.many2one('res.font', string="Report Font", domain=[('mode', 'in', ('Normal', 'Regular', 'all', 'Book'))], + help="Set the font into the report header, it will be used as default font in the RML reports of the user company"), + } _defaults= { diff --git a/addons/base_setup/res_config_view.xml b/addons/base_setup/res_config_view.xml index 73fc9f83830..66fdcf91633 100644 --- a/addons/base_setup/res_config_view.xml +++ b/addons/base_setup/res_config_view.xml @@ -99,7 +99,7 @@