View Issue Details

IDProjectCategoryView StatusLast Update
0004624OXID eShop (all versions)2.6. Administer orderspublic2024-04-03 10:14
ReporterLinas Kukulskis Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Summary0004624: Order recalculation does not use discounts/taxes which were valid when order was made, but current ones
Descriptionin admin, on order recalculation must be used order article data and old discount rules (or other tax calculations), but not the real time prices. example order was made with discount and now this discount is over: on recalculations all article price will be without discount - its not correct

what can effect order:
1. new discounts
2. new shipping, payment rules
3. price storing mode in db
4. etc.

 
TagsOrder, Order Recalculation, Product domain and basket rewrite
ThemeAzure
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Relationships

duplicate of 0004933 closedLinas Kukulskis OXID eShop (all versions) extendes article gets lost by order recalculation 
related to 0005626 resolvedSvenBrunk OXID eShop (all versions) Wrong "Charge Payment Method" value displayed in invoice 
related to 0005730 closedSvenBrunk OXID eShop (all versions) "Use shipping country for VAT calculation instead of billing country" is ignored when orders are edited 
has duplicate 0004677 resolvedsvetlana OXID eShop (all versions) Article prices being updated if some unrelated change is made to an order (EE) 
has duplicate 0004574 resolvedLinas Kukulskis OXID eShop (all versions) price change in existing order 
has duplicate 0004130 resolvedLinas Kukulskis OXID eShop (all versions) Discount is calculated after editing old orders 
has duplicate 0003941 resolvedLinas Kukulskis OXID eShop (all versions) Discount product dissapear in order view 
has duplicate 0005206 closedjurate.baseviciene OXID eShop (all versions) Product price is recalculated in order view, but should be left untouched 
has duplicate 0005330 closedsvetlana OXID eShop (all versions) Bug report concerning the calculation of VAT in combination with a given sales discount (absolute value) in the backend of the s 
has duplicate 0005860 resolvedLinas Kukulskis OXID eShop (all versions) oxorderarticle-prices set to zero when saving orders in backend 
has duplicate 0006399 closedQA OXID eShop (all versions) Updating or adding articles to order in admin changes all item prices to current article prices 
has duplicate 0006812 closedQA OXID eShop (all versions) Manually added discount is lost when recalculating order 
related to 0003997 closedQA OXID eShop (all versions) Trusted Shops Buyer Protection is lost after changing order 
related to 0004548 resolvedjurate.baseviciene module PayPal if there are some order information changes, the PayPal module sets the order status to NOT_FINISHED 
related to 0004275 resolvedLinas Kukulskis OXID eShop (all versions) currency switches when editing order in admin 
related to 0004868 closedSvenBrunk OXID eShop (all versions) VAT should be recalculated if admin changing 'country' in delivery adress or adds 'UStID' for customer 
related to 0004875 resolvedSvenBrunk OXID eShop (all versions) created pdf-invoices/delivery-notes should be stored on disk 
related to 0005113 resolvedHR OXID eShop (all versions) Full Recalculation of order if payment date is set 
related to 0005254 closedQA OXID eShop (all versions) Selectlists are not considered correctly 
related to 0005350 resolvedSvenBrunk OXID eShop (all versions) Administer Orders -> Orders -> Main -> Save ignores discounts 
related to 0005610 acknowledged OXID eShop (all versions) Bundled products will be deleted from their orders after using forms in order_main or order_article 
related to 0005734 confirmedHR OXID eShop (all versions) Cancelling one orderitem updates prices of all other 
related to 0005737 resolvedSvenBrunk OXID eShop (all versions) selectlists are handled wrong if name or value contains a comma followed by a space 
related to 0005742 closedSvenBrunk OXID eShop (all versions) order_main - wrong paymentlist with delivery adress 
related to 0006185 acknowledgedflorian.auer OXID eShop (all versions) Recalculate order doesn't respect delivery address 
related to 0006583 acknowledgedflorian.auer OXID eShop (all versions) (re-)calculation error for orders containing articles with price surcharge/discounts via selection lists 

Activities

ray

2012-11-22 20:16

reporter   ~0007955

https://bugs.oxid-esales.com/view.php?id=4275

timrandy

2012-12-14 08:21

reporter   ~0008127

Hello,
I have the same problem and have no idear how to solve it?!

ray

2013-01-07 09:23

reporter   ~0008224

related: http://forum.oxid-esales.com/showthread.php?p=14221

(when generating PDF-invoice it always takes actual date)

ray

2013-01-24 07:47

reporter   ~0008320

related: https://bugs.oxid-esales.com/view.php?id=4868

(recalculating VAT if delivery country changes or VAT-ID is provided afterwards)

ray

2013-01-27 18:59

reporter   ~0008333

related https://bugs.oxid-esales.com/view.php?id=4875

(save created pdf-invoice, do not recreate everytime)

mart

2013-02-12 22:19

reporter   ~0008403

Hi,

what is the current state of this issue? Almost 4 months are passed and still not solved?

Is there any product manager reading those comments? This is definitely not a major issue. I had again the situation that after adding manually an article to the order the prices were reset.

Currently I have the feeling that Oxid is really fragile and you should not do any other things with it...

What is the current test coverage? Are you creating regression tests before fixing bugs?

Sorry, but I am really frustrated...

WBL_BjoernLange

2013-05-14 09:10

reporter   ~0008699

I got this bug too. And for example, Ticket 0004677 is still not closed in the latest 4.7 version.

ray

2013-05-14 09:34

reporter   ~0008700

here is a hack (not yet fully workable, but everyone can add more functionality)

https://github.com/jasonkx/Backend-Order-OXID

EggSupport

2013-09-16 11:13

reporter   ~0009086

you will find a recalc fix attached this bug note
--> https://bugs.oxid-esales.com/view.php?id=5254

ray

2013-12-06 17:51

reporter   ~0009342

there is a new module available working as well with CE 4.8 which prevents recalculating

http://forum.oxid-esales.com/showthread.php?p=136297#post136297

leofonic

2013-12-06 22:03

reporter   ~0009344

imho it is better to actually prevent recalculation than to fix it. I wrote a module that fixates an order if an invoice exists, and allows changes to paydate and billnr without recalculation:
https://github.com/leofonic/No_Recalc

ray

2014-01-21 07:48

reporter   ~0009433

main thread to collect all issues (and possible fixes) in forums:
http://forum.oxid-esales.com/showthread.php?t=21886

alfredbez

2016-09-27 11:07

reporter   ~0011806

Recalculation is also wrong, when iMallPriceAddition is set. (Version EE 5.2)

FibreFoX

2017-11-03 11:31

reporter   ~0012256

This issue is open for over 5 years now, is there any plan for working on this topic? (Maybe a complete rewrite of the whole calculation-logic...) This should be "blocker" instead of just "major".

henrik.steffen

2018-02-05 15:50

reporter   ~0012375

I'd also vote for fixing this issue sooner or later (but not too late please)

szdirk

2018-07-17 14:16

reporter   ~0012538

Is there any chance that this very old bug will be fixed at any time?
If there is no interest to fix this bug @OXID please close this bug or at least leave a comment here.

SvenBrunk

2023-11-17 14:49

administrator   ~0015801

I emphasize that it is illegal to change an order. It is even illegal to cancel an order without a very good reason.
This should only be done in close consultation with the customer and from a legal point of view, the order should actually be canceled and replaced by a new, corrected order.