I changed the value to a boolean because in setReadOnly this line:       
value = _.isBoolean(value) ? value : true; 
was making all integers (including 0) return true.
—
Sent from Mailbox for iPhone

On Thu, Jun 13, 2013 at 7:46 AM, John Rogelstad <notifications@github.com>
wrote:

>> @@ -802,8 +802,8 @@ white:true*/
>>  
>>      lineItemsDidChange: function () {
>>        var lineItems = this.get("lineItems");
>> -      this.setReadOnly("currency", lineItems.length);
>> -      this.setReadOnly("customer", lineItems.length);
>> +      this.setReadOnly("currency", lineItems.length > 0);
> Does this actually change anything?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/xtuple/xtuple/pull/493/files#r4676916