Currency is required when doing an inventory

Thanks for the previous answer. I understand I can create a stock move directly and do it, ignoring the origin warning.

However, I also want to use Inventory (Logistics → Inventories) to adjust stock for losses, breakage, etc. The documentation says this is the correct way.

Example: I have product “Azúcar blanca pqte 1kg” with 8 kg expected in STO location. I create an inventory, set real quantity to 6 kg (loss of 2 kg). When I click “Confirm”, I get:

“A value is required for field ‘Currency’ in record ‘6,00 kg [11] Azúcar blanca pqte 1kg @ [11] Azúcar blanca pqte 1kg’ of ‘Stock Move’.”

The inventory line has no currency field. The product has cost_price_method = fifo and cost_price = None. Where does Tryton take the currency from when creating the inventory move? How can I configure it so inventory confirmation works?

When using FIFO method, the module needs to update the quantity used on the incoming move for the outgoing.
It seems that the chosen incoming stock move is not valid and is missing the currency for the unit price (it is probably a move from a supplier location).