Skip to Content
Menú
This question has been flagged
1 Respondre
3034 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
d’oct. 23
4407
1
d’abr. 25
1013
0
de març 19
2718
1
d’oct. 15
5744
1
d’abr. 15
3637