Hi
Thanks thanks for submiting as a branch
on second thought, we can change this line
if 'warehouse_id' not in values or not values['warehouse_id']:
by this one
if not values.get('warehouse_id', False):
As, if key not present is return False, and if present but return False it works
Comment ?
« Back to merge proposal
Hi
Thanks thanks for submiting as a branch
on second thought, we can change this line
if 'warehouse_id' not in values or not values[ 'warehouse_ id']:
by this one
if not values. get('warehouse_ id', False):
As, if key not present is return False, and if present but return False it works
Comment ?