Invoice report

63 views
Skip to first unread message

Carlos Eduardo Sotelo Pinto

unread,
Feb 20, 2018, 4:05:04 PM2/20/18
to try...@googlegroups.com
Dear comunity

I would like to know if is possible to have more than one report for been printed for example

- a default format for customers (ticket)
- a default format for suppliers (ticket)
- a second format for customer ( A4 )
- a non report, like a print a empty page

Is possible to do something like this list from the same form?

Bests

--
Carlos Eduardo Sotelo Pinto
    Agile Coach | Python Software Developer | Tryton ERP Consultant
    Claro RPC +51 989550602
    Skype: csotelop
    GNULinux RU #379182 | GNULinux RM #277661

Please consider the environment before printing this email
Join the campaign at http://thinkBeforePrinting.org

Cédric Krier

unread,
Feb 20, 2018, 6:45:07 PM2/20/18
to try...@googlegroups.com
On 2018-02-20 16:04, Carlos Eduardo Sotelo Pinto wrote:
> Dear comunity
>
> I would like to know if is possible to have more than one report for been
> printed for example
>
> - a default format for customers (ticket)
> - a default format for suppliers (ticket)
> - a second format for customer ( A4 )
> - a non report, like a print a empty page
>
> Is possible to do something like this list from the same form?

You can define a report for each one and if you want to run them all in
one click, you can just create a wizard that launch all the report
actions.

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

Carlos Eduardo Sotelo Pinto

unread,
Feb 21, 2018, 7:51:41 AM2/21/18
to try...@googlegroups.com
On Tue, Feb 20, 2018 at 6:40 PM, Cédric Krier <cedric...@b2ck.com> wrote:
On 2018-02-20 16:04, Carlos Eduardo Sotelo Pinto wrote:
> Dear comunity
>
> I would like to know if is possible to have more than one report for been
> printed for example
>
> - a default format for customers (ticket)
> - a default format for suppliers (ticket)
> - a second format for customer ( A4 )
> - a non report, like a print a empty page
>
> Is possible to do something like this list from the same form?

You can define a report for each one and if you want to run them all in
one click, you can just create a wizard that launch all the report
actions.

​That is what I am looking for

Thanks a lot​

 

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@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/20180220234039.GS10492%40kei.

Carlos Eduardo Sotelo Pinto

unread,
Feb 22, 2018, 12:30:40 PM2/22/18
to try...@googlegroups.com
Hi Cedrik, Comunity


On Tue, Feb 20, 2018 at 6:40 PM, Cédric Krier <cedric...@b2ck.com> wrote:
On 2018-02-20 16:04, Carlos Eduardo Sotelo Pinto wrote:
> Dear comunity
>
> I would like to know if is possible to have more than one report for been
> printed for example
>
> - a default format for customers (ticket)
> - a default format for suppliers (ticket)
> - a second format for customer ( A4 )
> - a non report, like a print a empty page
>
> Is possible to do something like this list from the same form?

You can define a report for each one and if you want to run them all in
one click, you can just create a wizard that launch all the report
actions.

​I have found a easy way on just create the template and define it on the invoice.xml​ file on my custom module, using the account.invoice report, however, since it is using cache, the invoice is generated using it. Do you think is a good idea to disable invoice cache report or what could be the best way? probably I would need to do a copy paste of the InvoiceReport class with other name? 
Any other suggest


 

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@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/20180220234039.GS10492%40kei.
Reply all
Reply to author
Forward
0 new messages