Dolibarr ERP & CRM » Bugs » bug #1624 When you sell something via POS margin is not calculatedLatest modifications
Answer now
Snapshot Details |
Submitted on: | 2014-10-29 23:19 | | Last Modified On: | 2014-12-26 13:29 |
Submitted by: | Ignacio (nach) | |
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: | |
Status |
Status: | Open | | Assigned to: | None |
Resolution: | None | |
Comments- Francis Appels 2014-12-26 13:41
- Merged into 3.6, with no comments on git and no comments received from submitter. So can be closed.
- Marcos García 2014-12-26 13:29
- So is this fixed now?
- Raphaël Doursenaud 2014-11-26 13:26
- Part of currently pending PR: https://github.com/Dolibarr/dolibarr/pull/2099
- Francis Appels 2014-11-25 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 2014-11-16 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 |
|