Search found 491 matches

by rosarior
Thu Feb 20, 2020 3:04 am
Forum: Releases
Topic: Version 3.3.13
Replies: 0
Views: 9

Version 3.3.13

Released: February 14th, 2020 Please read the release notes before upgrading: https://docs.mayan-edms.com/releases/3.3.13.html Changes Commands The management command interface was updated to remove the ‘interactive’ option. This is not required for Django 1.11 and will be cause an error in Django 2...
by rosarior
Tue Feb 18, 2020 2:58 am
Forum: API
Topic: Converting a Staging Document into a Real Document
Replies: 1
Views: 41

Re: Converting a Staging Document into a Real Document

Thanks for the post and the issue ticket. We've added this to the work list and will be scheduling time to implement it.
by rosarior
Tue Feb 18, 2020 2:55 am
Forum: General topics
Topic: Using MAYAN_COMMON_DISABLED_APPS
Replies: 3
Views: 416

Re: Using MAYAN_COMMON_DISABLED_APPS

Hi,

it is not possible to disable the checkouts app. The sources app uses it to determine if it should allow or block new document version from being created. For version 4 we are discussing some ideas to decouple the apps and make them independent.
by rosarior
Mon Feb 17, 2020 3:10 am
Forum: Under the hood
Topic: List View Instead of Thumbnail Grid
Replies: 2
Views: 28

Re: List View Instead of Thumbnail Grid

This is a planned feature for version 4.0 (https://gitlab.com/mayan-edms/mayan-edms/-/wikis/roadmap). And some of our consultation clients have a prototype version of the feature. This is one of the many advantages our consultation contract offers, priority access to upcoming features. Version 4.0 i...
by rosarior
Mon Feb 17, 2020 3:04 am
Forum: General topics
Topic: Recommended Automated Backups
Replies: 9
Views: 263

Re: Recommended Automated Backups

This is very clever @manux! Thank you for sharing your backup and restore script!
by rosarior
Thu Feb 13, 2020 2:59 am
Forum: Under the hood
Topic: Internal server error when allow_multiple is set to False
Replies: 2
Views: 59

Re: Internal server error when allow_multiple is set to False

Hi,

If you set

Code: Select all

allow_multiple = False
the field and the widget will be a single entry element. This means you will not get a QuerySet instance as your code is expecting but a single Model instance.

The code should be:

Code: Select all

result['offers'] = cleaned_data['offers']
by rosarior
Thu Feb 13, 2020 2:55 am
Forum: API
Topic: REST API Upload document to a cabinet
Replies: 1
Views: 62

Re: REST API Upload document to a cabinet

I just tried it our and works as expected with version 3.3.12. The result code should be 201. it could be a permission issue, try it out on the UI with the same API user to validate it is correctly setup. The "Add documents to cabinets" permission must be granted for the cabinet and the document/doc...
by rosarior
Thu Feb 13, 2020 2:47 am
Forum: API
Topic: Busqueda por metadato
Replies: 1
Views: 25

Re: Busqueda por metadato

Si, es posible usando la busqueda avanzada.
2020-02-12_22-47_1.png
2020-02-12_22-47_1.png (24.4 KiB) Viewed 13 times
2020-02-12_22-47.png
2020-02-12_22-47.png (38.03 KiB) Viewed 13 times
by rosarior
Fri Feb 07, 2020 3:28 am
Forum: Under the hood
Topic: Help needed when writing new app, DecimalField shows up as editable in SingleObjectDetailView
Replies: 5
Views: 105

Re: Help needed when writing new app, DecimalField shows up as editable in SingleObjectDetailView

The update to support this was added in version 3.3.10. Sadly it also broke document previews. Instead of removing it, we just fixed document previews and re-implemented the read only decimal field support. This will be available in version 3.3.11 which should be ready in the next hours. https://git...
by rosarior
Fri Feb 07, 2020 3:22 am
Forum: Under the hood
Topic: Help needed when writing new app, when retrieve data from foreign key no len() exception occurred
Replies: 3
Views: 81

Re: Help needed when writing new app, when retrieve data from foreign key no len() exception occurred

The "no len()" error comes from the template title calculation. It is trying to calculate how may objects are being shown and if pagination is necessary. Since the view is passing a single company, it fails to obtain the length of the expected queryset.