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
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
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
mar. 15
|
5161 | |||
|
2
mar. 15
|
9838 | |||
|
0
dec. 24
|
2318 | |||
|
product.template vs product.product
Rezolvat
|
2
iun. 23
|
52617 | ||
|
3
ian. 24
|
17759 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.