diff options
| author | Damien Bouvy <dbo@odoo.com> | 2015-04-16 16:15:08 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2015-04-22 16:47:47 +0200 |
| commit | 0d591ca6dfd6a40a2cb39014dbaf4c6c60aaa785 (patch) | |
| tree | bf84f9d354ce862c45ae1723756582a7e0702f4b /addons/website_quote/views/website_quotation.xml | |
| parent | 88260a3f2c5be17b621f1c162b06a68ad7a546c1 (diff) | |
[FIX] website_quote: accept button wasn't shown if no expiration date was set on the sale order
Diffstat (limited to 'addons/website_quote/views/website_quotation.xml')
| -rw-r--r-- | addons/website_quote/views/website_quotation.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_quote/views/website_quotation.xml b/addons/website_quote/views/website_quotation.xml index 5059d0915e8..5646bdbc0ce 100644 --- a/addons/website_quote/views/website_quotation.xml +++ b/addons/website_quote/views/website_quotation.xml @@ -156,9 +156,9 @@ <template id="quotation_toolbar"> <div class="text-center hidden-print" t-if="quotation.state in ('draft', 'sent', 'waiting_date')"> - <a class="btn btn-success fa fa-check" data-toggle="modal" data-target="#modelaccept" - t-if="days_valid"> - Accept + <a class="btn btn-success" data-toggle="modal" data-target="#modalaccept" + t-if="days_valid >= 0"> + <i class="fa fa-check"></i> Accept </a> <a class="btn btn-info fa fa-comment" type="submit" href="#discussion"> Feedback |
