openfoodfoundation / openfoodnetwork

Connect suppliers, distributors and consumers to trade local produce.
https://www.openfoodnetwork.org
GNU Affero General Public License v3.0
1.1k stars 717 forks source link

Pack by Customer report not showing correct product weights after updating in BOM #11356

Open BethanOFN opened 1 year ago

BethanOFN commented 1 year ago

Description

User reported that product weights adjusted in Bulk Order Management are not reflected in the Pack by Customer report. Prices are updated correctly, but the weight column only shows the original variant weight. The user said that until recently, any weight adjustments in BOM were reflected in the Pack by Customer report. Without the weight column showing the correct data, the hub is finding it more difficult to pack customer orders where products are sold by weight.

Expected Behavior

When weight values are adjusted from BOM, the Pack by Customer report should show the adjusted weight.

Actual Behaviour

When weight values are adjusted from BOM, the Pack by Customer report incorrectly shows the original variant weight.

Steps to Reproduce

  1. Go to Bulk Order Management for Tamar Valley Food Hub and producer Trehill Farm

  2. Observe product weights & prices adjusted to exact product weights e.g.

    Screenshot 2023-08-08 at 11 53 00
  3. Go to Pack by Customer and observe same order with incorrect weight values e.g.

    Screenshot 2023-08-08 at 11 50 17
  4. Notice that price column displays the correct price, it is only the weight column showing incorrect information.

Animated Gif/Screenshot

Workaround

Hub is currently using just the BOM page

Severity

bug-s3 - the hub is instead using the BOM page to pack orders, however this cannot be printed unlike the Pack by Customer report, which is a key feature for the practical running of hubs

Your Environment

Possible Fix

BethanOFN commented 1 year ago

Another user in the UK has reported this as an error, if any input is needed from me/the user please get in touch