[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>
This commit is contained in:
committed by
Martin Trigaux
parent
e8a3f1a04e
commit
e488f208d2
@@ -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."))
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user