Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1988 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3871
2
thg 3 15
8067
0
thg 12 24
973
2
thg 6 23
48553
3
thg 1 24
15987