[-] CORE : Fix #PSCSX-3940 default warehouse when add attribute

set default warehouse when adding a new attribute