Dope !

Thanks Jose.

-Thadeus





On Wed, Mar 17, 2010 at 7:23 PM, Jose <[email protected]> wrote:
>
>
> On 18 mar, 00:11, "mr.freeze" <[email protected]> wrote:
>> I think you need to do:
>>
>> def sales():
>>     rows = db(db.sales.id>0).select()
>>     rows = rows.setvirtualfields(sales=Sales())
>>     return dict(rows=rows)
>>
>> And remove this:
>> db.sales.virtualfields.append(Sales())
>
> works well, but what I meant is that you must write the name of the
> table:
>
> return self.****sales****.item_total *
> self.****sales****.tax_percentage
>
> if not set, the same error occurs
>
> Jose
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to