summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnand Kansagra <kansagraanand@hotmail.com>2018-11-28 06:28:50 +0000
committerMartin Trigaux <mat@odoo.com>2019-08-05 06:51:52 +0000
commite488f208d21b7cff86d22ac12e894d953ad65943 (patch)
tree95c50911cd60333e3736f2aebda3682094c39e1a
parente8a3f1a04e38ffc8b2a3b362743503840a738ff6 (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>
-rw-r--r--addons/account/models/account_payment_term.py2
-rw-r--r--addons/stock/models/stock_picking.py2
-rw-r--r--odoo/addons/base/models/ir_model.py2
3 files changed, 3 insertions, 3 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:
diff --git a/odoo/addons/base/models/ir_model.py b/odoo/addons/base/models/ir_model.py
index 1e22868d59c..99918b6445d 100644
--- a/odoo/addons/base/models/ir_model.py
+++ b/odoo/addons/base/models/ir_model.py
@@ -109,7 +109,7 @@ class IrModel(models.Model):
transient = fields.Boolean(string="Transient Model")
modules = fields.Char(compute='_in_modules', string='In Apps', help='List of modules in which the object is defined or inherited')
view_ids = fields.One2many('ir.ui.view', compute='_view_ids', string='Views')
- count = fields.Integer(compute='_compute_count', string="Count (incl. archived)",
+ count = fields.Integer(compute='_compute_count', string="Count (Incl. Archived)",
help="Total number of records in this model")
@api.depends()