You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
591 B

# Copyright 2019 Coop IT Easy SCRL fs
# Houssine BAKKALI <houssine@coopiteasy.be>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import api, models
class LoanInterestLine(models.Model):
_inherit = "loan.interest.line"
@api.model
def _generate_loan_reimbursement_fy(self):
#TODO get fiscal year begin and end dates
interest_lines = self.search([('due_date', '<=', ''),
('due_date', '<=', )
])
for line in interest_lines:
print()