Update TNCSC deployment modules, views, assets, and configs
BIN
addons/asstes/Board Of Directors-banner.webp
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
addons/asstes/Membership Benefits.webp
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
addons/asstes/Membership Registration- banner.webp
Normal file
|
After Width: | Height: | Size: 356 KiB |
BIN
addons/asstes/about us/about-banner.webp
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
addons/asstes/about us/bottom-left.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
addons/asstes/about us/bottom-right.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
addons/asstes/about us/top-left.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
addons/asstes/about us/top-right.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
addons/asstes/contact-banner.webp
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
addons/asstes/events/event-banner.webp
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
addons/asstes/events/summer-picnic.jpg
Normal file
|
After Width: | Height: | Size: 259 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
After Width: | Height: | Size: 74 KiB |
BIN
addons/asstes/home/footer-bgwithclor.webp
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
addons/asstes/home/home-be-a-part-of-legacy.webp
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
addons/asstes/member-banner.webp
Normal file
|
After Width: | Height: | Size: 338 KiB |
BIN
addons/asstes/tamil-class-banner.webp
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
addons/asstes/tamilnadu/tamilnadu-1.webp
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
addons/asstes/tamilnadu/tamilnadu-2.webp
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
addons/asstes/tamilnadu/tamilnadu-banner.webp
Normal file
|
After Width: | Height: | Size: 228 KiB |
BIN
addons/footer-bgwithclor.webp
Normal file
|
After Width: | Height: | Size: 95 KiB |
@ -1,4 +1,5 @@
|
|||||||
from . import models
|
from . import models
|
||||||
|
from . import controllers
|
||||||
|
|
||||||
|
|
||||||
def post_init_hook(env):
|
def post_init_hook(env):
|
||||||
|
|||||||
1
addons/tncsc_deployment/controllers/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
from . import main
|
||||||
14
addons/tncsc_deployment/controllers/main.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
from odoo import http
|
||||||
|
from odoo.http import request
|
||||||
|
|
||||||
|
try:
|
||||||
|
from odoo.addons.website_event.controllers.main import WebsiteEvent
|
||||||
|
except ImportError:
|
||||||
|
WebsiteEvent = http.Controller
|
||||||
|
|
||||||
|
|
||||||
|
class TNCSCWebsiteEvent(WebsiteEvent):
|
||||||
|
|
||||||
|
@http.route(['/event', '/event/page/<int:page>'], type='http', auth="public", website=True, sitemap=True)
|
||||||
|
def events(self, page=1, **searches):
|
||||||
|
return request.render("tncsc_deployment.page_events")
|
||||||
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo noupdate="1">
|
<odoo noupdate="0">
|
||||||
<!-- Real upcoming event, matching what's live on tncsc.com/events (2026-08-20).
|
<!-- Real upcoming event, matching what's live on tncsc.com/events (2026-08-20).
|
||||||
Update/replace once TNCSC confirms the venue address. -->
|
Update/replace once TNCSC confirms the venue address. -->
|
||||||
<record id="partner_summer_picnic_venue" model="res.partner">
|
<record id="partner_summer_picnic_venue" model="res.partner">
|
||||||
@ -11,8 +11,8 @@
|
|||||||
</record>
|
</record>
|
||||||
<record id="event_summer_picnic_2026" model="event.event">
|
<record id="event_summer_picnic_2026" model="event.event">
|
||||||
<field name="name">TNCSC's Summer Picnic 2026</field>
|
<field name="name">TNCSC's Summer Picnic 2026</field>
|
||||||
<field name="date_begin" eval="'2026-07-11 14:00:00'"/>
|
<field name="date_begin" eval="'2026-10-11 14:00:00'"/>
|
||||||
<field name="date_end" eval="'2026-07-11 20:00:00'"/>
|
<field name="date_end" eval="'2026-10-11 20:00:00'"/>
|
||||||
<field name="address_id" ref="partner_summer_picnic_venue"/>
|
<field name="address_id" ref="partner_summer_picnic_venue"/>
|
||||||
<field name="website_published">True</field>
|
<field name="website_published">True</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
BIN
addons/tncsc_deployment/static/src/img/about/about-banner.webp
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
addons/tncsc_deployment/static/src/img/about/bottom-left.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
addons/tncsc_deployment/static/src/img/about/bottom-right.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
addons/tncsc_deployment/static/src/img/about/top-left.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
addons/tncsc_deployment/static/src/img/about/top-right.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
addons/tncsc_deployment/static/src/img/board/board-banner.webp
Normal file
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 22 KiB |
BIN
addons/tncsc_deployment/static/src/img/events/event-banner.webp
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
addons/tncsc_deployment/static/src/img/events/summer-picnic.jpg
Normal file
|
After Width: | Height: | Size: 259 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 338 KiB |
|
After Width: | Height: | Size: 356 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 228 KiB |
@ -1,5 +1,5 @@
|
|||||||
[options]
|
[options]
|
||||||
admin_passwd = $pbkdf2-sha512$600000$h9A6h9Cac04pBaDUGoOwFg$FrvE9uDPOH6MSH6kkZvcRdsNDnnghqvWQtnjdSNGo8w0R139ubAGlyf.YVE3Zvd9Z9kTG5Twvg5yIjfgSIAV7w
|
admin_passwd = $pbkdf2-sha512$600000$DCFk7J0TorRWCqE0Roix9g$Z2h01In5EA3aw7HI02qKceM2Cy/Wjf19CQA7Qp3Hg8N2FCpShR3d2q9OEDkW/O56SC2vH9e.1Lb9LXIErWhbhQ
|
||||||
db_host = db
|
db_host = db
|
||||||
db_port = 5432
|
db_port = 5432
|
||||||
db_user = odoo
|
db_user = odoo
|
||||||
@ -11,3 +11,4 @@ proxy_mode = False
|
|||||||
logfile =
|
logfile =
|
||||||
log_level = info
|
log_level = info
|
||||||
|
|
||||||
|
db_name = sri_tncsc
|
||||||
|
|||||||