This question has been flagged

Journals have an associated entry sequence. In there one can define the format to use for the invoice numbers. A number of predefined macros exist to assist in automated number generation, like %(year)s, %(month)s and so on.

I'm looking for a way to include the current period's code instead.

Let me give an example: I have defined quarterly accounting periods with codes like 13.1, 13.2,...

For my customer invoices, I would like to generate numbers like this: VF13.1-1, VF13.1-2, VF13.2-1 So the formula would be something like VF%(period)s- But %(period)s doesn't seem to exist. Is there a way to use period codes as part of the autogenerated sequence numbers ?

Avatar
Discard
Author

Thanks for the link. It doesn't talk about period codes in invoice numbers. But from the answer to that question I infer that customisation is needed to do what I want. I don't have sufficient karma, otherwise I would have close my own question as a duplicate.

exactly must customisation