account_payment_term_line.py 705 B

1234567891011121314151617
  1. # -*- coding: utf-8 -*-
  2. import openerp.addons.decimal_precision as dp
  3. from openerp import models, fields, api
  4. from openerp.tools.float_utils import float_round as round, float_compare
  5. class AccountPaymentTermLine(models.Model):
  6. _inherit = 'account.payment.term.line'
  7. interest_rate = fields.Float(string='Tasa de Interés',
  8. digits =dp.get_precision('Payment Term'),
  9. help="El interes mensual de cliente con atraso."
  10. "Valor de 0 a 100.\n"
  11. "El interes se calcula como: \n"
  12. "(Saldo Pendiente*(tasa de interes/100))")