How can i add a print button ? [Closed]
The Question has been closedby
I saw a button print appear when i select one champ in a view of saas mode, how can i add a button like that in local mode?
If you want to add a report in Print you don't need to do anything in
<report ./> report tag. If you want to hide report from Print you have to set
This is example of Invoice report fo
<report auto="False" id="account_invoices" model="account.invoice" name="account.invoice" rml="account/report/account_print_invoice.rml" string="Invoices" attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')" attachment_use="True" usage="default"/>
If you want to define any action in Print then you need to define
key2="client_print_multi" in your action.
You can learn more about Linkig Events to Action.
About This Community
|Asked: 5/21/13, 7:43 AM|
|Seen: 3263 times|
|Last updated: 3/16/15, 8:10 AM|