ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikas Mayur <vikasma...@gmail.com>
Subject Re: Shippable Weight - r1720900 - OFBIZ-6777
Date Fri, 09 Mar 2018 00:56:06 GMT
Is there anyone who could please confirm if this is bug and a ticket need
to be opened? Sorry for any oversight on my side.


On Tue, Mar 6, 2018 at 8:11 PM, Vikas Mayur <vikasmayur@gmail.com> wrote:

> Hi,
> I see this commit was done to fix the inconsistencies with the weight
> column on the product. The product_weight is now used instead so if I am
> not wrong migrating to OFBiz 16 from OFBiz 12 would require me to copy the
> weight column to product_weight column and everything should magically
> happen. Of-course I need to change the custom code to adapt to this change.
> When I looked closer, the service 'recalcShippingTotal' make use of the
> column shipping_weight (OrderReadHelper.getItemWeight()) instead.
> So, my question is why would we use product_weight on order entry and
> shipping_weight when an item is canceled to recalculate the order total?
> Secondly, if product_weight is used in first place, what is the
> significance of shipping_weight and which one should be used to calculate
> the shipping options (shipping methods and shipping cost) in general?
> Please let me know if I misunderstood the change.
> Thanks in advance.
> Regards
> Vikas

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message