Skip to Content
Menu
This question has been flagged
1 Reply
3037 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
Oct 23
4421
1
Apr 25
1032
0
Mar 19
2721
1
Oct 15
5746
1
Apr 15
3651