By default, the duration of gift cards is one year, so when you create a gift card, the expiration date will be the date of today + one year. In V15 we can not modify this expiration delay with standard features BUT we have a solution with Studio.
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
Open the POS app, open Studio and go in automated actions, create a new one:
Set up a name
Model: Gift card
Trigger: at the creation
Action to do: Update the record
Data
Field: Expired date (Gift Card)
Evaluation type: Python expression
Value: record.create_date+ datetime.timedelta(days=XX)
I just want to say, it doesn't have to be through Studio, because "Automated Actions" are available to install even in Community Edition!
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ść | |
---|---|---|---|---|
|
1
kwi 22
|
2636 | ||
Restrict Studio ,to users
Rozwiązane
|
|
1
gru 24
|
2729 | |
POS V17 Gift Card Sale Error
Rozwiązane
|
|
2
lip 24
|
1466 | |
|
1
lip 24
|
2951 | ||
|
0
sty 23
|
9 |