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? > > 2) Currently all dunning levels use the same letter, which is > impractical. > > For different levels, different wordings would be needed. Where do I > > configure which letter to use for each level? > > You just have to put some choose/when/otherwise clauses on the same > template. > Thanks, will test that. Sorry for my beginner questions :o -- 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/325e32b3-9c4a-41bb-8f17-46469a11d97a%40googlegroups.com.
