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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
6540
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
maj 24
|
8062 | ||
|
0
maj 21
|
2900 | ||
Odoo11 Community: Salary
Rozwiązane
|
|
1
lut 19
|
2648 | |
|
0
gru 18
|
2889 | ||
|
0
lip 18
|
3241 |