On 25/10/10 09:49 -0700, Bram wrote:
> Hello,
> 
> I 'm losing my patience with OpenERP so I ´m thinking to move to
> Tryton. I have already started translating the client into Dutch. And
> I have made an chart of account with a tax table for the Netherlands.

Great, you should share your work with others. There is some guys from
Nederlands that are also working on that.

> Everything looks quit similar like OpenERP but I can't get email to
> work (properly).
> 
> When I use the email command line:
> 
> “thunderbird -compose to="${to}",cc="${cc}",subject="$
> {subject}",body="${body}",attachment="${attachment}”
> 
> Thunderbird starts with a new message but it doesn't fill in the To:-
> field. Party has an email-address (witch email-address is it supposed
> to use?)! And where or how do I configure the body-text?

All the fields are configured in the report action [1].
It is a string that will be evaluated by the client with the current record as
context [2]. This result dictionary can have as key [3]:

    * to
    * cc
    * subject
    * body


So each reports must be configured to behave as you want.


[1] http://hg.tryton.org/trytond/file/5749fbc08672/trytond/ir/action.py#l223
[2] 
http://hg.tryton.org/tryton/file/ac8d63edbcfe/tryton/gui/window/view_form/view/form.py#l117
[3] http://hg.tryton.org/tryton/file/ac8d63edbcfe/tryton/action/main.py#l65


-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgphSwSxFrlSa.pgp
Description: PGP signature

Reply via email to