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

I am unable to save the warehouse in the product form. Once i select warehouse and hit save, it disappears without any error and the field is left blank.

I have two warehouses.

Inventory module>Product>General Information tab> Warehouse field

V16


形象
丢弃
最佳答案

Hello Nikita,

The field ‘Warehouse’ is not storable field that’s why you’re not able to save the value for it, If you make it storable from backend side(Python) then you can save value for it.
e.g.
Py:
class ProductTemplate(models.Model):
_inherit = 'product.template'

warehouse_id = fields.Many2one('stock.warehouse', store=True)

hope this can help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
3535
2
3月 15
7668
0
12月 24
688
2
6月 23
47494
3
1月 24
15533