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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
6541
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
5月 24
|
8062 | ||
|
0
5月 21
|
2900 | ||
|
1
2月 19
|
2649 | ||
|
0
12月 18
|
2890 | ||
|
0
7月 18
|
3241 |