[FIX] stock: manage mrp_operation picking type with fallback
mrp_operation picking type is not handle by default in stock module get_description function. Add default return to stock get_description function opw-3232811 closes odoo/odoo#115533 X-original-commit: ea9632e643071ae1b0d85053fde506fb1a7c606f Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
@@ -246,6 +246,7 @@ class Product(models.Model):
|
||||
return self.description_pickingout or self.name
|
||||
if picking_code == 'internal':
|
||||
return self.description_picking or description
|
||||
return description
|
||||
|
||||
def _get_domain_locations(self):
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user