Skip to Content

Contributors

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

Thanx for info. Will check the code of both. Will have to make an instance of 
8.0 to be able to try it. 

Is there a reason in your opinion for this to depend on DMS (i.e. locking) or 
it can be done independently of it? If it can be done independently, should it 
be though?

Best regards

	Radovan

On nedeľa 20. septembra 2020 19:47:18 CEST Holger Brunn wrote:

> > 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

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [1]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [2]

> 

> 

> 

> [1] https://odoo-community.org/groups/contributors-15

> [2] https://odoo-community.org/groups?unsubscribe





by Radovan Skolnik - 08:01 - 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