That capacity is not available. I would suggest creating a custom app first
and then it could be included in core once stable. To keep track of the
numbering there would need to be a Sequence model that keeps track of the
next increment in a persistent manner and templating support to build
something like 'AN{{ sequence1|leading_zeros:"5" }}' for each document
type. The renaming will be connected to the
*documents.signals.post_document_created* signal so that it happens only
once and not for each document version. If you have a GitLab account I can
create the app repository and initial code in the Mayan EDMS GitLab group.
Development chapters for reference:
http://mayan.readthedocs.org/en/latest/topics/app_creation.html and
http://mayan.readthedocs.org/en/latest/topics/development.html
On Friday, December 18, 2015 at 2:34:13 PM UTC-4, Rachael Sewell wrote:
>
> Hello,
>
> I'd like to know if there is already a way to add an automatically created
> document number to a document. For example I would like to start with a
> initial document number of AN00001 and increment (AN00002, AN00003) for
> each additional doc. Does this functionality already exist? If not could it
> be added to the core or would it need to be a custom application? Any
> pointers on how to get started on this would be helpful as well.
>
> Thanks,
> Rachael
>
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.