File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1010from press .press .doctype .invoice_item .invoice_item import InvoiceItem
1111from press .press .doctype .payout_order_item .payout_order_item import PayoutOrderItem
1212
13+ from datetime import date
14+
1315
1416class PayoutOrder (Document ):
1517 def validate (self ):
@@ -203,8 +205,8 @@ def get_unaccounted_marketplace_invoice_items():
203205def create_payout_order_from_invoice_items (
204206 invoice_items : List [InvoiceItem ],
205207 recipient : str ,
206- period_start : str ,
207- period_end : str ,
208+ period_start : date ,
209+ period_end : date ,
208210 mode_of_payment : str = "Cash" ,
209211 notes : str = "" ,
210212 type : str = "Marketplace" ,
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ def create_test_subscription(
2828
2929
3030class TestSubscription (unittest .TestCase ):
31-
3231 def setUp (self ):
3332 self .team = create_test_team ()
3433
You can’t perform that action at this time.
0 commit comments