On 2015-12-17 07:03, Ossi Viljakainen wrote:
> 
> 
> On Saturday, December 5, 2015 at 1:45:06 PM UTC+1, Cédric Krier wrote:
> >
> > On 2015-12-05 04:11, Ossi Viljakainen wrote: 
> > > 1) Is it possible to have dunning letters in different languages (based 
> > on 
> > > party/language) and different formats (based on party/country)? Where do 
> > I 
> > > define which letter to use? 
> >
> > There is only one template define and it is using the party language. 
> > You can customize it in the report section of the administration. 
> >
> 
> Thanks. I'll do and write there the customizations and translations.
> 
> But how do I refer to these? I have worked with the templates, but never 
> added new fields. And when I need to add new fields to the letter, what is 
> the convention, or where do I get those field names from?
> 
> Currently I have fields like:
> <formatLang(dunning.maturity_date,dunning.party.lang)>
> 
> <dunning.party.name> <dunning.party.lastname>
> <dunning.amount>
> 
> I would like to add field for interest of late payment (interest of 
> arrear). And currently our company name, address etc are hard-coded in the 
> template, I would like to change them to be fields and data derived from 
> tryton.
> Could you point me to some documentation in this regard?

Here is the documentation:
http://doc.tryton.org/3.8/trytond/doc/topics/reports/index.html#topics-reports

But you are talking about adding new fields, I guess you mean extending
some Model to add them. If this is the case, you must create a custom
module that does that (but this topic is not covered yet [1])

[1]
http://doc.tryton.org/3.8/trytond/doc/topics/models/index.html#topics-models

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20151217152518.GN11765%40tetsuo.wifi.b2ck.com.

Reply via email to