Repository navigation
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
I have a "Resistance" parameter for my resistors, however I am unable to enter a resistance in RKM format as I have before.
I have tried changing the units from 'R' to 'ohm' to 'ohms' and none work. I have also tried 'k', 'K' and to test I have tried 'R', 'M' and 'm'. None are accepted
The only input that I am able to submit successfully is 18000, but even then the tooltip doesn't suggest that the units are understood, no value in the base unit is shown:
I previously opened #12063 so this isn't a broader RKM issue. But I did just open #12813 and I wonder if that may be related?
Steps to Reproduce
Create a parameter with 'R', 'ohm' or 'ohms', then try to use it
Expected behaviour
Any valid RKM fomatted unit should be accepted and correctly converted into the base units
Deployment Method
Docker
Version Information
InvenTree-Version: 1.5.2
Django Version: 5.2.16
Commit Hash: f15e35c
Commit Date: 2026-08-25
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.12.105+deb13-cloud-amd64-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.2.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"PartChangeLog","slug":"partchangelog","version":"1.0.17"},{"name":"IPNGenerator","slug":"ipngen","version":"0.4.0"}]
Try to reproduce on the demo site
I did not try to reproduce
Is the bug reproducible on the demo site?
Not reproducible
Relevant log output
I have reviewed this report for correctness and filled out all sections.
- I have checked this report. I acknowledge that filing bugs via AI agents without review might lead to being blocked.
Activity
CraigBurden commentedon Sep 7, 2026
Randomly just after posting this, I got a notification of a server error that appears to be related, although for a different part:
Task 'common.tasks.rebuild_parameters (3fed4d5ac63a4c5a98c64865a1549b69)' failed after 5 attempts
CraigBurden commentedon Sep 7, 2026
@SchrodingersGat pointed out in #12813 that I should list Custom units, I had a old unit from before the fix to #12063 was released.
I removed the unit and now everything is working as expected!
This is still undesirable behavior, so perhaps a fix is needed?