This commit is contained in:
Nicolas Bessi
2014-06-24 14:33:52 +02:00
parent 2a6ae7cb0d
commit eeffca3b3a
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
@account_credit_control @account_credit_control_run @account_credit_control_run_change_level
Feature: Ensure that manually changing an invoice level feature works as expected
Feature: Ensure that manually changing an invoice level feature works as expected
@account_credit_control_change_level
Scenario: Change level
@@ -36,7 +36,7 @@ Feature: Ensure that manually changing an invoice level feature works as expect
Then my credit run should be in state "done"
@account_credit_control_manual_next_step
Scenario: Check manually managed line on run
Scenario: Check manually managed line on run
Given the invoice "SAJ/2014/0004" with manual changes
And the invoice has "1" line of level "1" for policy "3 time policy"
And the invoice has "1" line of level "2" for policy "3 time policy"

View File

@@ -56,7 +56,7 @@ class FeesComputer(orm.BaseModel):
def _compute_fees(self, cr, uid, credit_line_ids, context=None):
"""Compute fees for `credit_line_ids` parameter
Fees amount is writen on credit line in fields dunning_fees_amount
Fees amount is written on credit line in field dunning_fees_amount
:param credit_line_ids: list of `credit.control.line` ids
@@ -78,7 +78,7 @@ class FeesComputer(orm.BaseModel):
def _compute(self, cr, uid, credit_line, context=None):
"""Compute fees for a given credit line
Fees amount is writen on credit line in fields dunning_fees_amount
Fees amount is written on credit line in field dunning_fees_amount
:param credit_line: credit line record

View File

@@ -25,7 +25,7 @@ import openerp.tests.common as test_common
class FixedFeesTester(test_common.TransactionCase):
def setUp(self):
"""Initialaize credit control level mock to test fees computations"""
"""Initialize credit control level mock to test fees computations"""
super(FixedFeesTester, self).setUp()
self.currency_model = self.registry('res.currency')
self.euro = self.currency_model.search(self.cr, self.uid,