Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 47 |
Technical Name |
smile_datepicker_widget |
License | AGPL-3 |
Website | http://www.smile.fr |
Datepicker Widget
This module allows configuring a datepicker popup's default date to depends on another date's value. For example , if you have a start date and an end date (fields types can be date or datetime), you can force end date's datepicker popup default date to be equals to start date + 1 day.
Table of contents
Usage
In the end date field's options (the field that you want to depend on an another datefield) add:
<field name="end_date" options="{'datepicker_start_date':'name of start date's field','datepicker_step': 3}"/>
Where name of start date's field is the name of the field you want to be followed and 3 (optional, by default datepicker_step = 1 ) represents the difference (number of days) between start date and the end date's datepicker popup default date.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.
Do not contact contributors directly about support or help with technical issues.
GDPR / EU Privacy
This addons does not collect any data and does not set any browser cookies.
Credits
Contributors
- Timothée BANCKAERT
- Wafaa JAOUAHAR
Maintainer
This module is maintained by Smile SA.
Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.
This module is part of the odoo-addons project on GitHub.
You are welcome to contribute.
Please log in to comment on this module