Files
Odoo-18.0-20251222/account_invoice_triple_discount/readme/USAGE.md
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

564 B

Create a new invoice and add discounts in any of the three discount fields given. They go in order of precedence so discount 2 will be calculated over discount 1 and discount 3 over the result of discount 2. For example, let's divide by two on every discount:

Unit price: 600.00 ->

  • Disc. 1 = 50% -> Amount = 300.00
  • Disc. 2 = 50% -> Amount = 150.00
  • Disc. 3 = 50% -> Amount = 75.00

You can also use negative values to charge instead of discount:

Unit price: 600.00 ->

  • Disc. 1 = 50% -> Amount = 300.00
  • Disc. 2 = -5% -> Amount = 315.00