Se rendre au contenu
Menu
Cette question a été signalée

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!

Avatar
Ignorer
Auteur Meilleure réponse

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>
Avatar
Ignorer
Meilleure réponse

Did you try contacting the author of the module?

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

Avatar
Ignorer
Auteur

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

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

Auteur

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

Publications associées Réponses Vues Activité
1
févr. 17
5342
6
avr. 17
6176
2
juil. 18
4216
1
nov. 17
9696
3
oct. 17
30592