Browse Source

[MIG] survey_input_debrand

16.0
RemiFr82 1 week ago
parent
commit
e69556a8b0
  1. 0
      survey_input_debrand/__init__.py
  2. 6
      survey_input_debrand/__manifest__.py
  3. 9
      survey_input_debrand/templates/layout.xml
  4. 10
      survey_input_odoo_debrand/templates/layout.xml

0
survey_input_odoo_debrand/__init__.py → survey_input_debrand/__init__.py

6
survey_input_odoo_debrand/__manifest__.py → survey_input_debrand/__manifest__.py

@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Survey input debranding",
"name": "Survey input debrand",
"version": "1.0.0",
"summary": """
Removes Odoo branding from surveys
""",
"description": """
This module removes the \"Create a free website with odoo\" mention at the bottom of survey inputs.
This module removes the \"Powered by odoo\" mention at the bottom right of survey inputs.
""",
"author": "RemiFr82",
"contributors": "Sudokeys",
@ -17,7 +17,7 @@
# "price": 0,
# "currency": "EUR",
"application": False,
"installable": False,
"installable": True,
"auto_install": False,
"pre_init_hook": "",
"post_init_hook": "",

9
survey_input_debrand/templates/layout.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="layout" name="Remove Odoo branding" priority="1" inherit_id="survey.layout">
<xpath expr="//div[@t-call='web.brand_promotion_message']" position="replace">
</xpath>
</template>
</odoo>

10
survey_input_odoo_debrand/templates/layout.xml

@ -1,10 +0,0 @@
<?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