I have many branch in a company. At time of sale order creation sequence number should be generated according to the branch ie, instead SO as preffix it should be branch code first followed by number
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
1
Reply
5456
Views
hello
you can achieve it using calling the different sequence based on the branch.
you can see one example into customer invoice and vendor bills. based on the invoice type the sequence is generate. so as same way you can do it into your code.
for code you can see sale.order object's create method. i hope this will helps you.
Thanks, Mitul Shingala
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
May 24
|
6534 | ||
|
0
May 21
|
1913 | ||
Odoo11 Community: Salary
Solved
|
|
1
Feb 19
|
1704 | |
|
0
Dec 18
|
2059 | ||
|
0
Jul 18
|
2343 |