Andrea Grazioso (agr-odoo) bb9c08d443 [FIX] account: extra payment lines with payment term discount
In Settings>Accounting set 'Cash Discount Tax Reduction' to 'On early
payment'
Have a payment term 'D' with 10% discount if paid in a few days
Have a fixed tax 'F' (0.04) and a percent tax 'P' (21%)
Create an invoice with paymen term 'D'
Have an invoice line with price unit of 100$, taxes 'P' and 'F'
Post invoice and register payment (with discount)

Issue: Due to the fixed tax extra lines are created in the
journal entry of the payment
Example:

| N |       Account       | Taxes | Debit | Credit |
|---|---------------------|-------|-------|--------|
| 1 |Outstanding Receipts |       | 108.94|    0.00|
| 2 |Account Receivable   |       |   0.00|  121.04|
| 3 |Cash Discount Loss   |    F,P|   10.0|    0.00|
| 4 |Bank Suspense Account|       |   0.00|    0.04|
| 5 |Cash Discount Loss   |       |   2.10|    0.00|
| 6 |Cash Discount Loss   |       |   0.04|    0.00|

Because F is taken into account in line 3, line 6 is created, but it
should not be the case

opw-3119894

closes odoo/odoo#110078

X-original-commit: 4a5e696bc4507a2e6e4c03c694c4ec7e636805d7
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com>
2023-01-17 11:34:16 +01:00
2022-12-13 17:03:17 +01:00
2023-01-03 13:16:02 +01:00
2023-01-17 01:10:09 +01:00
2023-01-03 13:16:02 +01:00
…
…
…
…
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%