Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-577483-ksa 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-577483-ksa/+merge/118741

Hello,

When make a returning for picking, it gets a sequence number with the word in 
english.That word can not translate.

Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577483-ksa/+merge/118741
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-577483-ksa.
=== modified file 'stock/i18n/nl.po'
--- stock/i18n/nl.po	2012-08-08 05:14:35 +0000
+++ stock/i18n/nl.po	2012-08-08 12:51:44 +0000
@@ -22,6 +22,13 @@
 msgstr "Traceer uitgaande partijen"
 
 #. module: stock
+#: code:addons/stock/wizard/stock_return_picking.py:169
+#: view:stock.return.picking:0 view:stock.picking:0
+#, python-format
+msgid "%s-%s-return"
+msgstr "%s-%s-retour"
+
+#. module: stock
 #: model:ir.model,name:stock.model_stock_move_split_lines
 msgid "Stock move Split lines"
 msgstr "Voorraadmutatie gesplitste regels"

=== modified file 'stock/i18n/stock.pot'
--- stock/i18n/stock.pot	2012-04-05 05:42:17 +0000
+++ stock/i18n/stock.pot	2012-08-08 12:51:44 +0000
@@ -41,6 +41,13 @@
 msgstr ""
 
 #. module: stock
+#: code:addons/stock/wizard/stock_return_picking.py:169
+#: view:stock.return.picking:0 view:stock.picking:0
+#, python-format
+msgid "%s-%s-return"
+msgstr ""
+
+#. module: stock
 #: model:ir.model,name:stock.model_stock_move_split_lines
 msgid "Stock move Split lines"
 msgstr ""

=== modified file 'stock/wizard/stock_return_picking.py'
--- stock/wizard/stock_return_picking.py	2012-06-12 16:15:51 +0000
+++ stock/wizard/stock_return_picking.py	2012-08-08 12:51:44 +0000
@@ -166,7 +166,7 @@
             new_type = 'internal'
         seq_obj_name = 'stock.picking.' + new_type
         new_pick_name = self.pool.get('ir.sequence').get(cr, uid, seq_obj_name)
-        new_picking = pick_obj.copy(cr, uid, pick.id, {'name':'%s-%s-return' % (new_pick_name, pick.name),
+        new_picking = pick_obj.copy(cr, uid, pick.id, {'name':_('%s-%s-return') % (new_pick_name, pick.name),
                 'move_lines':[], 'state':'draft', 'type':new_type,
                 'date':date_cur, 'invoice_state':data['invoice_state'],})
         

_______________________________________________
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