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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
2973
瀏覽次數
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!
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
4月 22
|
2689 | ||
|
1
12月 24
|
2871 | ||
|
2
7月 24
|
1527 | ||
|
1
7月 24
|
3054 | ||
|
0
1月 23
|
9 |