webERP Forum
Prices become zero after Re-calculate or Submit - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Prices become zero after Re-calculate or Submit (/showthread.php?tid=8142)



Prices become zero after Re-calculate or Submit - HDeriauFF - 03-30-2018

Hi Folks

If I'm on SelectOrderItems with a list of items in the "cart", they display all their fields correctly.

If I hit Re-Calculate, the prices and totals are set to zero for all items.
Same if I click "Enter Delivery Details and Confirm Order", I land on DeliveryDetails with all prices at zero.

Weight and Volume are still displayed correctly on both pages

BUT: this does not happen if I just hit the "delete" link at the end of the item line when I'm on SelectOrderItems: the page is reloaded with the prices

Any idea of what's happening? Session issue?
Thank you for your input!


RE: Prices become zero after Re-calculate or Submit - TimSchofield - 03-30-2018

I seem to recall that this was fixed, possibly here:

https://github.com/timschofield/webERP-svn/commit/20cd50bfcf2656958550fba633e9f058ac33378e#diff-387bef128b3b997a7389385c128ae05e

You can try downloading the latest SelectOrderItems.php and see if that sorts it.

This is the reason there should be a stable branch.

Tim


RE: Prices become zero after Re-calculate or Submit - VortecCPI - 03-30-2018

No problems here with 4.14.1 and latest SelectOrderItems.php script.


RE: Prices become zero after Re-calculate or Submit - HDeriauFF - 03-31-2018

(03-30-2018, 09:58 PM)VortecCPI Wrote: No problems here with 4.14.1 and latest SelectOrderItems.php script.

Looks like I'm responsible for breaking it. I use a heavily modified version of SelectOrderItems. Back to the drawing board :-)