コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2052 ビュー

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
3957
2
3月 15
8185
0
12月 24
1041
2
6月 23
48760
3
1月 24
16082