Hi, can I ask for a sample code of controller validation if the selected Date To - Date From was already paid?
Ex. 
1st payment :
Account#: 123
DateFrom -January 2022
DateTo -May 2022
2ndpayment :
Account#: 123
DateFrom -
May 2022
DateTo -May 2022
Error message : Applicable period May 2022 was already paid 
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
            
                3033
                
                    瀏覽次數
                
            
        
    | 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|  | 1 12月 19  | 10414 | ||
|  | 1 5月 16  | 5173 | ||
|  | 3 3月 25  | 4696 | ||
|  | 2 3月 23  | 11720 | ||
|  | 1 7月 24  | 36 | 
