Browse Source

[ADD] survey_odoo_debrand module

12.0
Rémi FRANÇOIS 4 years ago
parent
commit
de9e00e9cd
  1. 0
      survey_input_odoo_debrand/__init__.py
  2. 32
      survey_input_odoo_debrand/__manifest__.py
  3. 10
      survey_input_odoo_debrand/templates/layout.xml

0
survey_input_odoo_debrand/__init__.py

32
survey_input_odoo_debrand/__manifest__.py

@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Survey input debranding',
'version': '1.0.0',
'summary': """
This module removes the \"Create a free website with odoo\" mention at the bottom right of survey inputs.
""",
'description': """ """,
'author': 'Sudokeys',
'website': 'http://www.sudokeys.com',
'license': 'AGPL-3',
'category': 'Marketing',
'depends': [
'survey',
],
'data': [
'templates/layout.xml',
],
'demo': [],
'auto_install': False,
'external_dependencies': [],
'application': False,
'css': [],
'images': [],
'js': [],
'installable': True,
'maintainer': 'Sudokeys',
'pre_init_hook': '',
'post_init_hook': '',
'uninstall_hook': '',
}

10
survey_input_odoo_debrand/templates/layout.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="layout" name="Remove Odoo branding" priority="1" inherit_id="survey.layout">
<xpath expr="//div[hasclass('container','mt16','mb8')]/div[hasclass('float-right')]" position="replace">
<div class="float-right" t-ignore="true" t-if="not editable"/>
</xpath>
</template>
</odoo>
Loading…
Cancel
Save