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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up