diff options
| author | Harshad Modi <hmo@odoo.com> | 2017-06-07 13:45:04 +0530 |
|---|---|---|
| committer | ged-odoo <ged@odoo.com> | 2017-06-07 10:15:04 +0200 |
| commit | 922a04dbd2acbd547c0279b046099647c5f9eb3f (patch) | |
| tree | f146f7283ef685c67d56042dfd0a19bf563cd540 /addons/project/static/src/xml/project.xml | |
| parent | ac1fad575e8e6b668e4fb7d42340af8b0058b952 (diff) | |
[FIX] project: fix traceback while setting cover image
from project task kanban view (PR #17165)
Diffstat (limited to 'addons/project/static/src/xml/project.xml')
| -rw-r--r-- | addons/project/static/src/xml/project.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/static/src/xml/project.xml b/addons/project/static/src/xml/project.xml index d9c4f3fa675..a2d222784b9 100644 --- a/addons/project/static/src/xml/project.xml +++ b/addons/project/static/src/xml/project.xml @@ -2,7 +2,7 @@ <templates id="template" xml:space="preserve"> <t t-name="project.SetCoverModal"> <div t-if="attachment_ids.length > 0" class="o_kanban_task_cover_image"> - <img t-foreach="attachment_ids" t-as="attachment" t-attf-class="img-responsive#{cover_id == attachment['id'] ? ' o_selected' : ''}" t-attf-src="/web/image/#{attachment['id']}?unique=1" t-att-data-id="attachment['id']"/> + <img t-foreach="attachment_ids" t-as="attachment" t-attf-class="img-responsive#{cover_id == attachment['id'] ? ' o_selected' : ''}" t-attf-src="/web/image/#{attachment['id']}?unique=1" t-att-data-id="attachment['id']" t-att-data-name="attachment['name']"/> </div> <div t-if="attachment_ids.length == 0">There is no available image to be set as cover. Send a message on the task with an attached image.</div> </t> |
