Skip to Content

Contributors

Re: Editing/Viewing attachments (mainly Word and Excel) directly on server without the need to download locally

> I'd be willing to try to port this to 13.0 Would you be so kind and provide

> some pointers and advice if needed?

you definitely need some concept of locking, so attachment_lock will be 
necessary to port, but also quite straightforward. For starting, I think you 
can piggyback on dms' locking, but you'll miss a few things that 
attackment_lock does.
You don't need attachment_action as this was just a container. nowadays all of 
this happens much cleaner in
https://github.com/OCA/OCB/blob/13.0/addons/web/static/src/js/widgets/
attach_document.js
which you can override directly


> Also, is it OK to skip 4 major versions

> and port to 13.0 directly?

absolutely


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

by Holger Brunn - 07:46 - 20 Sep 2020

Reference

  • Editing/Viewing attachments (mainly Word and Excel) directly on server without the need to download locally

    Hello,

     

    I am investigating a possibility of allowing somehow editing and viewing of attachments without the need to download and reupload them locally. I would like for Odoo to replace any local storage and save users from need to download/upload the files. DMS module comes to mind as a good base for orgnaizing that. I can see multiple building blocks for this but I am interested if anyone has taken this idea any further. Some of the possible building blocks could be:

     

     

    I was able to access demo of Odoo 14.0 Enterprise with new possibility to create "live" spreadsheets. Don't know how that is done (is it 14.0's module google_spreadsheets?) but that won't allow for opening your own Excel nor Word files :-(

     

    Has anyone attempted anything like this succesfully? Can you give any pointers please? Thank you

     

    Best regards

     

    Radovan Skolnik


    by Radovan Skolnik - 04:51 - 20 Sep 2020