Improve update of cost price

- Remove readonly on cost_price for a check on write
- Allow to update cost price from template

issue3528
issue3350
review2001002