Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1946 Weergaven

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


Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 15
3837
2
mrt. 15
8023
0
dec. 24
937
2
jun. 23
48382
3
jan. 24
15919