# Bug OP-7494 - Cost Types: rate not saved when a new type is created 

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7494

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 10.6.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.6.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 10.6

Operating System / Browser / Language:  Mac / Chrome

### **Logs**

No

### **Steps to reproduce:**

1.  Go to Administration
2.  Click on Time and Cost
3.  Click on Cost types
4.  Click on the button + Cost type

### **Actual Behavior**

Even that the rate is sent properly, it doesn't appear on the list.

![](/api/v3/attachments/18818/content)

![](/api/v3/attachments/18817/content)

### **Expected Behavior**

The rate should be saved and shown in the view.

`*** Please uncomment the failing test when this bug is fixed: modules/costs/spec/features/cost_types/create_cost_type_spec.rb:69**`
