While trying coupon program in odoo I come to a situation which is how's be able to customize coupon codes as shortcodes for example XMAS7895 or HAPY2022 instead of the default long random numbers like 11902753468310570975, I know this is possible in the promotion program but I ask about coupon program, So will you please tell me how to do so if that's possible.
This question has been flagged
1
Respondre
5242
Vistes
You need to override the _generate_code method:
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
0
de nov. 20
|
4201 | ||
|
Promotion Program v14 Help!
Solved
|
|
1
de jul. 21
|
3700 | |
|
|
0
de març 24
|
2038 | ||
|
|
1
de març 24
|
4515 | ||
|
|
0
de jul. 24
|
4026 |