예약된 활동¶
예약된 작업 은 지정된 일정이나 발생 횟수에 따라 데이터베이스 내에서의 특정 작업을 자동화할 수 있도록 사전 설정되된 프로세스입니다. 이러한 작업에는 이메일 보내기, 청구서 생성, 데이터 정리 등이 있습니다.
Odoo에서는 특정 기능이 자동으로 실행되도록 예약 작업 일부가 기본적으로 활성화되어 있으나, 동시에 데이터베이스에 있는 예약 작업 옵션 중에는 기본값이 활성화되지 않은 작업도 다수 있습니다.
Odoo 구독 에서는 두 가지 예약된 작업을 통해 활성화 상태인 정기 결제 구독에 대한 청구 프로세스를 시작할 수 있으며, 구독 만료로 인해 청구를 중지하도록 할 수도 있습니다.
They are turned on, by default and can be deactivated at any time in order to manage subscriptions manually.
예약된 활동 액세스¶
중요
예약된 작업에 액세스하려면 반드시 개발자 모드 를 활성화해야 합니다.
개발자 모드가 활성화된 상태에서
으로 이동합니다.
Doing so reveals a dedicated Scheduled Actions dashboard. On this page, there is a complete list of scheduled actions for the entire database.
From here, enter Subscription
in the search bar. Doing so provides three subscription-specific
results. The following documentation focuses on the last two results in the list:
판매 구독 : 반복 청구 및 결제 생성
판매 구독: 구독 만료

예약한 활동이 활성화 상태인지 확인하려면 예약된 활동 현황판에 있는 해당 행에서 활성화 열 아래쪽에 있는 확인란에 표시가 되어 있는지 확인합니다. 확인란에 초록색으로 확인 표시가 되어 있으면 예약된 작업이 활성화되어 있는 것입니다.
If a scheduled action needs to be activated, click into the desired scheduled action from the list.

그런 다음 예약된 작업 양식에서 활성화 토글 스위치를 오른쪽으로 전환합니다. 그러면 스위치가 초록색으로 바뀌고 예약된 작업이 이제 ‘활성화’ 상태라는 것을 알 수 있습니다.
The ability to set up how often the scheduled action runs is also available on the scheduled action form, in the Execute Every field.
중요
The scheduled action does not function correctly if the execution time is less than five minutes. This is a general rule for all scheduled actions.
자세한 내용은 자주 묻는 기술 질문 문서를 참조하세요.
정기 결제 청구서 및 결제 생성하기¶
판매 구독: 반복 청구서 및 결제 생성 활동을 예약하여 구독에 대한 반복 청구서 및 결제를 알맞게 생성하려면 반드시 이연 비용 및 이연 수익 계정을 설정해야 하며, 이를 통해 Odoo에서 구독과 관련된 다양한 청구서 및 결제 항목을 처리할 수 있습니다.
이연 비용 및 이연 수익 계정을 설정하려면 기본 계정 섹션에서 설정할 수 있습니다.
으로 이동합니다. 두 계정 모두
Once the correct accounts are entered in the Deferred Expense and Deferred Revenue drop-down menu fields, click Save in the upper-left corner.
청구서 생성¶
Elements related to the Sale Subscription: generate recurring invoices and payments scheduled action can be found on confirmed subscription sales orders.
To examine these elements, open any confirmed sales order in the Subscriptions application to reveal the subscription sales order form.
On a confirmed subscription sales order form, focus on the Recurring Plan and Date of Next Invoice fields.

The scheduled action creates an invoice when today’s date is the same date as the Date of Next Invoice.
Odoo는 정기 구독 요금제 필드의 정보를 활용하여 다음 청구서 날짜를 알맞게 업데이트합니다.
경고
제품에 설정된 청구서 발행 정책이 납품 수량 기준 (수동) 으로 되어 있고 납품 수량이 `0`인 경우, Odoo에서 청구서는 생성되지 않으며 고객에게 요금이 청구되지 않습니다.
Instead, the subscription is processed as a free recurring product, and is reflected as such in the chatter of the subscription sales order.
When this occurs, the following message appears: Automatic renewal succeeded. Free subscription.
Next invoice:[date]. No email sent.
구독용 판매주문서에 대해 청구서가 생성되면 구독용 판매주문서 상단에 표시되는 청구서 스마트 버튼을 클릭하여 청구서를 확인할 수 있습니다.
An email is sent to the customer notifying them of the recurring subscription charge, if there is a Payment Token on the account.
To check if there is a Payment Token, open the Other Info tab, and look at the Payment Token field, under the Subscription section.

결제 토큰 이 없는 경우에는 청구서를 생성한 후 고객에게 전송합니다. 이 경우 결제 등록은 반드시 수동으로 진행해야 합니다.
청구서 마감¶
The Sale Subscription: generate recurring invoices and payments scheduled action also has the ability to close a subscription, if the following conditions are met:
구독 항목에 결제 토큰 이 없는 경우에는 청구서를 생성한 후 게시합니다.
구독에 결제 토큰 이 있는 경우 청구를 진행해 보세요.
청구가 진행된 후에는 청구서를 생성하여 게시하세요.
충전에 실패할 경우, 주기적으로 리마인더를 전송합니다.
14일 이상 계속하여 실패할 경우 구독이 해지됩니다.
구독 만료¶
구독 판매: 구독 만료 에 대한 작업을 예약하면 구독이 자동으로 종료되는 다른 조건들을 모두 확인할 수 있습니다. 일정한 조건이 충족될 경우 예약해 놓은 작업을 통해 해당 구독이 종료됩니다.
First, the Sale Subscription: subscriptions expiration scheduled action checks to see if the end date has passed, which is configured on the subscription sales order.

Then, the Sale Subscription: subscriptions expiration scheduled action checks if the invoice has not been paid within the payment terms deadline.
정기 결제에 첨부되어 있는 청구서에 액세스하려면 구독 제품에 대한 판매주문서에 액세스한 후 청구서 스마트 버튼을 클릭합니다. 그런 다음 청구서 날짜 열을 확인합니다.

미납 구독의 청구일 이 정기 결제 요금제 의 자동 해지 필드에서 지정한 날짜 수를 초과하여 미납된 경우에는, :guilabel:`판매 구독: 구독 만료’ 에서 예약된 활동에 따라 자동으로 해지됩니다.

예를 들어 다음 청구서 날짜가 7월 1일이고 자동 종료 가 ‘30일’로 설정되어 있는 경우에는 예약된 작업을 통해 8월 1일에 구독이 종료됩니다.