콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3143 화면

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.

아바타
취소
작성자 베스트 답변

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
2852
1
12월 24
3064
2
7월 24
1636
1
7월 24
3234
0
1월 23
9