Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-opw-577511-port-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577511-port-mma/+merge/132884

Hello,

--> Translation for string 'INV' is present but does not show up into journal 
entries posted through
Inventory for realistic product.

--> For Dutch(nl_NL) translation for 'INV: %s' is 'VRD: %s', so it should it 
should display proper
translated string when we install Dutch language

--> Code is forward port from 6.1

Thanks,
Mayur

-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577511-port-mma/+merge/132884
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-opw-577511-port-mma.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-10-30 04:49:18 +0000
+++ stock/stock.py	2012-11-05 12:54:32 +0000
@@ -2875,7 +2875,7 @@
                 if change:
                     location_id = line.product_id.product_tmpl_id.property_stock_inventory.id
                     value = {
-                        'name': 'INV:' + str(line.inventory_id.id) + ':' + line.inventory_id.name,
+                        'name': _('INV: %s') % str(line.inventory_id.id) + ':' + line.inventory_id.name,
                         'product_id': line.product_id.id,
                         'product_uom': line.product_uom.id,
                         'prodlot_id': lot_id,

_______________________________________________
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