diff options
| author | jpr-odoo <jpr@openerp.com> | 2017-11-01 15:15:04 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-02-09 06:59:56 +0100 |
| commit | b7aa439826df6b3e442b3f60bb593ff28efc8679 (patch) | |
| tree | 953d340f839717c5de254ca90cb3d3cde9b44d0d /addons/web/views/webclient_templates.xml | |
| parent | dfdc06fe4332b3de97a3b1f8f554ce6adc3b948d (diff) | |
[ADD] web: Add a new widget to attach documents on a record
Purpose
=======
Add the possibility to easily attach a document on a record. That could be used for to attach receipts on expense for example.
Specification
=============
Add a new widget (AttachDocument) to allow attach document from mobile/web directly on record form
After attaching document it will call action given on widget, that action will be a method name on given model
Diffstat (limited to 'addons/web/views/webclient_templates.xml')
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index 2742871c790..35ded8170cf 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -240,6 +240,7 @@ <script type="text/javascript" src="/web/static/src/js/views/calendar/calendar_quick_create.js"></script> <script type="text/javascript" src="/web/static/src/js/views/calendar/calendar_renderer.js"></script> <script type="text/javascript" src="/web/static/src/js/views/calendar/calendar_view.js"></script> + <script type="text/javascript" src="/web/static/src/js/widgets/attach_document.js"></script> <script type="text/javascript" src="/web/static/src/js/report/utils.js"/> <script type="text/javascript" src="/web/static/src/js/report/client_action.js"/> |
