I can't see the field in order to update a stock info in a variant. When creating a product everything is ok.

bug-s1: a critical feature is broken: checkout, payments, signup, login
@RachL - Is this issue still open?
@kreopelle Hello Kayla and welcome to the community :-) yes this issue is still open. However if you are looking for something to start with, I suggest you take a look at the issues labeled "good first issue" : https://github.com/openfoodfoundation/openfoodnetwork/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
This one is part of an upgrade of our main dependency and may required to know a bit more our platform before working on it.
If you need anything, do not hesitate to ask around here or join our slack channel :)
there's a new page called stock management for this! I just discovered it...

I just need to find out how to set the right permissions so we can see the menu option enabled.
This spree v2 page has two problems:
I'lll see what are the best/easiest options out of these problems, so we can decide what to do...
Thanks @RachL ! I'll look for another :)
hey @RachL the stock management menu entry is available, no permissions changes are needed.
you can have a look in AU staging now: https://staging.openfoodnetwork.org.au/admin/products/potatoes-1/stock
This page actually works well! In this page you can change stock, but with stock deltas: you can add negative values to decrease for example. The stock location is always default and it works. It's only a UX problem... this stock location is also present in the orders edit page when we add variants to the order.
The backorderable problem is also just a naming, because this field is actually on_demand.
The delete button works and resets stock to zero.
You can play with this page and see how it interacts with the bulk product edit page fields.
So, the easiest way out of this is to rename "Backorderable" to "On demand" and leave everything as is...
What do you think @RachL ?
@luisramos0 ok for this, however while playing with it I saw 3 weird things:

So I never managed to "add stock" this way. Also I'm a bit confused: isn't editing the figure below enough? I would suggest we hide this upper part, what do you think?

And I can't do it in the edit / stock management menu anymore as I deleted the line.
We can either remove the delete option or fix this.

Also : can you describe me the use of the "stock location" field?
ah, nice!
the dropdown shows the variant sku, if you set the sku in the variants, this dropdown will make sense... maybe we can change this to show a combination of unit_descritpion and sku... or maybe put the variant ID so this is never empty.
I tested something similar but didnt try to update it in the bulk page in the end. I can replicate. I'll have a look at this.
spree backorderable let's you change on_hand. but I agree, we should change this to on_demand and hide on_hand field when on_demand is set.
re stock location, currently nothing can be done with it, there's only one default stock location in the system.
Let's agree on what we do with point 1 and 3.
@luisramos0
On 1. Can we just used unit_description? I believe this field has always data, whereas sku hasn't.
On 3. It's too complex to display the text "On demand" in the on hand field if on demand is activated (like on main page)? If yes, then I agree to hide the field.
On more thing Luis, I just added a new enterprise on staging and created a product, but I don't have the stock management menu. What do I need to do to activate it?

@RachL I have looked at the code now.
The best/easiest thing to do now is actually to just re-add the fields in the variants submenu as in v1 and hide this new stock management page... I'll give it a try and report back.