mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Revert "[10.0] help_online fix export/import (#584)"
This reverts commit 95f15c43d5.
This commit is contained in:
committed by
Jairo Llopis
parent
95f15c43d5
commit
173355c1ff
@@ -81,7 +81,6 @@ class TestWizardCommon(object):
|
||||
'type': 'qweb',
|
||||
'arch': arch,
|
||||
'page': True,
|
||||
'key': 'website.%' % pageName
|
||||
}
|
||||
view_id = self.env['ir.ui.view'].create(vals)
|
||||
return view_id.id
|
||||
|
||||
@@ -31,8 +31,6 @@ class TestExportHelpWizard(TestWizardCommon):
|
||||
templateNodeList = rootXml.findall(xPath)
|
||||
self.assertEqual(len(templateNodeList), 1)
|
||||
self.assertNotIn("website.", templateNodeList[0].attrib['name'])
|
||||
self.assertEqual(
|
||||
"website." + self.pageName, templateNodeList[0].attrib['key'])
|
||||
|
||||
if self.imgXmlId:
|
||||
xPath = ".//record[@id='%s']" % self.imgXmlId
|
||||
|
||||
@@ -236,7 +236,6 @@ class ExportHelpWizard(models.TransientModel):
|
||||
root.attrib['name'] = ir_ui_view.name.replace('website.', '')
|
||||
root.attrib['id'] = xml_id
|
||||
root.attrib['page'] = 'True'
|
||||
root.attrib['key'] = ir_ui_view.key
|
||||
|
||||
self._manage_images_on_page(root, data_node, exported_resources)
|
||||
self._clean_href_urls(root, page_prefix, template_prefix)
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<button name="export_help"
|
||||
string="Export"
|
||||
type="object"
|
||||
icon="fa-magic"
|
||||
icon="gtk-execute"
|
||||
class="oe_highlight" />
|
||||
or
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user