콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hello, I have installed a countdown module for the website builder on my Odoo 10.0/Ubuntu 16.04

Once the module is installed, I see that in the installed apps, but there is no way to use that.

I suppose there should be a new block when a web page is the editing mode.

Any idea how to solve them?

I have tried both this module from the same author:

https://www.odoo.com/apps/modules/10.0/website_countdown/

https://www.odoo.com/apps/modules/10.0/countdown/


The readme file contains:

Countdown Widget================
This module add functionality to add widget directly to datetime field on website template.
Example:
++++++++++
Add
t-field="obj.datetime_field"  
t-field-options='{"widget": "countdown"}'

Any idea where and how to add those code?

Thank you!

아바타
취소
작성자 베스트 답변

Add the follow code to event details view:


<div class="text-center">
<span t-field="event.with_context(tz=event.date_tz).date_begin"  t-options='{"widget": "countdown"}'/>
</div>
아바타
취소
베스트 답변

Did you try contacting the author of the module?

http://www.medma.net/contactus.php

아바타
취소
작성자

Yes, they told me to check the readme file:

**************************************

Countdown Widget

================

This module add functionality to add widget directly to datetime field on website template.

Example:

++++++++++

Add

t-field="obj.datetime_field"

t-field-options='{"widget": "countdown"}'

**************************************

작성자

Any idea what to do to make that widget available while I am editing a web page? Thank you!

관련 게시물 답글 화면 활동
1
2월 17
5547
6
4월 17
6411
2
7월 18
4395
1
11월 17
10073
3
10월 17
30825