The Changelog

Version 1

PREVNEXT
v1.9.4
PREVNEXT

2024-04-03

Features

  • Added new "requires plugins" clause.
  • Improved ATUM CLI tools registration.

Changes

  • Changed script localized var name.
  • CSS adjustments.

Fixes

  • Fixed jQuery deprecations.

v1.9.3
PREVNEXT

2024-03-01

Features

  • Hooks and params added to ProduceItems class for Action Logs.
  • Available to purchase column editable for main inventory.
  • Added filter to transient params.

Changes

  • If available to purchase is zero must have same behavior as NULL value.
  • Refactoring.
  • Use the new AtumStockDecimals class.
  • Query only for BOM variations when excluding non sellable variations.
  • Extend the PL Reserve Stock class from the new AtumReserveStock.

Fixes

  • Fixed non-existing inventory.
  • Fixed available to purchase checking.

v1.9.2
PREVNEXT

2024-01-29

Features

  • Added new hook to the sync_purchase_prices method.
  • Display value for Sellable Variations selector.
  • New "Produce items according to BOM" feature.
  • Added tooltips to BOM panel list items icons.

Changes

  • Updated sweetAlert2 + modal styling improvements.
  • Updated dependencies.
  • Refactoring.
  • Show negative values in red for the total in warehouse within linked BOM items.
  • Modify hook to prevent hiding variations if MI is not present.
  • Bypass BOMs availability check if main inventory is not selected for an order item.

Fixes

  • Fixed code style warnings.
  • Fixed committed, shortage and free to use recalculations when changing the linked BOM item qty.
  • PHP 8.2 compatibility fix.
  • Fixed hide/show pricing fields in BOM products with MI.

v1.9.1
PREVNEXT

2023-11-27

Features

  • Allow having 2 ATUM list tables on the same page.
  • Added JS hook to be able to load other BOM types externally.
  • Added more hooks to the BOM panel template.
  • Allow linking BOMs in bulk from SC and MC.

Changes

  • Refactoring.
  • Moved the linked BOM template script to a separated view file.
  • Handle the linked BOM types from a global method.
  • Avoid adding a value to the BOM data input if it has no ID.

Fixes

  • ATUM Cost Price compatibility fix.
  • Fixed sync purchase price calculations.
  • Fixed display variation stock fields.
  • Fixed show out stock threshold field on BOMs with inventories.
  • Fixed value for Sellable Variations selector.

v1.9.0
PREVNEXT

2023-11-02

Features

  • Added hooks to the linked BOMs table.
  • Added new UOM column to the linked_boms db table.
  • Added UOM support.
  • Added hooks to be able to alter the stock quantity externally before updating it.
  • Added hooks to be able to alter the calculated stock quantity results externally.
  • BOM hierarchy tree improvements.
  • Added stock indicator colors and icons to the BOM hierarchy trees.
  • Upgraded to webpack 5.
  • Modernized gulpfile.
  • Added filter to allow altering the BOM cost externally.
  • Added hook to allow calculating the BOM cost externally.

Changes

  • Refactoring.
  • Removed unused drag column from linked BOMs table.
  • Readjustments for the linked BOMs table.
  • Adapted product field names to new WC versions.
  • CSS adjustments.
  • Pass extra param to order item BOM tree filters.
  • Required node 18.
  • Refactoring for the BOM cost decimals.
  • Adjusted gulpfile config for webpack 5.
  • Exclude non-sellable variations from SC.
  • Removed deprecated ES6 polyfill support.

Fixes

  • Fixed field names.
  • CSS fixes.
  • Avoid HTML sanitization on calculated stock field labels.
  • Fixed shortage messages on orders BOM trees.
  • Fixed get input names to check if product has linked BOMs.
  • Fixed "sellable" BOMs' configuration preset.
  • Fixed tooltip on total BOM costs after changing their values.
  • Avoid decimals precision issues when doing calculations in JS.
  • Fixed compact function parameters.
  • Fixed save bom_sellable to variables.
  • Fixed display oost/low-stock fields in BOM variations.

v1.8.9
PREVNEXT

2023-08-01

Changes

  • Delete the PL addon status transient when upgrading.
  • Refactoring.

