mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-10-30 18:00:05 -05:00
[MODIFIED] User Error Comment
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user