Migration of sale_automatic_workflow to 8.0

Work in progress