I Have attached Some files using document management module in one Model. I need to open that attachment on button click in another model
Below code is for reference.
XML Code:-
<button string="System Help" type="object" class="oe_finesse_highlight" name="emp_system_help"/>
.py Code:-
def emp_system_help(self, cr, uid, ids, context=None):
//Need action to download attachment which is attached using Document management Module return
Thanks in advance.
Get an idea from here: http://learnopenerp.blogspot.com/2020/06/write-binary-data-nto-zip-file-and-downlaod-it-on-button-click-in-odoo.html