[MODIFIED] User Error Comment

This commit is contained in:
vk-jain-22 committed 2021-11-15 13:02:37 +05:30
1 parent 833838ba29
commit 2f0ce58cc1
1 file changed
+1 -1
@@ -89,7 +89,7 @@ class AccountMove(models.Model):
if move.discount_type == 'fixed':
document_discount = move.discount_value
if document_discount >= total_amt:
raise UserError(_("Discount Cannat be more than or equal to Total Amount"))
raise UserError(_("Discount Cannot be more than or equal to Total Amount"))
for line in move.invoice_line_ids:
if line.product_id:
tax = 0