odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[IMP] account: add payment term with early payment discount to demo data

Open odoostan opened this issue 3 years ago • 1 comments

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

odoostan avatar Sep 22 '22 16:09 odoostan

Pull request status dashboard

robodoo avatar Sep 22 '22 17:09 robodoo

@chklop Maybe this has not been rebased yet, but if I do register payment on an invoice with this payment term and go for the discounted amount, the invoice stays "in payment". https://19575601-16-0-all.runbot29.odoo.com/web#id=154&cids=1&menu_id=632&action=560&model=account.move&view_type=form

jco-odoo avatar Sep 26 '22 08:09 jco-odoo

@robodoo r+

jco-odoo avatar Sep 26 '22 08:09 jco-odoo

Hello @jco-odoo intended behaviour, you'll see the payment has registered the payment of the full invoice but did register a write-off for the discount amount : https://19575601-16-0-all.runbot29.odoo.com/web#id=155&cids=1&menu_id=632&active_id=1&model=account.move&view_type=form

The fact that it is "in payment" is normal, you need to reconcile that with a statement for it to be marked as paid.

chklop avatar Sep 27 '22 08:09 chklop