diff options
| author | Anand Kansagra <kansagraanand@hotmail.com> | 2018-11-28 06:28:50 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-08-05 06:51:52 +0000 |
| commit | e488f208d21b7cff86d22ac12e894d953ad65943 (patch) | |
| tree | 95c50911cd60333e3736f2aebda3682094c39e1a /addons | |
| parent | e8a3f1a04e38ffc8b2a3b362743503840a738ff6 (diff) | |
[IMP] account,stock,base: fix typos
And use CamelCase in label
Closes odoo/odoo#29010
Closes odoo/odoo#29092
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/account_payment_term.py | 2 | ||||
| -rw-r--r-- | addons/stock/models/stock_picking.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/models/account_payment_term.py b/addons/account/models/account_payment_term.py index 824e3dd216f..bd202de2d5f 100644 --- a/addons/account/models/account_payment_term.py +++ b/addons/account/models/account_payment_term.py @@ -110,7 +110,7 @@ class AccountPaymentTermLine(models.Model): def _check_days(self): for term_line in self: if term_line.option in ('day_following_month', 'day_current_month') and term_line.days <= 0: - raise ValidationError(_("The day of the month used for this term must be stricly positive.")) + raise ValidationError(_("The day of the month used for this term must be strictly positive.")) elif term_line.days < 0: raise ValidationError(_("The number of days used for a payment term cannot be negative.")) diff --git a/addons/stock/models/stock_picking.py b/addons/stock/models/stock_picking.py index bc24dc23157..3ea51e926ef 100644 --- a/addons/stock/models/stock_picking.py +++ b/addons/stock/models/stock_picking.py @@ -887,7 +887,7 @@ class Picking(models.Model): visited_documents[(document, responsible)] = visited grouped_moves = grouped_moves.items() else: - raise UserError(_('Unknow stream.')) + raise UserError(_('Unknown stream.')) documents = {} for (parent, responsible), moves in grouped_moves: |
