Topic: Item with at least 1 transaction can't edit type and measure

Maybe this is done by design.
Here are the details: When an item exist with no stock or location or has no transaction on it I can still change the Item type or unit of measure.
As soon I change the amount of stock with Inventory Adjustment I am no longer able to change these 2 settings. They are greyed out.

Is there an option to get around this?

Re: Item with at least 1 transaction can't edit type and measure

Yes, by design. The conversion factor for Unit of Measure between sales and purchases should also be considered whilst manually correcting it in the database.

As a temporary workaround for doing it, lines 328 to 330 in inventory/manage/items.php:

    stock_item_types_list_row(_("Item Type:"), 'mb_flag', null, $fresh_item);

    stock_units_list_row(_('Units of Measure:'), 'units', null, $fresh_item);

can be set to:

    stock_item_types_list_row(_("Item Type:"), 'mb_flag', null);

    stock_units_list_row(_('Units of Measure:'), 'units', null);

and then reverted back when the work is complete.

Re: Item with at least 1 transaction can't edit type and measure

thank you very much, that did the trick.
What if I keep it like this:
stock_item_types_list_row(_("Item Type:"), 'mb_flag', null);
stock_units_list_row(_('Units of Measure:'), 'units', null, $fresh_item);

what would be the "damage" for keeping the item type editable?

Re: Item with at least 1 transaction can't edit type and measure

Live with it and share your experience....