|
@@ -128,9 +128,7 @@ def process_data(data=None):
|
|
account_voucher = create_account_voucher(account_move.id, journal_id, currency_id, payment)
|
|
account_voucher = create_account_voucher(account_move.id, journal_id, currency_id, payment)
|
|
close_invoice(invoice_ids)
|
|
close_invoice(invoice_ids)
|
|
|
|
|
|
- statement_lines = create_bank_statement_lines(account_voucher.id)
|
|
|
|
- bank_statement = create_bank_statement(account_voucher.id, statement_lines, date_now)
|
|
|
|
-
|
|
|
|
|
|
+ bank_statement = invoice.create_bank_statement(date_now, user_id, account_voucher, None)
|
|
return bank_statement.id
|
|
return bank_statement.id
|
|
|
|
|
|
def complete_order(order_id):
|
|
def complete_order(order_id):
|