account_invoice_layout module : columns overlap & translation

Bug #586854 reported by os33
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
In Progress
Undecided
Dhruti Shastri(OpenERP)

Bug Description

Hello,

I installed account_invoice_layout module.

1)Quantity column overlap unit column on the printout .

2)Edit a line in an invoice :select 'Sous total' (sub total) in the type combo -> Description field is filled with 'Sub total' instead of 'Sous total'

Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello Olivier,

I have checked this report with latest revision of server and addons but I am not able to produce this at my end.
Can you please provide me the report pdf or screen shot for invoice lay out report.

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
os33 (olivier-sommier) wrote :
Revision history for this message
os33 (olivier-sommier) wrote :

Hello,

I tried with revision 2745.

 in english : no problem but when you use an other language the columns overlap because words are generally longer

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

Hello Olivier,

The problem of overlapping will solve by applying the following patch.
You can also change the sxw file for alignment changes of 'UOM' field.

=== modified file 'account_invoice_layout/report/report_account_invoice_layout.rml'
--- account_invoice_layout/report/report_account_invoice_layout.rml 2009-11-18 07:19:26 +0000
+++ account_invoice_layout/report/report_account_invoice_layout.rml 2010-05-31 08:27:46 +0000
@@ -285,7 +285,7 @@
             <para style="terp_default_Right_9">[[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'})) ]][[ a['quantity'] ]]</para>
           </td>
           <td>
- <para style="terp_default_Right_9">[[ a['uos'] ]]</para>
+ <para style="terp_default_9">[[ a['uos'] ]]</para>
           </td>
           <td>
             <para style="terp_default_Right_9">[[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'})) ]][[ a['price_unit'] ]]</para>

=== modified file 'account_invoice_layout/report/special_message_invoice.rml'
--- account_invoice_layout/report/special_message_invoice.rml 2009-11-18 07:19:26 +0000
+++ account_invoice_layout/report/special_message_invoice.rml 2010-05-31 08:28:43 +0000
@@ -289,7 +289,7 @@
             <para style="terp_default_Right_9">[[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'})) ]][[ a['quantity'] ]]</para>
           </td>
           <td>
- <para style="terp_default_Right_9">[[ a['uos'] ]]</para>
+ <para style="terp_default_9">[[ a['uos'] ]]</para>
           </td>
           <td>
             <para style="terp_default_Right_9">[[ a['type']=='subtotal' and ( setTag('para','para',{'fontName':'Helvetica-bold'})) ]][[ a['price_unit'] ]]</para>

Thanks.

Changed in openobject-addons:
status: Incomplete → Confirmed
Changed in openobject-addons:
assignee: nobody → DHS(OpenERP) (dhs-openerp)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Virginie Laborie (virginie-laborie) wrote :

Hello,

I have the same problem with sale layout. The mention "subtotal" is not translate in french.
Regards
Virginie

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.