Files
odoo_source/addons/mrp/static/src/xml/mrp_document_template.xml
T
Ankita Raval 65513ef3f9 [IMP] mrp: mrp_document
Purpose:
Modernizes and facilitates files upload in manufacturing app.

In this Commit:
  - Show the image in Kanban.
  - Allow to access a preview of the file when clicking on it in the
    Kanban view.
  - Add a 'Edit', 'Delete' and 'Download' in kanban card dropdown menu.
  - Add Upload button in control panel to upload document which will
    create new record of `mrp.document` and also add a testcase for it.

task-1960733

closes odoo/odoo#42168

Related: odoo/enterprise#8977
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-03-04 10:12:46 +00:00

11 lines
257 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<div t-name="MrpDocumentsKanbanView.buttons">
<button type="button" t-attf-class="btn btn-primary o_mrp_documents_kanban_upload">
Upload
</button>
</div>
</templates>