Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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 ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/22/13, 8:53 AM|
|Seen: 1224 times|
|Last updated: 4/24/15, 11:34 AM|