Fixes

  • Fixed linked boms stock used.
  • Fixed the "used for variations" checkbox availability for variable BOMs since WC 7.9 (https://github.com/woocommerce/woocommerce/issues/39338).

v1.8.8
PREVNEXT

2023-06-26

Features

  • Added icons to ATUM Icon Font.
  • Display barcode field in BOM products.
  • Added hook for extra content after BOM lists.

Changes

  • Update order notes after recalculate BOM tree stock.
  • Send stock notification for last child BOM.
  • Reload updated order notes after recalculating the BOM tree stock.
  • Refactoring.
  • Avoid warnings on delayed order notes.
  • Delay the addons integrations until all of them have been loaded.
  • Send BOMs stock emails only if the order item data exists.

Fixes

  • Fixed low stock notifications for low stock amount at the product level.
  • Fixed formatted product name in order notes.
  • Fixed notice errors in some cases.
  • Fixed the "out of stock threshold" field not being displayed on simple BOMs.
  • Fixed missing order_id input in order page when using HPOS.
  • Fixed unsupported get_product_translations_ids integer return.
  • Avoid notices when a variable is not passed to the BOM subtree template.

v1.8.7.1
PREVNEXT

2023-03-31

Fixes

  • Fixed available to purchase checking.

v1.8.7
PREVNEXT

2023-03-29

Features

  • API performance improvement.
  • Added hook to be able to prevent uninstalling tasks.

Fixes

  • Fixed BOM emails notifications.
  • Fixed available to purchase checking.

v1.8.6
PREVNEXT

2023-03-15

Features

  • Enable manage stock buttons when submitting on Gutenberg.
  • Added deactivation tasks.
  • Added support for ATUM trials.

Changes

  • BOMs notifications refactory & added to settings.
  • Apply settings to stock on hold notifications for parent & BOMs.
  • Cast values to float before using them within a mathematical formula.
  • Make sure the manage stock is active if BSC is enabled and the product has BOMs.
  • Force the default param on the get_option helper.

Fixes

  • Fixed SML links.
  • Fix backordered linked BOMs shown as outofstock if stock is 0.
  • Fixed allow backorders show/hide behaviour.
  • Fixed text domain.
  • Fixed hook name.

v1.8.5
PREVNEXT

2022-12-20

Changes

  • Check if function exists before calling it.
  • Updated composer files.
  • Refactoring.
  • Clear old non-legacy data access.
  • Minimum WC version bump.

Fixes

  • Fixed: when applying filters, controlled products appear in the uncontrolled products view and they appear repeated.
  • Fixed PHP notice.
  • BOM stock calculation adjustment, with BOM stock control enabled.
  • Fixed sold individually help tip not being hide for non sellable BOM products.
  • Fix All products included in MF query.
  • Prevent get children from returning false.

v1.8.4.1
PREVNEXT

2022-11-18

Fixes

  • Adjusted minimum ATUM version required.
  • When linking a BOM to a product, it will appear green if the main inventory is out of stock but there is stock in the secondary inventories.

v1.8.4
PREVNEXT

2022-11-09

Features

  • Add full compatibility with the new WooCommerce's HPOS tables.

Changes

  • Refactoring.

v1.8.3
PREVNEXT

2022-10-11

Features

  • Added support for searching and sorting by backorders to MC.
  • Ensure non MI products predicted BOM order items are deleted when transitioning.
  • Allow getting only ids in get_linked_boms function.
  • Add intermediate and non MI BOMs to the transient (predicted table).
  • Allow BOM order items qtys with more than 6 decimal places.
  • Added new filters to some helpers.

Changes

  • Center calc backorders column in List Tables.
  • Update calc_backorders field when calculating stock.
  • Modified moving BOM order items function.
  • Added BOM order items to predicted table if the product or any of its BOMs have no MI activated.
  • Adjust old logic to fixed get_linked_boms_stock_used function.
  • Added order_item_qty to the save transient Ajax call.
  • Set correct predicted items when transitioning back.
  • Remove wc_stock_amount function when calculating items qtys.
  • Updated JS dependencies and require node 16.
  • Remove per unit qty rounding.
  • Update main inventory calculated backorders when linked BOMs are updated.
  • Refactoring.
  • Clean assets dir before compiling.

Fixes

  • Removed duplicated array key.
  • Update BOM stock with decimals when global stock decimals setting is 0.
  • Fixed get_linked_boms_stock_used not including level 0 BOMS in the used_boms prop.
  • Fixed undefined variable in BOM tree when MI is disabled.
  • Fixed non-editable last-child tree nodes colored in blue in specific cases.
  • Prevent deleting edited items.
  • Fixed get_linked_boms_stock_used wrong qtys returned.
  • Prevent rounding qtys if decimals are being used.
  • Ensure qty comparation is correct.
  • Fixed notice wrong number of arguments in prepared SQL.
  • Prevent erroneous JS multiplications in the BOM MI management modal.
  • Ensure correct sum is made in BOM MI management modal.
  • Fixed order type ID.
  • Fixed showing/hiding pricing fields for BOMs according to their "sellable" option.
  • Fixed wrong items backordered calculated in some cases.

v1.8.2
PREVNEXT

2022-09-07

Features

  • Added order id to the Order BOM predicted table.
  • Replaced BOM transient functions.
  • Moved BOM Order items current transients info to the new table.
  • Add non-edited predicted values if no custom items were created.
  • Added Predicted BOM Order items when MI isn't present.
  • Adjusted the calc backorders column in MC to use the new calc prop.

Changes

  • Changed data variable access on ATUM Product Trait.
  • Check if product is has a BOM type before checking if is sellable.
  • Removed unneeded column.
  • Renamed predicted table name.
  • Removed unneeded classes.
  • Reorder some MC classes.
  • Refactoring.

Fixes

  • Fixed undefined variable error in some orders.
  • Fix incorrect array loop.
  • Ensure the order id is an integer when moving the transient data.
  • Ensure atum_data is an array when moving transient data.
  • Fixed PHP code smells.

v1.8.1.1
PREVNEXT

2022-07-22

Fixes

  • Use BOMOrderItemsModel not icluded in BOM Orders API extender.

v1.8.1
PREVNEXT

2022-07-21

Features

  • Added BomOrderItemsModel class and deprecate BOMModel functions.

Changes

  • Refactoring.
  • Add deprecated comments.

Fixes

  • Fixed show BOM hierarchy tree for sellable BOMs at Stock Central.

v1.8.0
PREVNEXT

2022-06-28

Features

  • Mark the order items BOM tree qtys in red when there is not enough stock to fullfill an order.
  • Added action before loading product models.

Changes

  • Renamed all the ATUM params used on queries to the products' API endpoint.
  • Avoid bypassing the MI stock status filter when calculating the stock indicator.
  • Avoid bypassing MI stock status filter when calculating stock indicator style class.
  • Refactoring.
  • Exclude from SC dropdown the categories that only have non-sellable products.
  • Added BOM reserved table to tables to delete when uninstalling.
  • Removed parameter type declaration.
  • Changed "atum_data" prop access.

Fixes

  • Fixed change decimal stock quantity at BOM inventories.
  • Fixed insert BOM order items function always taking the first inventory.
  • Fixed Total Raw Material Cost number not displayed correctly.
  • Recalculate stock after updating selling priority and/or minimum threshold at list tables.
  • Fixed variable product's manage stock being checked when changing the product type.

v1.7.9
PREVNEXT

2022-05-18

Features

  • Show inventories to be used in WC Orders if no transient is set.
  • Added order_item_id to deferred recalculate info.

Changes

  • Changed PO notes with real calculated stock.
  • Refactoring.
  • Changed order item notes' text for products with BOMs and BOM Stock Control enabled.

Fixes

  • Fixed wrong stock changes in PO free when the inventories are in negative stock.
  • Fixed search by value "0" in List Tables.
  • Fixed filter names.
  • Fixed sorting in MC by stock quantity.
  • Fixed no order ID sent to async tasks for Inventory Logs.

v1.7.8
PREVNEXT

2022-05-06

Features

  • Added filter to check if sql field has linked BOMs when ordering by stock.
  • Added extra param to field filter to avoid adding extra criteria when sorting by stock at ListTables.
  • Added low stock threshold column to Manufacturing Central.
  • Sortable low stock threshold column.

Changes

  • Updated PL tools config array to the new format.
  • Modify fields for the Current Stock Value widget query.
  • Refactoring.

Fixes

  • Strip HTML tags on backorder email content.
  • Prevent showimg scientific notation in linked BOMs.

v1.7.7
PREVNEXT

2022-04-22

Features

  • Added filter to determine if an inventory stock must be added to total in Stock Value widget.

Changes

  • Moved suppliers filter query to AtumListTable class.
  • Recalculate associated products after updating a BOM at the REST API.
  • Do not exclude unsellable BOMs in queries from REST API requests.
  • Changed low stock name to restock status everywhere (for more clarity).
  • Refactoring.

Fixes

  • Prevent accessing non existing linked BOMs.

v1.7.6
PREVNEXT

2022-04-04

Changes

  • Changed outdated links to documentation.
  • Override onbackorder status if BOM children don't allow backorders when BOM stock control is enabled.
  • Remove linked boms when changing product type to variable.

Fixes

  • Fixed SQL error when switch a simple product to variable.
  • Fixed order note stock is not displayed correctly when deleting a product with BOMs from a WC order.
  • Fixed stock not being modified properly when editing the stock of a BOM inventory order item.

v1.7.5
PREVNEXT

2022-03-11

Changes

  • Fire WC stock hook to update grouped/bundle parents when a calculated product is updated.
  • Refactoring.
  • Do not add the BOM sellables exclusion when not necessary.

Fixes

  • Fixed non sellable BOM results on searches.
  • Fixed Inventory Logs not allowing to include out of stock inventories in the BOM MI management modal.
  • Fixed the entries per page custom values not being saved on Manufacturing Central.

v1.7.4
PREVNEXT

2022-02-23

Features

  • Allow filtering the BOM order item ID.
  • Allow filtering the BOM order item transient order ID.
  • Added the BOM MI management popup when a delivery is added if needed.
  • Added an alert when there are main inventories expired in products with children and parents calculated stock field.

Changes

  • Changed hook for the admin notice when there are incorrect linked BOMs.
  • Updated minimum versions.
  • Apply stock quantity decimals on commited boms column in MC.
  • Resend the tree when saving the BOM tree transient.
  • Prevent change stock status on main expired inventories in products with children and parents.
  • Moved ajax display BOM tree to MI integration class.
  • Removed unnecesary access to the database.

Fixes

  • Fixed blocking of incorrect manage stock in variable BOMs (BOM Stock Control enabled).
  • Fixed visibility of fields not according to logic when one inventory is expired (BOM Stock Control enabled).
  • Fixed the enable manage stock in new BOM products.
  • Fixed wrong calculated stock when a BOM inventory expires.
  • Fixed unexisting function called.
  • Fixed incongruent field display when changing product data.
  • Fixed JSON info shown in order BOM tree when MI is disabled.
  • Fixed error when transitioning an order with non existing products.

v1.7.3
PREVNEXT

2022-01-26

Features

  • Added PO PRO compatibility to the BOM MI management modal.
  • Add filter to the BOM Order Items transient.
  • Add bom tree is editable variable.
  • Automatically calculate BOM tree if transient was not created.
  • Allow specifying the quantity for the BOM tree within orders.
  • Allow filtering the order id before saving the BOM order items transient.

Changes

  • Always remove addon transient when uninstalling.
  • Delete add-ons list transient when uninstalling.
  • Moved all the Orders' hooks to its own class.
  • Refactoring.
  • Make sure the ATUM cache is enabled before preparing the BOM tree recalculation.
  • Ensure next linked BOMs take the correct inventory to use.
  • Remove BOM order items transient when updating (if empty).
  • Prevent users to remove the BOM order items transient manually.
  • Make sure the cache is enabled before processing multiple BOMs recalculation from MC.
  • Delete the BOM order items transient in POs when transitioning to received.
  • Pass the order to the BOM tree views.
  • Pass the order item to the BOM MI Management item template.
  • Changed the text for the PL icon on PO items.
  • Changed get_linked_boms_stock_used to allow continue calculating stock even if an OOS product has been found.

Fixes

  • Fixed BOM tree being added twice to ATUM Orders.
  • Fixed incorrect stock status being saved on BOMs without childrens or parents.
  • Fixed incorrect stock status on BOMs with MI.
  • Minor CSS fixes.
  • Fixed methods being called on the wrong class.
  • Sync totals when opening the BOM MI management modal.
  • Text fix.
  • Fixed wrong number of params.
  • Fixed editable BOM trees not editable anymore after collapsing/expanding all nodes.
  • Fixed BOM subtree view loading path.
  • Avoid adding the BOM MI management modal template more than once.
  • Fixed last level BOM tree node do not expanding/collapsing.
  • Fixed wrong order in the inventories of the product BOMs added to an order in the product BOM tree.
  • Fixed blocking of incorrect manage stock in the variable BOMs when BOM Stock Control is enabled.

v1.7.2
PREVNEXT

2021-12-07

Features

  • Allow disabling Manufacturing Central columns from settings.

Changes

  • Added the PO PRO icon to ATUM Settings.
  • ATUM dates refactoring.
  • Exclude deferred calc BOM tree from ATUM cache groups.
  • Refactoring.

Fixes

  • Fixed wrong update where clause when upgrading.
  • Fixed reserved stock not allowing linked BOMs with qty 0.
  • Fixed API import not allowing linked BOMs with qty 0.
  • Fixed the blocking of a product's manage stock option not happening in the cases where it should.

v1.7.1
PREVNEXT

2021-11-26

Features

  • Added compatibility to WPML when creating product translations from the frontend.
  • Performance improvement: prevent querying the database when unnecessary.

Changes

  • Ajax nonce names unification.
  • Converted the WPML class to singleton.
  • Prevent showing ATUM panels even when creating a translation.
  • Provide jQuery with Webpack config to avoid conflicts with 3rd party plugins.
  • Refactoring.
  • Check allowBackOrders only if BOM stock control is enabled.
  • Show secondary inventories stock in BOM tree nodes if BOM stock control is disabled and the main inventory is unmanaged.
  • Make static the sync purcahse prices method.
  • Refactoring for the entries per page option in ATUM List Tables.
  • JS hooks renaming to follow the same naming conventions.

Fixes

  • Fixed wrong class called on hook.
  • Fixed the stock drop not being applied correctly in the BOM tree (with BOM Stock control disabled).
  • Prevent the inventory iteration from using a managed inventory with 0 stock without contemplating the next iterations (with BOM stock control disabled).
  • Fixed shortage and free to use for products with managed instock inventories.
  • Fixed wrong alert when adding a BOM to any product.
  • Fixed popovers CSS warning.
  • Fix wrong BOM stock status when increasing quantity (with BOM stock control disabled).
  • Fixed duplicated stock status field & committed, shortage and free to use fields refactoring.
  • Fixed MI integration checking.
  • Fixed the sync purchase price meta not being copied when duplicating any product.
  • Fixed typos in order statuses.

v1.7.0.1
PREVNEXT

2021-11-02

Features

  • Performance improvement: after saving in Manufacturing Central return the updated table data directly without having to perform an extra request to update.
  • Added hook to be able to bypass the automatic BOMs deduction.
  • Added filter to prevent sending of notifications for certain products.

Changes

  • Untracked package-lock.json.
  • Refactoring.
  • Return an empty array on ajax JSON search functions when there are no results.
  • Hook names change: 'atum/product_levels/bypass_order_stock_increase' and 'atum/product_levels/bypass_order_stock_reduce'.

Fixes

  • Fixed duplicate fields on Product Data when BOM stock control was disabled and MI enabled.
  • Fixed show/hide fields at BOM products with inventory and BOM Stock Control disabled.

v1.6.9
PREVNEXT

2021-10-07

Features

  • Added nesting level calculation to the linked BOMs stock used getter.
  • Added action hooks before and after the linked BOMs stock used calcs.
  • Allow setting -1 to available to purchase so any BOM associate product can be put as out of stock temporarily.
  • Adapt WP-CLI to allow executing sync_real_stock tool per batches.
  • Added batch processing to the related BOM Stock tool in REST API.

Changes

  • Bypass region retrictions for BOMs with MI activated.
  • Added parameter to duplicate_wpml function.
  • Refactoring.
  • Execute the sync_real_stock tool per batches.

Fixes

  • Fixed typo.
  • Fixed missing atum_stock_status update.

v1.6.8
PREVNEXT

2021-09-17

Features

  • Improve performance when transitioning orders that have items with huge BOM trees.
  • Launch recalculate_bom_tree function only when necesary, and recalc the nodes products' stock (BOMs with BOMs) correctly.
  • Added support for PL tools when using the new ATUM's WP-CLI commands.

Changes

  • Change the way the sales days are being calculated.
  • Updated JS dependencies.
  • Add MI cases to Manufacturing Central list when has unmanaged inventories.

Fixes

  • Fixed free to use and shortage calc in some cases.
  • Fixed missing ATUM UI icons within orders.
  • Fixed Manufacturing Central views' counters on some cases.
  • Fixed wrong text domains.

v1.6.7
PREVNEXT

2021-08-17

Changes

  • Update manage stock for BOM-related products with an SQL query for performance improvement.
  • Changed tooltip texts in MC for the MI sum cells.
  • Updated ATUM icon font
  • Changed position of Committed, shortage and free to use fields when the product has MI enabled.

Fixes

  • Fixed BOM tree not removed when an order item is removed.
  • Fixed error when sending ajax multipart/formdata
  • Fixed wrong committed, shortage and free to use calculated values when BOM Stock Control disabled.
  • Fixed stock totalizator in Manufacturing Central when BOM Stock Control disabled.

v1.6.6.1
PREVNEXT

2021-07-19

Fixes

  • Fixed version number.

v1.6.6
PREVNEXT

2021-07-16

Features

  • Added real stock extra filter to Manufacturing Central.
  • Show warning notices when the Main Inventory is written off and has linked BOMs.

Changes

  • Update manage stock for BOM-related products with an SQL query for performance improvement.
  • Changed tooltip texts in MC for the MI sum cells.

Fixes

  • Fixed calculated PL columns: total in warehouse, shortage and free to use.
  • Fixed editable functionality for Total in warehouse column.
  • Fixed BOM Stock not synchronized if purchaseing non-original lang products (WPML compatibility).
  • Update input value when a new BOM is added.
  • Fixed sorting styles to metabox variations fields.
  • Fixed undefined function get_current_screen() when accessing MC.
  • Fix wrong warning modal being shown when editing an inventory in MC when stock control disabled.

v1.6.5
PREVNEXT

2021-06-21

Features

  • Allow disabling the PL API when the ATUM API module is off.
  • Check that a valid product type is sent when adding BOMs to product from REST API.

Changes

  • Refactoring: code style.
  • Delete set-meta CSS class when it's a calculated stock.

Fixes

  • Added missing query data filter at Manufacturing Central.
  • Fixed BOM tree not being updated when modifying a BOM with MI stock from Manufacturing Central.
  • Fixed mail queue when a purchase has regular products after BOM products.
  • Fixed order note when the purchase doesn't have BOMs.
  • Fixed hidden fields for non sellable variations.

v1.6.4
PREVNEXT

2021-05-28

Features

  • Calculate the BOM tree stock with async action after quick saving at WC products list.
  • Show ATUM order items although the product was removed.
  • Added variable BOM types to multi-price filter.
  • Added BOM variable types to Stock Central parents post types.
  • Replace stock emails for products with linked BOMs when the BOM stock control is enabled.

Changes

  • Prevent deleting cache on BOM order notes.
  • Updated JS dependencies.
  • Show empty cells for commited, shortage and free to use on inventories rows.
  • Ensure an order item exists before adding notes.
  • Set the default value as 1 for new linked BOMs.
  • Show linked BOMs quantity regardless of the ATUM stock decimals setting value.
  • Make sure it's a PL-compatible order before deleting BOM order items.
  • Enlarged linked BOMs fields width.

Fixes

  • WPML styles adjustment.
  • WPML compatibility: fixed RAW variations not being created.
  • Fixed linked BOMs searching by terms starting by numbers.
  • Fixed make sellable bulk action for all the variations.
  • Fixed API check bom order items.
  • Fixed total in warehouse quantities returning zero.
  • Fix empty order notes when doesn't exist PL related notes.

v1.6.3
PREVNEXT

2021-04-30

Features

  • Full RTL languages compatibility.
  • Collect data when creating order notes and save metas.
  • Added option to ATUM settings to specify the number of decimals used for the BOM cost.

Changes

  • Exclude products with BOMs when calculating values for Current Stock Value widget.
  • Calculate BOM parents stock after quick saving or importing BOM products.
  • Use the ATUM's font icon for child arrows everywhere.

Fixes

  • Fixed function in API called with wrong parameter.
  • Fixed do not search trashed parents.
  • Prevent error when a product ID is passed instead of a product object.
  • Fixed showing PL fields in API requests.
  • Fixed conflict with AutomateWoo when returning an empty comment.

v1.6.2
PREVNEXT

2021-04-08

Features

  • Added compounded stock to Available Stock column for variable products.

Changes

  • BOM order items' refactoring.
  • Check if "is_bom" column exists as it may be created also at ATUM upgrade.
  • Validate API requests to product data endpoint when BOM stock control is enabled and the product has linked BOMs.
  • Do not run some upgrade scripts when it's a fresh install.
  • Updated dependencies + use WebPack 4.
  • Reduced change stock hooks' priorities.

Fixes

  • Fixed BOM order data to insert on REST API call.

v1.6.1
PREVNEXT

2021-03-16

Changes

  • Use request params instead of global variable and prepare method for batch requests.
  • Remove BOM transient order item if the Main Invnetory is removed.

Fixes

  • Fixed missing methods errors.
  • Prevent changing stock when adding order items in not allowed statuses.

v1.6.0
PREVNEXT

2021-03-12

Features

  • Show the sellable BOMs in Stock Central.
  • Added new helper to obtain the sync purchase price meta value.
  • Added column type for sellable BOMs in Stock Central.
  • Added existing sellable BOMs' taxonomies to SC dropdown.
  • Include variable boms with sellable variations in SC.
  • Added "Available to produce" column to Manufacturing Central.
  • Added a security check to avoid changing the stock multiple times for the same order.
  • Add BOM tree to orders with MI-enabled products + linked BOMs but without any inventory set.
  • Serve every PL fields in API Requests too.

Changes

  • Get the WC order statuses that change the stock from ATUM Globals.
  • Disabled the sorting button on linked BOM items for now.

Fixes

  • Remove all the BOM order items when an order is deleted.
  • Fixed wrong status name comparision.
  • Fixed "Sync purchase price" switch not being updated correctly.
  • Fixed wrong column name in List Tables.
  • Apply BOM order data from REST API.
  • Avoid errors when showing products at WC CLI.

v1.5.9
PREVNEXT

2021-02-19

Features

  • Add simple BOM types to simple product types filter.
  • Added tooltip with extra info to the inventories within the BOM MI Management popup.

Changes

  • Added antialiasing for all the ATUM font icons everywhere.
  • Delete BOM transient depending on chg_stock_order_complete option value.
  • Prevent saving BOM transient if not needed.
  • Changed 'simple_product_types' hook name.
  • Refactoring.
  • Allow decimals in BOM MI management popup.
  • Allow the order item quantity for any order item to be changed if the transient is not set.
  • Replaced switchery by a 100% CSS switcher.

Fixes

  • Prevent products with BOM stock changes when managing order items from the backend and order status distinct from 'on-hold',
  • Fixed BOM associates tab's prop values not being saved.
  • Prevent undefined variable in hook 'atum/product_levels/after_update_order_bom'.
  • Removed error log.
  • Added the wp-hooks dependency to ensure they are loaded by WordPress.
  • Fixed PL notes not being generated when transitioning.
  • Prevent removing order notes if product with BOMs has MI enabled.
  • Prevent showing span tags when no region is selected but default is set.
  • Prevent negative quantities in BOM MI Management popup.
  • Prevent disabling purchase price non-main inventories.
  • Fixed wrongly documented return.
  • Fixed BOM total being calculated wrongly due to new BS tooltip.
  • Fixed sync purchase price blocking.
  • Fixed BOM cost calculation tooltips when the quantities get changed.

v1.5.8
PREVNEXT

2021-02-03

Features

  • Added regular price, sale price and groiss profit columns to Manufacturing Central.
  • Added help text for regular price, sale price and gross profit columns.
  • Show a notice when any product has some linked BOMs with zero quantity assigned.

Fixes

  • Fixed some settings' key names to match the standards.
  • Fixed PHP notice when the BOM qty was set to zero.

v1.5.7
PREVNEXT

2021-01-29

Features

  • Added custom get_formatted_name functions to Simple and Variation BOM Product traits.
  • Added tooltip to BOM product's name in linked BOMs tab.
  • Allow until 8 decimals on linked BOMs quantities without scientific notation.
  • Added filters to MC to allow adding row actions externally.

Changes

  • Disable the Sync Purchase Price field when there are no linked BOMs yet.
  • Enable the sync Purchase Price after adding the first BOM to a product.
  • Text change for the Purchase Price field when the sync Purchase Price is enabled.
  • Ensure there exists an accumulated qty when building the BOM tree for any order item.
  • Changed the formatted name in Linked BOMs tab when searching.
  • Refactoring.
  • Add force parameter to BOMModel's get_linked_bom method.
  • Enable/disable purchase price depending on sync Purchase Price value.
  • Adapt enable/diable Purchase Price when sync switch changes to MI.
  • Added class to products with negative stock in BOM trees.
  • Upgraded popovers and tooltips to Bootstrap 5.

Fixes

  • Prevent adding more than once the calculated stock tooltip hook in List Tables.
  • Prevent scientific notation in BOM prices.
  • Fixed error when inserting linked BOM.
  • Fixed variation names in BOM list when including a span that was breaking the HTML.
  • Fixed linked BOMS were being inserted twice.
  • Fixed BOM inventories' stock quantity on sales update.
  • Fixed BOM quantities metaboxes.

v1.5.6
PREVNEXT

2021-01-05

Changes

  • Unify how the existence of products is checked.
  • Refactoring.

Fixes

  • Ensure that a product still exists before adding the node to the hierarchy tree.
  • Fixed free to use qty not being shown on Product's page.
  • Fixed all the jQuery deprecations until version 3.5.

v1.5.5
PREVNEXT

2020-12-16

Features

  • Do not load the ATUM Order items when not needed to improve performance.

Changes

  • Use the new helper to get the current timestamp.
  • Use the new AtumAdminNotices component when showing notices.

Fixes

  • CSS fixes.
  • Recalculate BOM tree stock after saving a product through the API.
  • Fixed error when a non ATUM product is passed to the check_bom_minimum_threshold method.

v1.5.4
PREVNEXT

2020-11-27

Changes

  • Updated SweetAlert2 dependency.
  • Refactoring.

v1.5.3
PREVNEXT

2020-11-13

Features

  • Added required hook for action logs.

Changes

  • Set min node version to 14 and added jquery as webpack external.
  • Refactoring.
  • Added support for ES2017 to tsconfig.json.

Fixes

  • Prevent missing sales_last_days at Manufacturing Central columns.
  • Fixed JS error when opening variations on variable BOMs.

v1.5.2
PREVNEXT

2020-10-27

Changes

  • Changed MI filter name.
  • Refactoring.

Fixes

  • Fixed trying to reserve stock when no stock wanted.
  • Fixed assign BOM to a variation disables and checks all the other variations' manage stock checkboxes.
  • Fixed wrong group used for caching the deferred calc BOM tree.

v1.5.1
PREVNEXT

2020-10-08

Features

  • Added full compatibility for reserved stock to BOM products.
  • Performance improvement: compact all the product BOM tree stock calls in only one function call.
  • Update new is_bom column data when upgrading.
  • Performance improvement: Use new is_bom column to reduce the products' loop loading time.

Changes

  • Refactoring.
  • BOM tree CSS adjustments.
  • BOM MI management popup adjustments.
  • Moved JS trigger to hook.
  • Hide pricing fields for non sellable BOMs.
  • Add WC changes into PL ReserveStock class.

Fixes

  • Fixed select2 dropdown placement on linked BOMs section.
  • Fixed wrong text domains on some strings.
  • Fixed popover arrow CSS.
  • Fixed empty sales_last_ndays in Manufacturing Central.

v1.5.0
PREVNEXT

2020-09-23

Features

Performance improvement when saving BOMs with many parents.

Changes

  • Allow specifying product ID when recalculating the BOM tree's stock.
  • Check if the product exist before recalculating its BOMs.

Fixes

  • Avoid enabling expired MI's manage stock checkbox.
  • Fixed missing data when ordering by "Sales Last Days" column in Manufacturing Central.
  • Fixed ATUM stock status not being updated on calculating stocks.

v1.4.9
PREVNEXT

2020-08-27

Features

  • Created BOM reserved stock table.
  • Added BOM reserved stock functionallity.

Changes

  • Refactoring.

Fixes

  • Fixed calculated stock set to 0 since WP 5.5.

v1.4.8.1
PREVNEXT

2020-08-11

Features

  • Added Reserved Stock functionality for BOMs when the BOM stock control is enabled.

v1.4.8
PREVNEXT

2020-07-30

Changes

  • Enable/Disable allow backorder fields when adding/removing linked BOMs.
  • Ensure backorders are not allowed when saving if associated products don't allow backorders.

Fixes

  • Fixed wrong calculated stock when wanted qty equals BOM stock.
  • Fixed missing Multi-Inventories in non MI Product BOMs' tree within POs.
  • Fixed variations not being shown in Manufacturing Central when a view was active.
  • Fixed calculated qtys were rounded instead of floored.

v1.4.7
PREVNEXT

2020-07-10

Changes

  • Adapted hook to renamed purchade orders' hook.
  • Updated JS dependencies.

Fixes

  • Fixed Inventory Logs notes included wrong qtys for calculated stocks.
  • Fixed sync purchase price always disabled.
  • Fixed sync purchase price showing wrong value for variations.
  • Fixed MI integration's fields-to-hide.
  • Removed non existing variable from hook.
  • Fixed Manufacturing Central's "search by column" functionality.

v1.4.6
PREVNEXT

2020-06-19

Features

  • Improved performance when recalculating the BOM trees.
  • Allow filtering inventories by supplier + product type.
  • Run the "recalculate_bom_tree" method asynchronously in some cases.
  • Create the BOM order items transient for uncompleted ATUM Orders.

Changes

  • Format BOM cost figures according to WC pricing configuration.
  • Ensure a valid product is passed before recalculating the BOM tree stock.
  • Recalculate the BOM tree again after changing an order status.
  • Adjusted select2 components to follow the enhancedSelect component conventions.
  • Recalculate the BOM tree when BOM without children has its stock increased in Inventory Logs.
  • Remove BOM variations and linked BOMs after changing the product type.
  • Show the Linked Products' tab on sellable BOM products.
  • Remove the BOM order items transient when a PO increases the stock (if don't really needed).
  • Refactoring.

Fixes

  • Do not hide the backorders field when the BOM stock control is enabled.
  • Do not block the manage stock and backorders fields for products with BOM if the BOM stock control is disabled.
  • Fixed total BOM cost formatting.
  • Fixed order notes not adding the right stock numbers for products with calculated stock.
  • Fixed ATUM order notes not adding the right stock numbers for products with calculated stock.
  • Fixed calculated stock quantity being set to 1 when there weren't enough BOM to produce 1 product.
  • Removed console log message.
  • Fixed BOM builder selects.
  • Fixed BOM sellable variations' out of stock threshold field not being shown.
  • Fixed calculated stock not being calculated correctly when adding/changing the linked BOMs.
  • Fixed add_action hook being used instead of add_filter.
  • Fixed backorders field not showing in BOM products when the BOM stock control was enabled.
  • Fixed product type filtering in Manufacturing Central.
  • Fixed calculated stock products not getting their stocks changed in Inventory Logs.
  • Fixed wrong BOM total required in BOM MI Management popup after editing the order item qty.
  • Update the BOM quantities on the orders' BOM tree after saving the BOM MI management popup.

v1.4.5
PREVNEXT

2020-05-29

Features

  • Added new custom hooks.

Changes

  • Updated minimum required WordPress version to 4.7.0.
  • Refactoring.
  • Allow setting -1 as posts per page in Manufacturing Central settings.
  • Allow setting backorders on non sellable BOMs, so their parents can set the option too.

Fixes

  • Fixed stocks not being changed for Inventory Logs when BOM stock control was enabled.
  • Prevent duplicated IDs for sync purchase price inputs on variations.
  • Fixed products need to be save twice to refresh the calculated stock value.

v1.4.4
PREVNEXT

2020-05-08

Features

  • Overall performance improvements.
  • Reduced SQL queries complexity.
  • Removed duplicated queries.
  • Avoid recalculating the BOM trees multiple times.
  • Added cache handlers to some helpers to improve performance.

Changes

  • Make stockables all the BOM products' inventories.
  • Prevent accessing order items if order type not supported.
  • Added PL variation types to MI compatible children types.
  • Added "modify" and "delete" options by inventory to BOMModel.
  • Added decimal values (if set) to the calculated stock field.
  • Refactoring.

Fixes

  • Fixed error when there is a NULL parameter being passed to a hook.
  • Fixed wrong logic when enabling/disabling the manage stock field.
  • Fxed manage stock field was not being saved for new inventories.
  • Fixed BOM variable with MI calculating wrong stock in Manufacturing Central.
  • Prevent order items' BOM trees from being built multiple times and casuing issues.
  • Fixed POs always reducing stock when changing their status.
  • Fixed WC Orders with BOM + MI order items couldn't be changed form the backend.
  • Fixed BOM order item transient being deleted in non "on-hold" statuses.
  • Fixed BOM products not being counted in ATUM Dashboard.
  • Minor CSS fixes.

v1.4.3
PREVNEXT

2020-04-03

Changes

  • Updated ATUM Utils JS component.
  • Ensure there are no WPML translations when deleting a linked BOM.
  • Refactory.

Fixes

  • Fixed stock being reduced instead of increased for BOM without MI on Order status changes.
  • Fixed checkboxes column not being shown in Manufacturing Central when is AJAX loaded.
  • Prevent showing the BOM panels for WPML translations.

v1.4.2
PREVNEXT

2020-03-06

Fixes

  • Fixed backorders allowed field's wrong show/hide behavior.
  • Refactory.
  • CSS fixes.

v1.4.1
PREVNEXT

2020-02-25

Features

  • Added support for inventory expiry days.

Changes

  • Refactory set_bom_order_items_transient function to prevent non needed queries.
  • Added new hook after Manufacturing Central List filters.
  • Suspend the products' BOM order stock recalculation when an order inventory is created.
  • Suspend the products' BOM order stock recalculation when an order inventory is removed.
  • Display the order item's BOM tree collapsed by default.
  • Added Cache to the BOM order items transient.
  • Added cache to BOMModel order items' methods.
  • BOM order item inventories' changes detection when saving orders.

Fixes

  • Fixed wrong BOM order tree calculated if any inventory had negative stock.
  • Fixed wrong available inventory quantity when editing orders with already changed stock.
  • Fixed no correct quantities were inserted in the BOM orders' table when editing from the backend.
  • Fixed inventory stock not being increased correctly from WC orders.
  • Fixed wrong BOM order items quantities when the order status was "pending payment".
  • Fixed product with BOM and without MI stock wasn't decreasing correctly.
  • Fixed BOM tree order items were messed up when ordering items by column.
  • Refactory.

v1.4.0
PREVNEXT

2020-02-07

Features

  • Added full compatibility with Multi-Inventory.
  • Now all the BOM types may have multiple inventories and the MI configuration is applied to them too.
  • If the BOM stock control is enabled the Main Inventories will handle the calculated stock.
  • The inventories used for the last level BOM can be eidted manually from the order/PO/IL page.
  • Added new BOM management popup to be able to edit the used inventories manually.
  • The full BOM tree (with used quantities) is now shown on orders/POs/ILs (with or without MI).
  • A new icon is shown on order items to easily identify whether the product has linked BOM.
  • The correct BOM inventories are being reduced/increased when switching order statuses.
  • The sellable BOMs will make use of MI as any other MI-compatible product when sold.
  • Added the BOM fields (calculated stock, committed, shortage, free to use) to the Main Inventory.
  • Added new helper to find the bottom-level BOM children.
  • Added column groups to Manufacturing Central.
  • Added new custom hook for BOM tree nodes.
  • Added inventories to the BOM report.
  • Add the quantity input to the BOM Management popup and disable the order item's one.
  • Update BOM tree qtys after changing the order item quantity.
  • Exclude all the associated products and the variation siblings from BOM link searches (to avoid cyclical issues).
  • Hide the categories that have only non-sellable BOMs within and the "hide_empty" option set to true.

Changes

  • Upgraded to TypeScript 3.7.3.
  • Updated dependency versions.
  • Changed the PL icon logic for the tooltip text.
  • Disable the WC's manage stock for BOM products when the BOM stock control is enabled.
  • Get rid of the original_stock hidden field when a product has calculated stock.
  • Disable the Allow Backorders field for the associated products that have children not allowing them.
  • Show the allow backorder fields on BOM products when the BOM stock control is enabled.
  • Wait untilt WC has completed the product fields visibility adjustments before doing our own.
  • Only add hooks for force real stock when necessary.
  • Get rid of the "ATUM_PREFIX" constant from db table names to avoid issues.
  • Added changed_qty column to BOM Orders table.
  • Only check if there is enough stock available if the BOM stock control is disabled.
  • Added the premium support link to the plugin details on the plugins page.
  • Show Virtual and Downloadable checkboxes on simple BOMs.

Fixes

  • Removed the BOM fields from non-main inventories.
  • Fixed stock increase/decrease for items with linked BOMs.
  • Fixed available to purchase option.
  • Fixed inventories not being set as onbackorder when should.
  • Fixed unending loop issue affecting to variable BOMs.
  • Fixed the ATUM data removal when a product is deleted.
  • Fixed allow back orders field not being disabled on variations.
  • Fixed associated products not showing the right stock status when disabling the OOST.
  • Fixed non numeric value error when getting the calculated stock.
  • Recalculate the BOM tree stock after changing the minimum threshold from the product page.
  • Recalculate the synced purchase price when doing changes to the parent product's BOMs.
  • Prevent adding BOM order rows with qty 0.
  • Show the PL fields correctly on BOM variations when the BOM stock control is disabled.
  • Fixed "Used for variations" checkbox not being shown when creating variable BOMs.
  • Fixed BOM search query.
  • Avoid locking the manage stock checkbox on non-main inventories.
  • CSS fixes.
  • Refactory.

v1.3.7.1
PREVNEXT

2019-12-05

Changes

  • Check if an associated product is really a product before adding it to the list.

Fixes

  • Fixed variable BOM sellable saved before saving changes.
  • Fixed ATUM Product Data saved twice when creating if BOM stock control was enabled.

v1.3.7
PREVNEXT

2019-11-14

Features

  • Set aliases for the BOM product types' classes.
  • Added filtering to Products' API endpoint using PL fields.

Changes

  • Prepare the BOM products for database in API requests.
  • CSS changes for accessibility (following WordPress 5.3 new styling).

Fixes

  • Fixed wrong arguments' order in Products' API endpoint extender.
  • Register some PL admin hooks when a REST API request is being performed.

v1.3.6.2
PREVNEXT

2019-11-04

Fixes

  • Fixed calculated stock being updated even if BOM stock control was disabled.

v1.3.6
PREVNEXT

2019-10-31

Features

  • Added Product Levels extension for the new ATUM REST API.
  • Added BOM order items to the WC Orders, Purchase Orders and Inventory Logs endpoints.
  • Added linked BOMs to the Products and Variation Products endpoints.
  • Added BOM Stock control data to the Products endpoint.
  • Added Product Levels tools to the ATUM Tools endpoint.
  • Added sync real stock for products with calculated stock.
  • Added sync BOM calculated stocks tool.

Changes

  • Exclude BOMs from query from the list of IDs to subquery.
  • Sync all the WC stock with calculated stock automatically when updating to this version.

Fixes

  • Fixed wrong bom_sellable value being saved for Variable BOMs.
  • Fixed "get_all_related_bom_products" legacy method that wasn't retieving variations.
  • Fixed no BOMs in Manufacturing Central when accessing the "all stock" view.
  • Fixed BOM sellable field being saved in non-BOM products.
  • Fixed wrong language text domains.
  • CSS fixes.
  • Refactory.

v1.3.5.1
PREVNEXT

2019-10-11

Fixes

  • Fixed calculated stock wasn't set from Manufacturing Central if the new BOM stock was 0.
  • Refactory.

v1.3.5
PREVNEXT

2019-09-20

Changes

  • Adapted gulpfile code to work with Gulp 4.
  • Check that a product is really a product before confirming if it's a BOM.
  • Extra checking to avoid issues with products that not exist anymore.
  • Count the sellable BOMs for the "Sales Last Days" column in Manufacturing Central.
  • Set the variable product's sellable status depending on its children statuses.

Fixes

  • Fixed purchase price sync when a product is formed by more than one unit of any BOM.
  • CSS fixes.
  • Refactory.

v1.3.4.2
PREVNEXT

2019-09-05

Changes

  • Updated JS dependencies.
  • Updated gulpfile.
  • Added a new hook to alert other plugins that Product Levels has just activated.

Fixes

  • Select2 CSS fix.

v1.3.4.1
PREVNEXT

2019-08-16

Changes

  • Moved ATUM product data fields related to PL from ATUM in the Helper duplicate a product function.

Fixes

  • Buf fix wrog stock status in backordered products when bom stock control enabled.
  • Buf fix BOM associates were not shown.
  • CSS fixes.
  • Refactory.

v1.3.4
PREVNEXT

2019-07-31

Features

  • Adapted to the new ATUM colors feature.

Fixes

  • Fixed stock indicator and editable stocks in Manufacturing Central.
  • Fixed language file not being loaded.
  • Prevent adding "calculated stock" tooltip to MI parents.
  • Fixed tsconfig.json to support TypeScript 3.5.3.
  • CSS fixes.
  • Refactory.

v1.3.3.6
PREVNEXT

2019-06-28

Fixes

  • Fixed undefined variable notice.
  • Check that a product still exists before trying to display it on List Tables.
  • Remove linked BOM when a product is deleted.
  • Avoid memory leaks when deleting cache groups.
  • Refactory.

v1.3.3.5
PREVNEXT

2019-06-21

Fixes

  • Fixed undefined index error in Manufacturing Central.
  • Fixed stock indicator not showing for variable BOM in MC.
  • Refactory.

v1.3.3.4
PREVNEXT

2019-06-03

Fixes

  • Handle weird cases when trying to get the calculated stock from something that is not a product.
  • Prevent reducing BOM stock twice with WooCommerce versions < 3.5.0.

v1.3.3.3
PREVNEXT

2019-05-24

Fixes

  • Fixed calculated stock recalculation for all the BOM associates on every purchase.
  • Fixed editables variations with calculated stock quantity on Stock Central.
  • Refactory.

v1.3.3.2
PREVNEXT

2019-05-18

Changes

  • Added exclude path to TypeScript config.

Fixes

  • Avoid conflicts with jQuery UI's datepicker.
  • CSS fixes.

v1.3.3.1
PREVNEXT

2019-05-08

Fixes

  • Refactory.
  • CSS recompilation.

v1.3.3
PREVNEXT

2019-04-30

Features

  • Performance improvement: reduced number of db queries performed in Manufacturing Central to the half.
  • Performance improvement: added a calculated stok quantity column to the ATUM product data table to reduce calculations on every page load.
  • Performance improvement: recalculate the calculated stock quantity column when needed.
  • Recalculate the calculated stock quantity for the whole BOM tree after MC changes.
  • Recalculate the calculated stock quantity every time the a product stock is increased/reduced.

Changes

  • Updated to the latest TypeScript version.
  • Disable the ATUM cache when forcing the calculated stock quantity.

Fixes

  • Undefined index fix.
  • Refactory.
  • Added compatibility with WC 3.6+ (items are now discounting stock when added to orders manually).
  • Fixed checking BOM stock in cart was checking non BOM products.
  • Fixed blank cells showing on Sales Last Days column.
  • Fixed stock reduced twice for calculated products in Orders.
  • Center numeric columns.
  • Fixed alert shown in MC when trying to change a BOM stock.
  • Only change stock when saving items if already changed some stock.
  • Fixed Refund not restocking calculated products.
  • Refactory.

v1.3.2.3
PREVNEXT

2019-03-29

Changes

  • Show a 404 error page when accessing to non sellable BOM products directly.

Fixes

  • Fixed Purchase Order note quantities not showning correctly.

v1.3.2.2
PREVNEXT

2019-03-22

Fixes

  • Fixed Double stock reduced when the site is working with legacy payment gateways.
  • Fixed Subscription fields shown in BOM variables products.
  • Fixed order bom table was not created in multisite networks.

v1.3.2.1
PREVNEXT

2019-03-13

Changes

  • Delete all the Product Levels data when unistalling if the option in ATUM settings is enabled.

Fixes

  • Fixed Manufacturing Central reports not being printed correclty in some cases.

v1.3.2
PREVNEXT

2019-03-08

Features

  • Performance improvements: reduced the number of db queries using cache.
  • Refactory JS to TypeScript.

Fixes

  • Fixed filter by supplier in Manufacturing Central had variable products included although no children available.
  • Avoid CSS conflicts with other plugins using Select2.
  • Fix: Manufacturing Central uncontrolled was not using the right trait.
  • Fixed wrong total in wareahuse in BOM list item when bom_stock_control was activated.
  • Fixed Manufacturing Central export errors.
  • Fixed Stock Indicator not properly shown for stock calculated products.
  • Fixed PHP notices on Manufacturing Central reports.

v1.3.1
PREVNEXT

2019-03-01

Features

  • Improved performance with cache.
  • Added compatibility for order refunds.

Changes

  • Add on-hold BOMs to calculated stock.
  • Check if there are enough BOM for fullfill the order.
  • Remove BOM stock control props for the products that have no linked BOM(s).
  • Cache refactoring.
  • Do not allow the stock to be edited from List Tables when is being calculated.
  • Hide the Out of Stock Threshold field on non sellable BOMs.
  • Add uncolored rows to the BOM builder by default.

Fixes

  • Fixed WC Orders not showing the real stock changes.
  • Fixed BOM with no stock not being used to calculate the stock.
  • Fixed stock quantity field showing in variations when BOM stock control is enabled.
  • Fixed minimum threshold not working properly in some cases.
  • Fixed back orders calculation in BOM builder.
  • Fixed thumb column class in BOM builder template.
  • CSS fixes.

v1.3.0
PREVNEXT

2019-02-22

Features

  • New BOM Stock control feature. You can now control the stock of all your products by their children BOM's stock.
  • Added option to Settings to enable/disable the BOM stock control functionality globally.
  • New BOM associates tab added to BOMs when the BOM stock control is enabled.
  • New BOM stock control fields: "Calculated stock quantity", "Minimum threshold", "Selling Priority" and "Available to purchase".
  • Added the BOM stock control fields as columns to Stock Central and Manufacturing Central.
  • Make the BOM stock control columns sortable.
  • Added compatibility between Product Levels and WC Product Bundles.
  • Allow setting any priority as the last with a click.
  • Do not show the BOM stock control fields in non-sellable BOMs.
  • Rearrange selling priorities after changing one.
  • Control the minimum threshold for BOM associates according to the selling priority.
  • Adjust the BOM controlled products' stocks to the available to purchase amount.
  • New BOM builder UI following ATUM style guides.
  • Added link to BOM builder names.
  • Added thumbnail and toggle icon columns to BOM builder.
  • Added full BOM multi-tree for Manufacturing Central.
  • Added backorders column to Manufacturing Central.
  • Added tooltips to unmanaged BOMs in Manufacturing Central.
  • Javascript Modularization and code upgraded to ES6 syntax (work in progress).
  • Javascript code refactorized (work in progress).

Changes

  • Changed product types svg to atum font icons.
  • Performance improvements using cache.
  • Use ATUM thumb placeholder for BOM products without thumb.
  • Recalculate BOM item data after quantity input changes.
  • Removed non-sellable BOM's from json_search_products.
  • Removed some columns from MC when BOM stock control is enabled.
  • Force manage stock in BOM tree products.
  • Changed section titles styles.
  • Change comitted, free to use and shortage calculations.
  • Hide stock status for unmanaged variable BOMs.
  • Show the MC's BOM hierarchy icon on all the BOMs that are being used.
  • Select the current item within the full BOM tree in a different color.

Fixes

  • Fixed Uncontrolled list not showing for Manufacturing Central.
  • Prevent Upgrade from running several times.
  • Fixed increase and reduce stock in Inventory Logs.
  • Fixed purchase price sync.
  • Fixed BOM builder rows marked in shortage when shouldn't.
  • Fixed BOM Hierarchy Tree in BOM Associates.

v1.2.12.5
PREVNEXT

2019-01-04

Changes

  • Create the right Product Levels tables from the start to avoid issues.
  • Switched the Manufacturing Central product type icons from SVG to ATUM font icons.

Fixes

  • Do not search by column if no column is selected in Manufacturing Central.
  • Check that all the product levels terms are created and create them if don't exist.
  • CSS fixes.
  • Refactory.

v1.2.12.4
PREVNEXT

2018-12-20

Changes

  • Do not remove variations when changing a variable product to a BOM variable and vice versa.

Fixes

  • Fixed sellable variations tool.
  • Fixed bug in Manufacturing Central's low stock counters.
  • Fixed bug in Manufacturing Central's legacy low stock counters.
  • Fixed upgrade version task.
  • Refactory: code style.

v1.2.12.3
PREVNEXT

2018-12-17

Changes

  • Using autoprefixer when compiling SCSS to CSS.

Fixes

  • Text typo change.
  • Re-added search by product name to Manufacturing Central.
  • CSS fixes.

v1.2.12.2
PREVNEXT

2018-12-14

Changes

  • Added order type field in BOM orders table.

Fixes

  • Fixed CSS class names.
  • Fixed minimum versions checks.
  • Fixed icons.

v1.2.12.1
PREVNEXT

2018-12-12

Fixes

  • Fixed all products showing at Manufacturing Central.

v1.2.12
PREVNEXT

2018-12-11

Features

  • Changed Manufacturing Central styles to fit the new ATUM designs.
  • Updated readme format to be compatible with SML website.
  • Performance improvements.

Changes

  • Added minimum versions warnings.
  • Adapted Product Levels data models to new ATUM data models.
  • Added Bom Sellable column to ATUM product data.
  • Replaced all the icons to the new ATUM icons.

Fixes

  • Fixed WPML integration issues.
  • Added variable BOM to product type dropdown on Manufacturing Central.
  • Minor bug fixes.

v1.2.11
PREVNEXT

2018-10-26

Changes

  • CSS changes.

Fixes

  • Fixed WPML error when WooCommerce WPML is active while WPML doesn't.
  • Fixed hook name.
  • Fixed variable BOM not showing on Manufacturin Central's PDF reports.
  • Refactory: code style.
  • Sanitization fixes.

v1.2.10.1
PREVNEXT

2018-10-4

Features

  • New Manufacturing List Table columns sorting.

Fixes

  • Fixed extra fields hide/show logic not working.
  • Removed MultiInventory Integration class.

v1.2.10
PREVNEXT

2018-09-27

Fixes

  • Fixed "Sellable variations not shown in frontend".
  • Refactory.

v1.2.9
PREVNEXT

2018-09-20

Fixes

  • Fixed "Selling of BOM" feature when the global setting is enabled.
  • Moved Multi-Inventory integration code to its own class.
  • Refactory.

v1.2.8
PREVNEXT

2018-09-07

Features

  • Added WC Bookings add-on compatibility.

Fixes

  • Refactory (code style).
  • Minor bug fixes.

v1.2.7.6
PREVNEXT

2018-08-13

Features

  • Added PL variables to the WC loop.

Fixes

  • Fixed loop PL variable products not displaying.

v1.2.7.5
PREVNEXT

2018-08-08

Changes

  • Changed shortage display behavior, now shortage only has a red background when its value < 0.

Fixes

  • Fixed BOM variable products not appeared in the WC loop.
  • Fixed BOM variables add to cart didn't add variations.

v1.2.7.4
PREVNEXT

2018-08-08

Features

  • Added initial purchase price product calc from BOM materials when enabling "Sync Purchase Price" switch.

Fixes

  • Fixed Product Part total BOM cost set to Raw Materials Total if not Product Parts assigned when loading.

v1.2.7.3
PREVNEXT

2018-08-06

Fixes

  • Fixed error calculating product's BOM totals when "BOM item cost calculation" setting was disabled.

v1.2.7.2
PREVNEXT

2018-08-03

Fixes

  • Fixed version 1.2.7.1 causes product’s linked BOMs are inserted every time the product is saved.

v1.2.7.1
PREVNEXT

2018-07-26

Fixes

  • Fixed shipping tab not showing on WC's product data meta box when the "Selling of BOM" was enabled globally.
  • Refactory.

v1.2.7
PREVNEXT

2018-07-26

Features

  • Added compatibility for Multi-Inventory add-on.

Fixes

  • Fixed issue when multiple add-ons are active and one of them does not match the min ATUM version.
  • CSS changes.
  • Refactory.

v1.2.6.1
PREVNEXT

2018-07-12

Features

  • Added BOM fields to BOM variations.

Changes

  • Hide "make sellable" field from regular variable products.

Fixes

  • Refactory

v1.2.6
PREVNEXT

2018-06-29

Features

  • Allow to sell BOM variations.
  • Added tool to variable products for setting the "Make Sellable" option for all the variations at once.

Fixes

  • Fixed popover titles in Manufacturing Central.
  • Get purchase_field meta key name from ATUM Globals.
  • Fixed language text domains.
  • Allow float values when inserting items to the BOM order items table.
  • Fixed issue with Purchase Price Sync.
  • Refactory.
  • Fixed PHPCS code smells.

v1.2.5
PREVNEXT

2018-06-22

Features

  • Added "Sold Last Days" column to Manufacturing Central.
  • Show empty product types on Manufacturing Central's filter to allow private products' filtering.

Fixes

  • Refactory.
  • Minor bug fixes.

v1.2.4
PREVNEXT

2018-06-15

Features

  • Added "Out of Stock Threshold" column to Manufacturing Central.

Changes

  • Order BOM variations by menu_order if exists.
  • Use the "Days to reorder" setting specified for Manufacturing Central.

v1.2.3
PREVNEXT

2018-06-07

Features

  • Added "Attributes" and "Advanced" tabs to BOM products.

Fixes

  • Added ATUM 1.4.9 compatibility.
  • Fixed issue that was showing BOM products in Manufacturing Central when filtering by supplier.
  • CSS fixes.

v1.2.2
PREVNEXT

2018-05-30

Features

  • Added sticky table headers to Manufacturing Central.
  • Added "Search in Column" feature to Manufacturing Central.

v1.2.1.3
PREVNEXT

2018-05-18

Fixes

  • Fixed version number issue.

v1.2.1.2
PREVNEXT

2018-05-17

Fixes

  • Fixed WooCommerce 3.0.0 compatibility issue.
  • Clean up ajax product search results before returning them.

v1.2.1.1
PREVNEXT

2018-05-17

Fixes

  • Fixed issue when linking BOM to a product for the first time.

v1.2.1
PREVNEXT

2018-05-16

Features

  • Added Unmanaged Products counters.
  • Added uninstall tasks.
  • Allow linking BOM variations to products.
  • Added "weight" column to Manufacturing Central.

Fixes

  • Fixed bug when creating BOM type terms.
  • Fixed "Is Purchasable" button group.
  • Refactory.
  • CSS fixes.

v1.2.0.1
PREVNEXT

2018-05-03

Fixes

  • Added compatibility with ATUM 1.4.5.
  • Refactory.

v1.2.0
PREVNEXT

2018-04-25

Features

  • Added Variable Product Parts and Variable Raw Materials.
  • Added compatibility for BOM variations.
  • Added filter to Stock Central to show only BOM related products.
  • Show "stock status" field when the WC's manage stock is disabled in BOM products.
  • Added item cost for each item in the BOM list.
  • Added Purchase Price Sync of the main product from all BOM attached.
  • Added icons for variable BOMs.
  • Added new option to Settings to choose between real or unitary BOM cost in BOM line items.

Fixes

  • Fixed issue when cutting strings with non standard characters.
  • Fix to prevent integer conversion of stock quantity in some classes.
  • Fixed some filters that were not applied in Front End.
  • Fixed BOM fields within variations.
  • CSS fixes.
  • Refactory.

v1.1.9
PREVNEXT

2018-04-05

Features

  • Added Totals row to Manufacturing Central.
  • Added ATUM Locations tree column to Manufacturing Central.
  • Added the new columns to the Manufacturing Central's help tab.

Changes

  • Changed support links.
  • Applied new style for ATUM custom fields.

Fixes

  • Fixed ATUM 1.4.2 compatibility.
  • Fixed JS for variation item quantity.
  • Minor bug fixes.
  • Refactory.

v1.1.8.1
PREVNEXT

2018-03-26

Fixes

  • Fixed old WPML access to Helpers ATUM class.
  • Fixed SQL error on Manufacturing Central when accessing products in low stock status.

v1.1.8
PREVNEXT

2018-03-22

Changes

  • Adapted new ATUM stock management system to Product Levels.
  • Updated Manufacturing Central's help tab content.
  • Added WPML compatibility.

Fixes

  • Fixed Bom Tree popup’s spinner animation.
  • Minor bug fixes.
  • Refactory.

v1.1.7
PREVNEXT

2018-03-05

Fixes

  • Fixed BOM tree button on Stock Central page.
  • Added compatibility with ATUM 1.4.0.
  • Fixed BOM hierarchy column name.
  • Screen ID parameter management for BOM data export.

v1.1.6.1
PREVNEXT

2018-02-19

Fixes

  • Bypass error when a linked BOM product no longer exists.

v1.1.6
PREVNEXT

2018-01-12

Features

  • Added Supplier SKU column to Manufacturing Central.
  • Allow searching BOM products by Supplier SKU.
  • Added suppliers info to the Manufacturing Central’s help tab.
  • Added hook to be able to customise the title length in MC list.
  • Show a notice if ATUM is not installed or enabled.
  • Check whether ATUM is installed and active before loading.

v1.1.5.5
PREVNEXT

2018-01-11

Fixes

  • Fixed issue in BOM product’s searches on non-standard databases.

v1.1.5.4
PREVNEXT

2018-01-02

Fixes

  • Bug fix on Manufacturing Central page.

v1.1.5.3
PREVNEXT

2017-12-28

Fixes

  • Added compatibility with ATUM 1.3.6.

v1.1.5.2
PREVNEXT

2017-12-28

Fixes

  • Fixed issue when installing Product Levels for the first time.

v1.1.5.1
PREVNEXT

2017-12-15

Features

  • Improved performance for sites with big amount of orders.

v1.1.5
PREVNEXT

2017-12-07

Features

  • Take advantage of the new ATUM feature for decimals in stock quantities.

v1.1.4.2
PREVNEXT

2017-12-04

Changes

  • Record nested BOM products once a WC order is processed.

Fixes

  • Fixed the insufficient BOM popup showing in Stock Central page.
  • Fixed the insufficient BOM popup running on purchase price changes in Manufacturing Central.

v1.1.4.1
PREVNEXT

2017-12-01

Fixes

  • Fixed bug when discounting BOM products' stock on purchases.

v1.1.4
PREVNEXT

2017-11-30

Features

  • Added data export feature to Manufacturing Central.
  • Added BOM meta box to BOM products to allow nested BOMs.
  • Added hierarchy column to Manufacturing Central to see the BOM's hierarchy tree.

v1.1.3.2
PREVNEXT

2017-11-22

Changes

  • Excluded non-sellable BOM products from WC queries.

v1.1.3.1
PREVNEXT

2017-11-15

Fixes

  • Avoid AJAX errors when a non-existing BOM is still linked to any product.

v1.1.3
PREVNEXT

2017-11-14

Features

  • Added sellable BOM feature.
  • Allow setting all the products as sellable at once or individually.

v1.1.2
PREVNEXT

2017-11-02

Features

  • Improved compatibility with ATUM 1.3.0.
  • Added "Inbound Stock" column to "Manufacturing Central".
  • Added the "Purchase Price" column to "Manufacturing Central".

v1.1.1.1
PREVNEXT

2017-10-19

Fixes

  • Minor fixes.

v1.1.1
PREVNEXT

2017-09-15

Features

  • Ability to sort by "Total in Warehouse" column in Manufacturing Central table.

Fixes

  • Fixed list table columns' sorting.

v1.1.0.3
PREVNEXT

2017-09-11

Fixes

  • Fixed compatibility with ATUM 1.2.7.

v1.1.0.2
PREVNEXT

2017-09-06

Fixes

  • Fixed issue removing materials from variations.

v1.1.0.1
PREVNEXT

2017-09-05

Fixes

  • Fixed issue with Low Stock indicator in materials that were part of a variation product.
  • Fixed issue with materials' stock not being reduced.
  • Other minor fixes.

v1.0.9.2
PREVNEXT

2017-08-31

Changes

  • Manufacturing Central column name changes.
  • Updated the Manufacturing Central help section.

Fixes

  • Fixed Manufacturing Central's stock calculations.

`1.0.9.1 =

2017-08-25

Fixes

  • Fixed issue that was causing linked materials dissapearing after saving variation products.
  • Fixed issue with floating numbers on linked materials' quantity box.

v1.0.9
PREVNEXT

2017-08-07

Fixes

  • Fixed compatibility with ATUM 1.2.5 and higher.
  • Minor fixes.

v1.0.8
PREVNEXT

2017-06-05

Fixes

  • Adapted raw materials' stock change to new WooCommerce 3.x hooks

v1.0.7
PREVNEXT

2017-05-12

Fixes

  • Check the installed ATUM version before registering the add-on.
  • Fixed issue with empty ATUM List Tables.

v1.0.6
PREVNEXT

2017-04-21

Fixes

  • Fixed issue with Processing orders not being counted.
  • Fixed compatibility issues with WooCommerce 3.0.5.

v1.0.4
PREVNEXT

2017-04-07

Fixes

  • WooCommerce 3.0.4 compatibility fixes.

v1.0.3
PREVNEXT

2017-03-10

Features

  • The first public release of Product Levels add-on.