Skip to content

v0.4.0

Latest

Choose a tag to compare

@s1dharthpv s1dharthpv released this 13 Oct 06:49

Floorgraph v0.4.0

Changed

  • OEE Quality now uses one definition on ERPNext v15 and v16:
    Quality = units made / (units made + process loss), where process loss is the Job Card's process_loss_qty (units never completed).
    Before, v15 read the Job Card Scrap Item table and v16 read process_loss_qty, so the same shop-floor facts gave different Quality on the two versions.
  • v15: the Job Card Scrap Item table is no longer read for Quality. Sites that recorded Scrap Items will see Quality change from the upgrade date.
  • Workstation OEE Log: the scrap_qty field is now labelled "Process Loss Qty" (field name unchanged), and Quality has a description of the formula.

Good to know

  • Existing OEE Log rows are not recomputed. Past days keep the value they were stored with, so a v15 site will see a step in its trend at the upgrade date.
  • A Job Card that is still in progress (completed quantity below the quantity to make, nothing marked pending) counts its unfinished remainder as loss, as it already did on v16.
  • Run bench migrate after updating so the new field labels are applied.

Under the hood

  • The version-specific quality tests are merged into shared tests, plus a v15-only test that Scrap Item rows do not change Quality.
  • 72 tests, passing on Frappe/ERPNext v15 and v16.