Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2396 Переглядів
Hello Everyone, I am trying to resequence the certain invoice and the sequence number
is automatically changed as you can see in below shared image.
As the image could not be uploaded , I am sharing the link of image.
Do suggest me the solutions. Thank you.



I am using Odoo16 Enterprise.
Image

Аватар
Відмінити
Найкраща відповідь

Hi,

Odoo use SequenceMixin model to detect the resetting periodicity

Because '85' (your input) not match monthly_regex but match yearly_regex and year_lenght=2, so new sequence will recompute with current year with 2 digit.

To avoid it, you should use like this:

INV/-5/00044 (use non-digit character)

​INV/8./00044

​INV/858/00044 (avoid 2 digit year, 4 digit year - start with 19|20|21)

​INV/2222/00044

Hope this help.

Аватар
Відмінити
Найкраща відповідь

Hi Sushil Singh,


In Odoo, the functionality to resequence invoices typically does not include the ability to change the current year in the invoice name. The resequencing process focuses on adjusting the sequence numbers or order of invoices based on certain criteria, but it does not modify other aspects of the invoice, such as the year in the invoice name.


The invoice name, which often includes a combination of a prefix, a running number, and potentially other elements like the year, is usually determined by the invoice configuration settings and remains consistent throughout the year. The purpose of resequencing is primarily to adjust the order of invoices within the existing naming convention.


If you need to change the year in the invoice name, it would typically involve modifying the invoice configuration settings or potentially implementing customizations to meet your specific requirements. This may involve defining a new naming convention that incorporates the year dynamically or adjusting the invoice name manually for each invoice.

Hope this answer will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari  
 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
3
серп. 25
2670
1
трав. 25
2667
1
квіт. 25
3669
1
квіт. 25
4519
1
квіт. 25
1985