تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1766 أدوات العرض

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
مارس 15
3670
2
مارس 15
7819
0
ديسمبر 24
794
2
يونيو 23
47875
3
يناير 24
15681