Dolibarr ERP & CRM » Bugs » bug #1022 Bad marge calculation into credit notesLatest modifications
Answer now
Snapshot Details |
Submitted by: | Juanjo Menent (simnandez) | | Submitted on: | 2013-08-05 17:29 |
Last Modified On: | 2013-08-31 13:37 | |
Summary: | Bad marge calculation into credit notes |
Description: | If we make a credit note with a product line, the marge calculation is bad |
Step to reproduce bug: | Make a invoice with a product line (Price 100 €, cost 50€, we have 50€ margin )
If we make a credit note with this product, the marge screen is (Price -100, cost 50, marge -150) and it should be (Price -100, cost 50, marge -50) |
Version: | 3.4.0 | | Category: | Module: Margins |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Open | | Assigned to: | Christophe Battarel (cbattarel) |
Resolution: | None | |
Comments- Marcos García 2013-08-31 13:37
- I think the calculation is OK. Think that 150 is the actual loss for the company. It does not make sense to take the product cost as an incoming. Dolibarr doesn't know if the article was returned or not.
|
|
None→ Christophe Battarel (cbattarel)