mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] spelling in docstrings
(lp:c2c-financial-addons/6.1 rev 78.1.2)
This commit is contained in:
@@ -38,7 +38,7 @@ class easy_reconcile_advanced_ref(TransientModel):
|
||||
|
||||
def _matchers(self, cr, uid, rec, move_line, context=None):
|
||||
"""
|
||||
Return the values used as matchers to found the opposite lines
|
||||
Return the values used as matchers to find the opposite lines
|
||||
|
||||
All the matcher keys in the dict must have their equivalent in
|
||||
the `_opposite_matchers`.
|
||||
@@ -48,7 +48,7 @@ class easy_reconcile_advanced_ref(TransientModel):
|
||||
|
||||
Must be inherited to implement the matchers for one method
|
||||
|
||||
As instance, it can returns:
|
||||
For instance, it can return:
|
||||
return ('ref', move_line['rec'])
|
||||
|
||||
or
|
||||
@@ -58,7 +58,7 @@ class easy_reconcile_advanced_ref(TransientModel):
|
||||
All the matchers have to be found in the opposite lines
|
||||
to consider them as "opposite"
|
||||
|
||||
The matchers will be evaluated in the same order than declared
|
||||
The matchers will be evaluated in the same order as declared
|
||||
vs the the opposite matchers, so you can gain performance by
|
||||
declaring first the partners with the less computation.
|
||||
|
||||
@@ -87,7 +87,7 @@ class easy_reconcile_advanced_ref(TransientModel):
|
||||
|
||||
This method is the counterpart of the `_matchers()` method.
|
||||
|
||||
Each matcher have to yield its value respecting the orders
|
||||
Each matcher has to yield its value respecting the order
|
||||
of the `_matchers()`.
|
||||
|
||||
When a matcher does not correspond, the next matchers won't
|
||||
|
||||
@@ -64,7 +64,7 @@ class easy_reconcile_advanced(AbstractModel):
|
||||
|
||||
def _matchers(self, cr, uid, rec, move_line, context=None):
|
||||
"""
|
||||
Return the values used as matchers to found the opposite lines
|
||||
Return the values used as matchers to find the opposite lines
|
||||
|
||||
All the matcher keys in the dict must have their equivalent in
|
||||
the `_opposite_matchers`.
|
||||
@@ -74,7 +74,7 @@ class easy_reconcile_advanced(AbstractModel):
|
||||
|
||||
Must be inherited to implement the matchers for one method
|
||||
|
||||
As instance, it can returns:
|
||||
As instance, it can return:
|
||||
return ('ref', move_line['rec'])
|
||||
|
||||
or
|
||||
@@ -84,7 +84,7 @@ class easy_reconcile_advanced(AbstractModel):
|
||||
All the matchers have to be found in the opposite lines
|
||||
to consider them as "opposite"
|
||||
|
||||
The matchers will be evaluated in the same order than declared
|
||||
The matchers will be evaluated in the same order as declared
|
||||
vs the the opposite matchers, so you can gain performance by
|
||||
declaring first the partners with the less computation.
|
||||
|
||||
@@ -112,7 +112,7 @@ class easy_reconcile_advanced(AbstractModel):
|
||||
|
||||
This method is the counterpart of the `_matchers()` method.
|
||||
|
||||
Each matcher have to yield its value respecting the orders
|
||||
Each matcher has to yield its value respecting the order
|
||||
of the `_matchers()`.
|
||||
|
||||
When a matcher does not correspond, the next matchers won't
|
||||
|
||||
@@ -78,9 +78,11 @@ class AccountStatementProfil(Model):
|
||||
def prepare_global_commission_line_vals(self, cr, uid, parser,
|
||||
result_row_list, profile, statement_id, context):
|
||||
"""
|
||||
Prepare the global commission line if there is one. The global commission is computed by
|
||||
by calling the get_st_line_commision of the parser. Feel free to override the methode to compute
|
||||
Prepare the global commission line if there is one. The global
|
||||
commission is computed by by calling the get_st_line_commision
|
||||
of the parser. Feel free to override the method to compute
|
||||
your own commission line from the result_row_list.
|
||||
|
||||
:param: browse_record of the current parser
|
||||
:param: result_row_list: [{'key':value}]
|
||||
:param: profile: browserecord of account.statement.profile
|
||||
|
||||
Reference in New Issue
Block a user