Somesh Khare(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-576645-skh into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576645-skh/+merge/114339

Hello Sir,

[FIX]account_check_writing : Printed checks did not print city and zip 
information when choose the Check layout as "checks in middle and "checks on 
bottom" from the company configuration tab.

Steps: 1 Select Checks Layout "checks in middle and "checks on bottom" from the 
company configuration tab.
2. Create a check and try to print it.
3. Checks do not information about the partner city and Zip code.

This branch fixes this issue. Kindly review the branch and please share your 
views on it.

Thanks,
Somesh Khare
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-576645-skh/+merge/114339
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-576645-skh.
=== modified file 'account_check_writing/report/check_print_bottom.rml'
--- account_check_writing/report/check_print_bottom.rml	2011-10-13 21:11:47 +0000
+++ account_check_writing/report/check_print_bottom.rml	2012-07-11 06:02:26 +0000
@@ -283,7 +283,7 @@
                 <para style="P15">[[ voucher.partner_id.name ]]</para>
                 <para style="P15">[[ voucher.partner_id.address and voucher.partner_id.address[0] and voucher.partner_id.address[0].street or removeParentNode('para') ]]</para>
                 <para style="P15">[[ voucher.partner_id.address and voucher.partner_id.address[0] and voucher.partner_id.address[0].street2 or removeParentNode('para') ]]</para>
-                <para style="P15">[[ get_zip_line(voucher.partner_id.address) ]] </para>
+                <para style="P15">[[ get_zip_line(voucher.partner_id.address[0]) ]] </para>
                 <para style="P15">[[ voucher.partner_id.address[0].country_id.name]]</para>                
               </td>
             </tr>

=== modified file 'account_check_writing/report/check_print_middle.rml'
--- account_check_writing/report/check_print_middle.rml	2011-10-13 21:11:47 +0000
+++ account_check_writing/report/check_print_middle.rml	2012-07-11 06:02:26 +0000
@@ -239,7 +239,7 @@
                 <para style="P15">[[ voucher.partner_id.name ]]</para>
                 <para style="P15">[[ voucher.partner_id.address and voucher.partner_id.address[0] and voucher.partner_id.address[0].street or removeParentNode('para') ]]</para>
                 <para style="P15">[[ voucher.partner_id.address and voucher.partner_id.address[0] and voucher.partner_id.address[0].street2 or removeParentNode('para') ]]</para>
-                <para style="P15">[[ get_zip_line(voucher.partner_id.address) ]] </para>
+                <para style="P15">[[ get_zip_line(voucher.partner_id.address[0]) ]] </para>
                 <para style="P15">[[ voucher.partner_id.address[0].country_id.name]]</para>                
               </td>
             </tr>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to