← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~akretion-team/stock-logistic-flows/70-picking-priority-small-enhancements into lp:stock-logistic-flows

 

Alexis de Lattre has proposed merging lp:~akretion-team/stock-logistic-flows/70-picking-priority-small-enhancements into lp:stock-logistic-flows.

Requested reviews:
  Stock and Logistic Core Editors (stock-logistic-core-editors)

For more details, see:
https://code.launchpad.net/~akretion-team/stock-logistic-flows/70-picking-priority-small-enhancements/+merge/204410

Update of the module stock_picking_priority. The 2 main changes are :
- Add POT file and FR translation
- More reasonable size for the dialog box "Recompute Picking Availability"
-- 
https://code.launchpad.net/~akretion-team/stock-logistic-flows/70-picking-priority-small-enhancements/+merge/204410
Your team Stock and Logistic Core Editors is requested to review the proposed merge of lp:~akretion-team/stock-logistic-flows/70-picking-priority-small-enhancements into lp:stock-logistic-flows.
=== modified file 'stock_picking_priority/__openerp__.py'
--- stock_picking_priority/__openerp__.py	2013-12-11 07:57:43 +0000
+++ stock_picking_priority/__openerp__.py	2014-02-02 21:47:11 +0000
@@ -21,7 +21,7 @@
 
 
 {
-    "name": "Picking priority",
+    "name": "Picking Priority",
     "version": "0.1",
     "depends": ['stock'],
     "author": "Camptocamp",
@@ -32,7 +32,7 @@
     wizard can be run to recompute the availability of pickings
     depending on the new priorities.""",
     "website": "http://www.camptocamp.com";,
-    "category": "Warehouse management",
+    "category": "Warehouse Management",
     "demo": [
         'picking_priority_demo.yml',
         ],

=== added directory 'stock_picking_priority/i18n'
=== added file 'stock_picking_priority/i18n/fr.po'
--- stock_picking_priority/i18n/fr.po	1970-01-01 00:00:00 +0000
+++ stock_picking_priority/i18n/fr.po	2014-02-02 21:47:11 +0000
@@ -0,0 +1,113 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* stock_picking_priority
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2014-02-02 18:32+0000\n"
+"PO-Revision-Date: 2014-02-02 18:32+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Very Urgent"
+msgstr "Très urgent"
+
+#. module: stock_picking_priority
+#: model:ir.actions.act_window,name:stock_picking_priority.action_retry_assign
+#: model:ir.ui.menu,name:stock_picking_priority.menu_retry_availability
+#: view:stock.picking.retry.availability:0
+msgid "Recompute Picking Availability"
+msgstr "Recalcule la disponibilité"
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Normal"
+msgstr "Normale"
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_retry_availability
+msgid "stock.picking.retry.availability"
+msgstr "stock.picking.retry.availability"
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "Recompute Availability"
+msgstr "Recalcule la disponibilité"
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_in
+msgid "Incoming Shipments"
+msgstr "Bons de réception"
+
+#. module: stock_picking_priority
+#: field:stock.picking,priority:0
+#: field:stock.picking.in,priority:0
+#: field:stock.picking.out,priority:0
+msgid "Priority"
+msgstr "Priorité"
+
+#. module: stock_picking_priority
+#: help:stock.picking,priority:0
+#: help:stock.picking.in,priority:0
+#: help:stock.picking.out,priority:0
+msgid "The priority of the picking"
+msgstr "La priorité de la livraison"
+
+#. module: stock_picking_priority
+#: code:addons/stock_picking_priority/picking_priority.py:69
+#, python-format
+msgid "Warning"
+msgstr "Avertissement"
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "This action will recompute the availability of the pickings based on their priority. Before running it, make sure that you have changed the priority of at least one picking."
+msgstr "Cette action va recalculer la disponibilité des livraisons en se basant sur leur priorité. Avant de la lancer, vous devez avoir changé la priorité d'au moins une livraison."
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking
+msgid "Picking List"
+msgstr "Opération de manutention"
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "Cancel"
+msgstr "Annuler"
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Urgent"
+msgstr "Urgent"
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_out
+msgid "Delivery Orders"
+msgstr "Bons de livraisons"
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "or"
+msgstr "ou"
+
+#. module: stock_picking_priority
+#: code:addons/stock_picking_priority/picking_priority.py:70
+#, python-format
+msgid "No operations validated due to the following errors:\n"
+"%s"
+msgstr "Aucune opération effectée à cause des erreurs suivantes :\n"
+"%s"
+

=== added file 'stock_picking_priority/i18n/stock_picking_priority.pot'
--- stock_picking_priority/i18n/stock_picking_priority.pot	1970-01-01 00:00:00 +0000
+++ stock_picking_priority/i18n/stock_picking_priority.pot	2014-02-02 21:47:11 +0000
@@ -0,0 +1,112 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+#	* stock_picking_priority
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2014-02-02 18:31+0000\n"
+"PO-Revision-Date: 2014-02-02 18:31+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Very Urgent"
+msgstr ""
+
+#. module: stock_picking_priority
+#: model:ir.actions.act_window,name:stock_picking_priority.action_retry_assign
+#: model:ir.ui.menu,name:stock_picking_priority.menu_retry_availability
+#: view:stock.picking.retry.availability:0
+msgid "Recompute Picking Availability"
+msgstr ""
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Normal"
+msgstr ""
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_retry_availability
+msgid "stock.picking.retry.availability"
+msgstr ""
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "Recompute Availability"
+msgstr ""
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_in
+msgid "Incoming Shipments"
+msgstr ""
+
+#. module: stock_picking_priority
+#: field:stock.picking,priority:0
+#: field:stock.picking.in,priority:0
+#: field:stock.picking.out,priority:0
+msgid "Priority"
+msgstr ""
+
+#. module: stock_picking_priority
+#: help:stock.picking,priority:0
+#: help:stock.picking.in,priority:0
+#: help:stock.picking.out,priority:0
+msgid "The priority of the picking"
+msgstr ""
+
+#. module: stock_picking_priority
+#: code:addons/stock_picking_priority/picking_priority.py:69
+#, python-format
+msgid "Warning"
+msgstr ""
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "This action will recompute the availability of the pickings based on their priority. Before running it, make sure that you have changed the priority of at least one picking."
+msgstr ""
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking
+msgid "Picking List"
+msgstr ""
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "Cancel"
+msgstr ""
+
+#. module: stock_picking_priority
+#: selection:stock.picking,priority:0
+#: selection:stock.picking.in,priority:0
+#: selection:stock.picking.out,priority:0
+msgid "Urgent"
+msgstr ""
+
+#. module: stock_picking_priority
+#: model:ir.model,name:stock_picking_priority.model_stock_picking_out
+msgid "Delivery Orders"
+msgstr ""
+
+#. module: stock_picking_priority
+#: view:stock.picking.retry.availability:0
+msgid "or"
+msgstr ""
+
+#. module: stock_picking_priority
+#: code:addons/stock_picking_priority/picking_priority.py:70
+#, python-format
+msgid "No operations validated due to the following errors:\n"
+"%s"
+msgstr ""
+

=== modified file 'stock_picking_priority/picking_priority.py'
--- stock_picking_priority/picking_priority.py	2013-12-11 07:58:25 +0000
+++ stock_picking_priority/picking_priority.py	2014-02-02 21:47:11 +0000
@@ -20,7 +20,7 @@
 #############################################################################
 import logging
 
-from openerp.osv import orm, osv, fields
+from openerp.osv import orm, fields
 from openerp.tools.translate import _
 _logger = logging.getLogger(__name__)
 
@@ -58,7 +58,7 @@
                 assigned_id = self.action_assign(cr, uid, [picking_id],
                                                  context)
                 assigned_ids.append(assigned_id)
-            except osv.except_osv, exc:
+            except orm.except_orm, exc:
                 name = self.read(cr, uid, picking_id, ['name'],
                                  context=context)['name']
                 errors.append(u'%s: %s' % (name, exc.args[-1]))

=== modified file 'stock_picking_priority/picking_priority_view.xml'
--- stock_picking_priority/picking_priority_view.xml	2013-11-16 17:44:01 +0000
+++ stock_picking_priority/picking_priority_view.xml	2014-02-02 21:47:11 +0000
@@ -23,7 +23,7 @@
     </record>
 
     <act_window id="action_retry_assign"
-                name="Retry picking assignment"
+                name="Recompute Picking Availability"
                 res_model="stock.picking.retry.availability"
                 view_type="form"
                 view_mode="form"
@@ -31,7 +31,6 @@
                 />
 
     <menuitem id="menu_retry_availability"
-              name="Recompute picking availability"
               parent="procurement.menu_stock_sched"
               sequence="40"
               action="action_retry_assign"
@@ -42,16 +41,14 @@
       <field name="name">stock.picking.retry.availability form</field>
       <field name="model">stock.picking.retry.availability</field>
       <field name="arch" type="xml">
-        <form string="Recompute picking availability" version="7.0">
-          <sheet>
+        <form string="Recompute Picking Availability" version="7.0">
+          <group>
             <p class="oe_grey">
-              This action will recompute the picking availability based on their
-              priority. Before running it, make sure that you have changed the
-              priority of at least one picking.
+              This action will recompute the availability of the pickings based on their priority. Before running it, make sure that you have changed the priority of at least one picking.
             </p>
-          </sheet>
+          </group>
           <footer>
-            <button name="action_retry_assign" string="Recompute availability" type="object"
+            <button name="action_retry_assign" string="Recompute Availability" type="object"
                     class="oe_highlight"/>
             or
             <button string="Cancel" class="oe_link" special="cancel" />


Follow ups