Odoo Help

Welcome!

This community 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.

1

How to initialize the invoice sequence number every month ?

By
semah
on 5/10/14, 6:36 AM 1,149 views

Hello,
Referencing to Ray Carnes's response about changing the invoice sequence format, I want that the number in the sequence must be initialized to 1 every new month.
For example invoice sequences should be like below:

  • in January 2014 :
    • 14/01/001
    • 14/01/002
      .
      .
      .
    • 14/01/xxx
  • in February 2014 :

    • 14/02/001
    • 14/02/002
      .
      .
      .

    • 14/02/xxx

And the same logic for the other months.

Thanks for your help.

1

Atul Kumar jain

--Atul Kumar jain--
914
| 5 3 7
Indore, India
--Atul Kumar jain--

.

Atul Kumar jain
On 5/10/14, 8:36 AM

hello You should use like this

%(month)s/%(day)s/001

it will print month-day-number

hope this will you

This will never initialize the number every month. Please try to understand my question.

semah
on 5/10/14, 9:02 AM

ok sorry for that than you will have to do it by python side code or you should use onchange method

Atul Kumar jain
on 5/10/14, 9:05 AM

Thank you Atul, please explain to me more.

semah
on 5/10/14, 9:12 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/10/14, 6:36 AM
Seen: 1149 times
Last updated: 3/16/15, 8:10 AM