Hi All,
location_id many2one field available in stock.picking form which showing all type of locations. How to show only those options whose location type is internal location?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi All,
location_id many2one field available in stock.picking form which showing all type of locations. How to show only those options whose location type is internal location?
Hi,
You can inherit and inherit the corresponding field and set the following domains: domain=[('usage', '=', 'internal' )]
Inherit the corresponding view and add this domain to the field.
For reference:
Also once you do the above you have to make sure that the functional flow is not restricted . Like what if a user want to make a picking that receives stock from vendor directly from picking ?
So my suggestion is to keep the domain on the fly based on the picking type.
Domain based on other fields: https://www.youtube.com/watch?v=dq5Vtj_pwuI
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Try this: https://goo.gl/CBP9og