works like a charm!
thank you very much!


On Fri, Dec 28, 2018 at 5:11 AM Leonel Câmara <leonelcam...@gmail.com>
wrote:

> Don't use fields=, fields is not a keyword argument so it's going into
> attributes, when it reaches select_wcols you endup having a fields keyword
> argument and a fields value in arguments which gives you that error.
>
> Change this too:
>
>     cofounders = db((db.cofounder.company==company_id)&(db.cofounder.
> created_by==auth.user)).select(
>                 db.auth_user.first_name.with_alias('first_name'),
>                 db.auth_user.last_name.with_alias('last_name'),
>                 db.cofounder.note,
>                 db.cofounder_proposal.status.with_alias('status'),
>         join=db.auth_user.on(db.cofounder.cofounder==db.auth_user.id),
>         left=db.cofounder_proposal.on(db.cofounder_proposal.cofounder==db.
> cofounder.cofounder))
>
>
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to