dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #1624] When you sell something via POS margin i


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1624] When you sell something via POS margin is not calculated
Date: Wed, 26 Nov 2014 13:26:32 +0100

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

When you sell something via POS margin is not calculated

Dernières modifications

26/11/2014 13:26 (Europe/Paris)

Répondre

État

 Détails
Submitted by:  Ignacio (nach) Submitted on:  29/10/2014 23:19
Last Modified On:  25/11/2014 21:26 
Summary:  When you sell something via POS margin is not calculated
Description:  If you sell something via POS, the margin is not correctly calculated as POS doesnot pass the real cost to the invoice, the that will be shown in the invoice will be 0 or the sell price. No real margin calculate.
Step to reproduce bug:  1) Activate margin module.
2) create an article with a cost and sell price.
3) Sell it via POS
4) Check the invoice margin will not be accuarate.

If you sell it via normal invoice it will calcula the margin without proble
Detected in version:  3.6.1 Category:  Module: Point Of Sales
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  
 Etat
Status:  Open Assigned to:  Aucun
Resolution:  Aucun 

Commentaires

Raphaël Doursenaud 26/11/2014 13:26
Part of currently pending PR: https://github.com/Dolibarr/dolibarr/pull/2099
Francis Appels 25/11/2014 21:25
The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
Francis Appels 16/11/2014 23:44
I was thinking of adding a default supplier price as a default cost price in commande class addline method. A POS user does not worry about suppliers.
I also made an external module which has the same problem as the core POS module, so it's better to solve this bug in a core class (not the POS module), so it's solved for any external module which creates orders.
Default supplier should be the one with the minimum price, what do you think?

Regards,
Francis


reply via email to

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