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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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!
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
I can’t scan my barcode created by the giftcard
Diselesaikan
|
|
1
Apr 22
|
2639 | |
Restrict Studio ,to users
Diselesaikan
|
|
1
Des 24
|
2759 | |
POS V17 Gift Card Sale Error
Diselesaikan
|
|
2
Jul 24
|
1477 | |
|
1
Jul 24
|
2960 | ||
|
0
Jan 23
|
9 |