This commit is contained in:
2026-02-15 15:33:32 +01:00
parent 08a66bc219
commit d1d37ee4b3
2 changed files with 5 additions and 3 deletions

View File

@@ -13,8 +13,10 @@ from trytond.pool import Pool
from trytond.pyson import Eval
from trytond.transaction import Transaction
from trytond.wizard import Button, StateView, Wizard
from .exceptions import PaymentTermComputeError, PaymentTermValidationError
import logging
logger = logging.getLogger(__name__)
class PaymentTerm(DeactivableMixin, ModelSQL, ModelView):

View File

@@ -324,7 +324,7 @@ class Fee(ModelSQL,ModelView):
factor = InterestCalculator.calculate(
start_date=beg_date,
end_date=est_date,
rate=self.price,
rate=self.price/100,
rate_type='annual',
convention='ACT/360',
compounding='simple'
@@ -340,7 +340,7 @@ class Fee(ModelSQL,ModelView):
factor = InterestCalculator.calculate(
start_date=beg_date,
end_date=est_date,
rate=self.price,
rate=self.price/100,
rate_type='annual',
convention='ACT/360',
compounding='simple'