From 6832836eb04babe394c6ab15881be9374109e7cb Mon Sep 17 00:00:00 2001 From: Quentin Theuret Date: Thu, 22 Feb 2018 11:15:11 +0100 Subject: [PATCH] [FIX] Fix issue with export_help_wizard test --- help_online/wizards/export_help_wizard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/help_online/wizards/export_help_wizard.py b/help_online/wizards/export_help_wizard.py index 5dbb3557..669cb78a 100644 --- a/help_online/wizards/export_help_wizard.py +++ b/help_online/wizards/export_help_wizard.py @@ -217,7 +217,7 @@ class ExportHelpWizard(models.TransientModel): return False domain = [('type', '=', 'qweb'), - ('page', '=', True), + ('page_ids', '!=', False), '|', ('name', 'like', '%s%%' % page_prefix), ('name', 'like', '%s%%' % template_prefix)] @@ -234,7 +234,7 @@ class ExportHelpWizard(models.TransientModel): ir_ui_view, root.attrib.pop('t-name')) root.attrib['name'] = ir_ui_view.name.replace('website.', '') root.attrib['id'] = xml_id - root.attrib['page'] = 'True' + root.attrib['page_ids'] = 'True' root.attrib['key'] = ir_ui_view.key self._manage_images_on_page(root, data_node, exported_resources)