Browse Source

[IMP] b_w_shift: Show Next Countdown date on intranet

pull/128/head
Rémy Taymans 5 years ago
parent
commit
739280b52d
  1. 2
      beesdoo_website_shift/__openerp__.py
  2. 5
      beesdoo_website_shift/views/my_shift_website_templates.xml

2
beesdoo_website_shift/__openerp__.py

@ -16,7 +16,7 @@
'author': 'Rémy Taymans',
'license': 'AGPL-3',
'version': '9.0.2.1.1',
'version': '9.0.2.2.0',
'website': "https://github.com/beescoop/Obeesdoo",
'category': 'Cooperative management',

5
beesdoo_website_shift/views/my_shift_website_templates.xml

@ -862,6 +862,11 @@
<t t-esc="status.sr"/>
</p>
<p t-if="status.next_countdown_date">
<label>Next Countdown Date:</label>
<t t-esc="time.strftime('%A %d %B %Y', time.strptime(status.next_countdown_date, '%Y-%m-%d'))"/>
</p>
<p t-if="status.future_alert_date">
<label>Future Date of Alert:</label>
<t t-esc="time.strftime('%A %d %B %Y', time.strptime(status.future_alert_date, '%Y-%m-%d'))"/>

Loading…
Cancel
Save