Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Data Dance s.r.o., Radovan Skolnik
- 20/09/2020 19:56:58
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




Reference