Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-573088-msh into 
lp:openobject-addons/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573088-msh/+merge/100910

Hello,

Fixed the issue of kanban view strings which were not translatable because the 
strings were puted statically.

Hence changed the code and used the label of the record instead of static 
strings.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-573088-msh/+merge/100910
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-573088-msh.
=== modified file 'stock/product_view.xml'
--- stock/product_view.xml	2012-01-31 13:36:57 +0000
+++ stock/product_view.xml	2012-04-05 05:46:20 +0000
@@ -145,10 +145,10 @@
                                 <div class="oe_product_desc">
                                     <h4><a type="edit"><field name="name"></field></a></h4>
                                     <ul>
-                                        <li t-if="record.type.raw_value != 'service'">Stock on hand: <field name="qty_available"/> <field name="uom_id"/></li>
-                                        <li t-if="record.type.raw_value != 'service'">Stock available: <field name="virtual_available"/> <field name="uom_id"/></li>
-                                        <li>Price: <field name="lst_price"></field></li>
-                                        <li>Cost: <field name="standard_price"></field></li>
+                                        <li t-if="record.type.raw_value != 'service'"><t t-esc="record.qty_available.string" />: <field name="qty_available"/> <field name="uom_id"/></li>
+                                        <li t-if="record.type.raw_value != 'service'"><t t-esc="record.virtual_available.string" />: <field name="virtual_available"/> <field name="uom_id"/></li>
+                                        <li><t t-esc="record.lst_price.string" />: <field name="lst_price"></field></li>
+                                        <li><t t-esc="record.standard_price.string" />: <field name="standard_price"></field></li>
                                     </ul>
                                 </div>
                             </div>

_______________________________________________
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