Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] stock_voucher: Change in the file name of the Delivery Slip report
closes #374 X-original-commit: 5589849 Signed-off-by: Bruno Zanotti <bz@adhoc.com.ar> Signed-off-by: Virginia Bonservizi <vib@adhoc.com.ar>
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<data> | ||
<record id="stock.action_report_delivery" model="ir.actions.report"> | ||
<field name="print_report_name">object.voucher_ids and (len(object.voucher_ids) > 1 and 'Vouchers %s' or 'Voucher %s') % (','.join(object.voucher_ids.mapped('number'))) or 'Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name)</field> | ||
</record> | ||
</data> | ||
</odoo> |