Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2390 Zobrazení
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

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Nejlepší odpověď

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  
 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
srp 25
2669
1
kvě 25
2667
1
dub 25
3667
1
dub 25
4519
1
dub 25
1985