res_partner_interest.py 312 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields, tools, api, _
  3. class ResPartnerInterest(models.Model):
  4. _inherit = 'res.partner'
  5. @api.model
  6. def eiru_account_interest_verify(self, id):
  7. interest = self. env['account.interest']
  8. interest.get_account_invoice_interest(None,id)