dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1022] Bad marge calculation into credit notes


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1022] Bad marge calculation into credit notes
Date: Sat, 05 Oct 2013 17:16:37 +0200

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

Bad marge calculation into credit notes

Dernières modifications

05/10/2013 17:16 (Europe/Paris)
no response at my question, so i let the cost as positive on the margin display resume on documents, but i display it as negative on margin reports so the totals are ok.

all is merged on 3.4.1
Changements :
  • Status: 
Need more infoClosed

Répondre

État

 Détails
Submitted by:  Juanjo Menent (simnandez) Submitted on:  05/08/2013 17:29
Last Modified On:  25/09/2013 11:03 
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:  
 Etat
Status:  Closed Assigned to:  Christophe Battarel (cbattarel)
Resolution:  Fixed 

Commentaires

Christophe Battarel 05/10/2013 17:16
no response at my question, so i let the cost as positive on the margin display resume on documents, but i display it as negative on margin reports so the totals are ok.

all is merged on 3.4.1
Christophe Battarel 25/09/2013 11:03
i am still wondering if cost should be positive or negative in case of credit note; i'm fixing the same on the margin reports screens and here i print the cost as negative because there are totalizations
Christophe Battarel 24/09/2013 17:52
fixed on develop branch (https://github.com/Dolibarr/dolibarr/pull/1245/files)
Juanjo Menent 16/09/2013 10:01
Dolibarr know if the article was returned if we put in the credit note the article, I not agree with Marcos.
Christophe Battarel 15/09/2013 19:32
Juanjo, do you agree with Marcos statement ? if so, can i close this issue ?
Marcos García 31/08/2013 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]