Fixed the unit cost in the prod order line massline so that it is correctly updated and added an option to deativate cost sync on status change
Added field "Deactivate Calc. Sales Amount on Status Change" in Wood Setup (Manufacturing) which specifies if the calculate sales amount field on the prod. order line is deactivated when we change the status of a production order.