odoo/odoo#162354
Created by Dev Reshamiya (dere)
Blocked
- Merge method
- Review
-
CI
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-website_sale-fix-no-automatic-invoice-when-the-full-amount-is-discounted-dere
- head
- f155e93dec59cad8232ddaaa0c1dc617ebc56b2a
- target
- master
[FIX] website_sale: no automatic invoice when the full amount is discounted
Prior to this commit:
- When the "Automatic Invoice" setting was enabled and the total amount of the cart was zero due to a discount, no invoice was automatically created in the backend. This required manual intervention to create an invoice and confirm the sale order.
Post this commit:
- When the "Automatic Invoice" setting is activated and the total amount of the cart is zero thanks to a discount, the invoice is automatically created in the backend without the need for manual operation.
Task: 3786812
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr