Skip to Content
Menu
This question has been flagged
1 Odpoveď
3087 Zobrazenia

Hello. I'm trying to setup the initial stock quantities on warehouses by importing inventory adjustment on Odoo 16, but can't make it work.

I go to Inventory Adjustments and select the Import option. Then I download the sample template and fill it with the data I want to upload. But when I import the updated xlsx, I get the error ': local variable 'quant' referenced before assignment'.

I've tried different combinations with no luck. How can it be done?


Regards.

Avatar
Zrušiť
Best Answer

Hi,

This issue has been already fixed in the core by this commit:  10e9e66b275649ef36880f4b7a6fbd4c3dc739d9 .

This issue happens due to this commit in the last week:  a381b6fdd19d4f1a4512efe4f4877c50b5fd453e


As this has been already fixed in the odoo source code, you can update your instance with latest source code or if you are using odoo online / odoo sh instance, the patch will be available from tommorow. 

Thanks

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
okt 23
4504
1
apr 25
1164
0
mar 19
2765
1
okt 15
5800
1
apr 15
3713