Skip to content

Commit

Permalink
[IMP] tg_website_event: добавили скрытие social
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Dec 4, 2024
1 parent 8e13037 commit de22609
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tg_website_event/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* Forces "Website" to be set in event

* Removes social links from registration page

Credits
=======

Expand Down
3 changes: 2 additions & 1 deletion tg_website_event/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": """Events modification for Tribal Gathering""",
"version": "14.0.0.1.0",
"version": "14.0.0.2.0",
"author": "IT-Projects LLC, Eugene Molotov",
"support": "[email protected]",
"website": "https://github.com/it-projects-llc/tg-addons",
"license": "LGPL-3",
"depends": ["website_event"],
"data": [
"views/event_event_views.xml",
"views/event_templates_page_registration.xml",
],
"demo": [],
"qweb": [],
Expand Down
12 changes: 12 additions & 0 deletions tg_website_event/views/event_templates_page_registration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="event_description_full"
inherit_id="website_event.event_description_full"
priority="15"
>
<xpath expr="//t[@t-snippet-call='website.s_share']/.." position="attributes">
<attribute name="t-if">False</attribute>
</xpath>
</template>
</odoo>

0 comments on commit de22609

Please sign in to comment.