On 2018-08-23 16:19, Richmond Fiko wrote:
> It is possible to bypass this behavior ?

Not really because it is a requirement in most of the countries to
always re-print the document as it was when posted.

> > It really depend on how you customized the report.
> > When you post an invoice, the system store a copy the report result. And
> > it use this copy for any further print.
> 
> I explain: I have 3 invoice templates, each template must be print according 
> to a special case. It is not interesting for to keep a default model... So I 
> need to print my custom model when invoice is posted because accountants will 
> use the invoice sequence to track its.

Indeed Tryton takes the first action it found to print the invoice.
I filled https://bugs.tryton.org/issue7646 to improve the situation.
For now, the best is to have a single template with a big switch/case
for the three layout.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
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/20180824075023.2zxkt2njdq5w3fbg%40kei.

Reply via email to