Ravi Patel
efdb5373c3
[IMP] *: Define pdf report name according to the business case
Purpose:
When downloading a document, the name by default is not clear at all because by default, the printed report name is empty.
Specification:
Change the Printed Report Name. In most of the cases, it should be the name of the object + the number.
For the following reports :
- BOM Structure ==> BOM-product_variant_name ===> 'BOM'+'-'+(object.product_id.name)
- BOM Cost ==> BOM Cost-product_variant_name ===> 'BOM Cost'+'-'+(object.product_id.name)
- Call for Tenders ==>Tender-TE00001 ===> 'Tender'+'-'+(object.name)
- Delivery Slip ==> Delivery Slip-Customer Name-Picking Number ===> 'Delivery Slip'+'-'+(object.partner_id.name)+'-'+(object.name)
- Expenses Report ==> Expenses-Employee Name-Travel By Air ===> 'Expenses'+'-'+(object.employee_id.name)+'-'+(object.name)
- Inventory ===> Inventory-Starting Inventory ====> 'Inventory'+'-'+(object.name)
- Invoice (pos.order)===> Invoice-Main-0002 ===> 'Invoice'+'-'+(object.name)
- Invoices (account.invoice):
===> Invoice-INV-2016-0019 ====> ((object.type == 'out_invoice') and (object.state == 'open' or object.state == 'paid')) ===> 'Invoice'+'-'+(object.number)
===> Vendor Bill-BILL-2016-003 ===> (object.type == 'in_invoice') ===> 'Vendor Bill'+'-'+(object.number)
- Location Barcode ===> Order Processing-Location ===> (object.name)+'-'+'Location'
- Lot Barcode ===> Lot/Serial-0000018 ===> 'Lot/Serial'+'-'+(object.name)
- Payslip ===> Employee Name-Payslip ===> (object.employee_id.name)+'-'+'Payslip'
- Print Batch Deposit ===> Bank- DEPOSIT/2016/0001 ===> (object.journal_id.name)+'-'+(object.name)
- Print Check (Top) ==> check_Partner name_Draft Payment_top ===> 'check_'+(object.partner_id.name)+'_'+(object.name)+'_top'
- Print Check (middle) ==> check_Partner name_Draft Payment_middle ===> 'check_'+(object.partner_id.name)+'_'+(object.name)+'_middle'
- Print Check (Bottom) ==> check_Partner name_Draft Payment_bottom ====> 'check_'+(object.partner_id.name)+'_'+(object.name)+'_bottom'
- Production Order ==> Production Order-MO-00006 ====> 'Production Order'+'-'+(object.name)
- Quotation / Order (sale.order):
==> Order-S00001 ===> (object.state not in ('draft', 'sent'))==> 'Order'+'-'+(object.name)
==> Quotation-S00002 ====> (object.state in ('draft','sent'))===> 'Quotation'+'-'+(object.name)
- Quotation / Order (mrp.repair):
==> Repair Order-RMA00005 ===> (object.state != 'draft') ===> 'Repair Order'+'-'+(object.name)
==> Repair Ouotation-RMA00005 ===> (object.state == 'draft') ===> 'Repair Quotation'+'-'+(object.name)
- Registration Badge ===> Registration Event-Attendee Name ====> 'Registration Event'+'-'+(object.name)
- Web Quotation(sale.order):
==> Order-S00001 ===> (object.state not in ('draft', 'sent')) ===> 'Order'+'-'+(object.name)
==> Quotation-S00002 ====> (object.state in ('draft','sent')) ===> 'Quotation'+'-'+(object.name)
- Payslip Details: ===> Payslip Name ===>(object.name)
- Purchase Order:
===> Purchase Order-PO0012 ===>(object.state != 'draft') ===> 'Purchase Order'+'-'+(object.name)
===> Request for Quotation-PO0012 ===> (object.state == 'draft') ===> 'Request for Quotation'+'-'+(object.name)
- Request for Quotation:===> Request for Quotation-PO0012 ===> 'Request for Quotation'+'-'+(object.name)
- Due Payments ===> Due Payments-Partner Name ====> 'Due Payments'+'-'+(object.name)
- Products Labels ===> Products Labels-Product Name ===> 'Products Labels'+'-'+(object.name)
- Picking Operations ===> Picking Operations-Customer Name-Picking Number ===> 'Picking Operations'+'-'+(object.partner_id.name)+'-'+(object.name)
- Duplicates Invoices (account.invoice):
===> Duplicate Invoice-INV-2016-0019 ====> ((object.type == 'out_invoice') and (object.state == 'open' or object.state == 'paid')) ===> 'Duplicate Invoice'+'-'+(object.number)
===> Duplicate Vendor Bill-BILL-2016-003 ===> (object.type == 'in_invoice') ===> 'Duplicate Vendor Bill'+'-'+(object.number)
- Intrastat Invoices (account.invoice):
===> Intrastat Invoice-INV-2016-0019 ====> ((object.type == 'out_invoice') and (object.state == 'open' or object.state == 'paid')) ===> 'Intrastat Invoice'+'-'+(object.number)
===> Intrastat Vendor Bill-BILL-2016-003 ===> (object.type == 'in_invoice') ===> 'Intrastat Vendor Bill'+'-'+(object.number)
- Cost Structure Analysis ==> Cost Structure Analysis-Product Name ===> 'Cost Structure Analysis'+'-'+(object.name)
- Cost Analysis ===> Cost Analysis-Product Name ====> 'Cost Analysis'+'-'+(object.name)
- Print Badge ===> Print Badge-Employee Name ===> 'Print Badge'+'-'+(object.name)
- Event Badge ==> this report is in html format so ,there is no need to give the print_report_name.
- The following reports are print through wizard so there is no need to give the print_report_name
Budgets ===>
Financial Report ==>
General Ledger ===>
Leaves Summary ===>
2016-11-07 16:57:18 +01:00
..
2016-11-07 16:57:18 +01:00
2016-11-07 10:27:14 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 11:06:51 +01:00
2016-10-23 03:38:54 +02:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-27 16:28:18 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:08:24 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:08:24 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-11-07 09:19:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-23 03:38:54 +02:00
2016-11-07 16:08:24 +01:00
2016-10-23 03:38:54 +02:00
2016-11-04 14:00:39 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-19 18:16:14 +02:00
2016-11-07 15:56:58 +01:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-24 11:48:45 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-09 00:34:56 +02:00
2016-09-30 17:23:30 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-12 17:10:49 +02:00
2016-10-27 18:23:44 +02:00
2016-10-23 00:35:59 +02:00
2016-10-12 17:10:49 +02:00
2016-10-30 00:34:38 +02:00
2016-10-23 03:38:54 +02:00
2016-10-27 18:23:44 +02:00
2016-10-27 18:23:44 +02:00
2016-09-30 17:23:30 +02:00
2016-10-23 03:38:54 +02:00
2016-11-03 11:41:39 +01:00
2016-11-04 10:50:29 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-11-04 10:50:29 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-18 11:50:34 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-24 11:48:45 +02:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-04 10:50:29 +01:00
2016-11-04 10:50:29 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-11-02 18:02:11 +01:00
2016-11-07 16:57:18 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-11-02 15:16:54 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-11-02 14:18:24 +01:00
2016-10-23 03:38:54 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-04 16:44:09 +01:00
2016-11-07 16:57:18 +01:00
2016-11-07 15:32:16 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-30 03:37:27 +01:00
2016-11-04 14:16:14 +01:00
2016-11-07 16:08:24 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-02 18:02:11 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-03 09:25:30 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 11:28:20 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-23 00:35:59 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 00:34:38 +02:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 16:57:18 +01:00
2016-10-30 03:37:27 +01:00
2016-11-07 09:19:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00
2016-10-30 03:37:27 +01:00