Factorize field checks on StockMove write method

review891002
merge