Inventory lines should stay readonly until location and date are defined
For now, you could add inventory lines
manually without specifying inventory location, but when you save you got warning
"location is mandatory", and you have to delete all the lines to update
location... So lines should stay readonly until those mandatory values (location and date) are filled.