Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
7769 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Did you try contacting the author of the module?

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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"}'

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

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 17
5431
6
thg 4 17
6281
2
thg 7 18
4262
1
thg 11 17
9805
3
thg 10 17
30678