Skip to Content
Menu
This question has been flagged
1 Reply
2396 Views

hi all, i have module for importing sales orders using csv files,
now when i import a sales order by giving lets say SO015 as order number,it gets imported and everything works fine,but then i go to odoo and create one from there it still createds order with sequence SO015,when it should be SO016,,,,,why is it doing that?if anyone could help plz?

Avatar
Discard
Best Answer

Hi,

You can solve it by going into Settings -> Technical -> Sequence & Identifiers -> Sequence, search and open the sale.order sequence and check the next value of the sequence after you import the data from the csv using your Custom modules. If you need odoo to generate the sequence just set the name field in your sheet as Empty or NEW and try.


Thanks

Avatar
Discard
Author

i want to give my sequence and then import record using my given sequence,,,after that sequence should jump onto next one,,but its not happening