跳至内容
菜单
此问题已终结
1 回复
3082 查看

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.

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
10月 23
4495
1
4月 25
1149
0
3月 19
2757
1
10月 15
5785
1
4月 15
3703