odoo-product-configurator icon indicating copy to clipboard operation
odoo-product-configurator copied to clipboard

syntax error on saving attachment from backend wizard

Open tv-openbig opened this issue 8 years ago • 1 comments

If i want to download an attached file from the backend configurator wizards corresponding step with custom attribute of type attachment i get an syntax error, if i click on the "Save as" button to download the attached file.

Uncaught SyntaxError: Unexpected token T in JSON at position 0 http://configurator-v9.pledra.com/web#id=25&view_type=form&model=sale.order&menu_id=176&action=244:1 Traceback: SyntaxError: Unexpected token T in JSON at position 0 at JSON.parse () at HTMLIFrameElement. (http://configurator-v9.pledra.com/web/content/755-23145ff/web.assets_common.js:2554:379) at HTMLIFrameElement.dispatch (http://configurator-v9.pledra.com/web/content/755-23145ff/web.assets_common.js:740:451) at HTMLIFrameElement.elemData.handle (http://configurator-v9.pledra.com/web/content/755-23145ff/web.assets_common.js:713:173)

bildschirmfoto 2017-01-12 um 13 47 02

tv-openbig avatar Jan 12 '17 12:01 tv-openbig

The attachment save bug in the wizard should be fixed by 56e83912a270de2474199917a1aed62ea72d9753

Downloading the attachment from the configuration wizard is still something I need to look into.

Thanks for reporting, I will keep you posted

PCatinean avatar Jan 15 '17 19:01 PCatinean