On 27/10/10 12:15 -0700, Bram wrote: > > > On 25 okt, 21:57, Cédric Krier <[email protected]> wrote: > > On 25/10/10 09:49 -0700, Bram wrote: > > > > > Hello, > > Great, you should share your work with others. There is some guys from > > Nederlands that are also working on that. > > I will once I'm finished! > > > 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_... > > [3]http://hg.tryton.org/tryton/file/ac8d63edbcfe/tryton/action/main.py#l65 > > > Sorry, I am not a programmer. Building a tax-table is at the to of my > abilities. I supposed I had to fill in some field at “Options\Email > \Command line:” or at “Administration\User interface\Actions\Reports > \Invoice”. But it is'n that simple? I have to rebuild the report?
In "Administration>User Interface>Actions>Reports", look at Invoice and in the
field email you must set something like:
{'body': 'blabla', 'subject': 'Invoice'}
For other value, I don't know what you want and perhaps they are not available
directly on the invoice and then it will require some little development.
--
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/
pgpDErKG9Y2Hj.pgp
Description: PGP signature
