Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Add vendor address to the check printing report.

By
Kyle Krenzer
on 6/16/16, 2:37 PM 301 views

I would like to add the address for the payable vendor that printed check is going to.  This is standard for most accounting systems that use printed checks to accommodate window envelopes.


Is this done in the associated Qweb view?


Thanks

0

Ray Carnes

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 6/16/16, 8:43 PM

Inherit and override the Qweb View called l10n_us_check_printing.ckus_check and add something like:

<xpath expr="//div/div[@class='ckus_payee_name']" position="replace">

<div class="ckus_payee_name" t-esc="page['partner_name']"/>

<table width="100%" style="padding:5px;margin: 160px 0px 0px 75px;">

<tr t-if="o.partner_id.street">

<td colspan="3" style="width:auto; padding:5px;">

<div class="ckus_payee_street" t-esc="o.partner_id.street"/>

</td>

</tr>

<tr t-if="o.partner_id.street2">

<td colspan="3" style="width:auto; padding:5px;">

<div class="ckus_payee_street" t-esc="o.partner_id.street2"/>

</td>

</tr>

<tr>

<td style="width:auto; padding:5px;">

<div class="ckus_payee_street" t-if="o.partner_id.city" t-esc="o.partner_id.city"/>

</td>

<td style="width:auto; padding:5px;">

<div class="ckus_payee_street" t-if="o.partner_id.state_id" t-esc="o.partner_id.state_id.code"/>

</td>

<td style="width:auto; padding:5px;">

<div class="ckus_payee_street" t-if="o.partner_id.zip" t-esc="o.partner_id.zip"/>

</td>

</tr>

</table>

</xpath>


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/16/16, 2:37 PM
Seen: 301 times
Last updated: 6/16/16, 8:43 PM