odoo/odoo#203252
Created by fw-bot
Merged
at e74b1e2e4ca6897ae80dcd6d4ee55ed4ebb3a6e5
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- 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:saas-18.1-17.0-opw-4458036-POS_terms_invoice-mcou-424670-fw
- head
- 851de0bb9fb7a087608358cd5a3e8dfff92c54e3
- merged
- 7 months ago by Bugfix, Mathieu Coutant (mcou)
odoo/odoo | |
---|---|
17.0 | #199385 |
saas-17.4 | #202147 |
18.0 | #202895 |
saas-18.1 | #203252 |
saas-18.2 | #203485 |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #204817 |
[FW][FIX] point_of_sale, pos_sale: remove the payment terms on invoices from POS
Steps to reproduce:
- In Accounting create a new Payment Term with an early discount set on "Always(upon invoice)"
- Create a new Contact and add the payment term to this contact
- Open POS and create an order
- Select the new contact as the customer
- Go to payment, select the option to create an invoice and validate
- The receipt and the generated invoice have different amounts: the payment terms were applied on the invoice but not on the receipt
Cause:
POS does not consider at any point the payment terms so the total to be paid does not include the payment terms. Payment terms were included in invoices from POS with this commit
Solution:
Remove the payment terms on invoices from POS.