Hello everybody:
i use this sequence for purchase Order :PO%(y)sA%(range_month)s
But the number do not restart when month change for exemple i have
PO21A0380 and the next is PO21A0481 instead of PO21A0401
Any help welcome.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello everybody:
i use this sequence for purchase Order :PO%(y)sA%(range_month)s
But the number do not restart when month change for exemple i have
PO21A0380 and the next is PO21A0481 instead of PO21A0401
Any help welcome.
Hello William!
To achieve your desired outcome, which means, reset the sequence when month passes, you must use subsequences per date_range, which implies creating a subsequence per month.
However, there is a module by OCA that may suit your needs. Please see the following link:
https://github.com/OCA/server-ux/tree/13.0/sequence_reset_period
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
sequence prefix.
Resolvido
|
|
3
set. 23
|
3639 | |
Multiple sale order sequences
Resolvido
|
|
2
mar. 18
|
5272 | |
|
0
out. 24
|
1003 | ||
Odoo Sequence next_by_code returns False
Resolvido
|
|
3
fev. 24
|
10607 | |
Odoo15 Product Variant display order
Resolvido
|
|
1
nov. 23
|
1371 |