diff options
| author | Akash Bhavsar <abh@odoo.com> | 2017-09-04 11:47:15 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-09-07 17:53:50 +0200 |
| commit | 0ff5acee9665b398d7d1c1bcdd7b47238e41f2b9 (patch) | |
| tree | ed67909eed6d5da6c2e94723f6e833ab415fdb26 /addons/web/static/src/xml/web_calendar.xml | |
| parent | af130256e3e1b1491bd33b276fe1b40f7b74e6fa (diff) | |
[FIX] web: allow default value for calendar quick create
* fix typo, widged is actually widget;
* support name coming from context for calendar event quick create;
Support of context could be made generic in quick create mechanism but
in the meantime this fix is considered as sufficient for the use case
we have.
Diffstat (limited to 'addons/web/static/src/xml/web_calendar.xml')
| -rw-r--r-- | addons/web/static/src/xml/web_calendar.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index 430c2d3772c..6573a51ca4e 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -78,7 +78,7 @@ <div t-name="CalendarView.quick_create" class="o_calendar_quick_create"> <div class="form-group"> <label for='name' class='control-label'>Summary:</label> - <input type='text' name='name' class="o_input"/> + <input type='text' name='name' class="o_input" t-att-value="widget.dataTemplate.name or None"/> </div> </div> </template> |
