Skip to content
Snippets Groups Projects
Commit 9571bed3 authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

[IMP] typo

parent b5ff541e
Branches
Tags
No related merge requests found
......@@ -76,13 +76,13 @@ class SaleAdvancePaymentInv(models.TransientModel):
(self.product_id.name,))
if self.amount <= 0.00:
raise UserError(_('The value of Advance Amount must be positive.'))
raise UserError(_('The value of the deposit amount must be positive.'))
if self.advance_payment_method == 'percentage':
amount = order.amount_untaxed * self.amount / 100
name = _("Advance of %s%%") % (self.amount,)
name = _("Deposit of %s%%") % (self.amount,)
else:
amount = self.amount
name = _('Advance')
name = _('Deposit')
invoice = inv_obj.create({
'name': order.client_order_ref or order.name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment