Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeEntry field 'billed' should be read only #23

Open
copiousfreetime opened this issue Apr 10, 2014 · 0 comments
Open

TimeEntry field 'billed' should be read only #23

copiousfreetime opened this issue Apr 10, 2014 · 0 comments

Comments

@copiousfreetime
Copy link

I was attempting to programatically update a TimeEntry field and received this error:

Failed to update time_entry. Field cannot be changed: 'billed'.

It looks like the line https://github.com/bcurren/freshbooks.rb/blob/master/lib/freshbooks/time_entry.rb#L8 should be changed to

s.boolean :billed, :read_only => true

I did this locally and my update worked.

The documentation for time_entry.create shows that the 'billed' field is not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant