Skip to content

Commit

Permalink
Take into account the remarks of Yannick: self[0] -> self, updates in…
Browse files Browse the repository at this point in the history
… fr.po
  • Loading branch information
Alexis de Lattre committed Feb 17, 2015
1 parent 7780bc6 commit d8f895d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions stock_packaging_usability/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ msgstr ""
#. module: stock_packaging_usability
#: model:ir.model,name:stock_packaging_usability.model_stock_transfer_details
msgid "Picking wizard"
msgstr "Picking wizard"
msgstr ""

#. module: stock_packaging_usability
#: model:ir.model,name:stock_packaging_usability.model_stock_transfer_details_items
msgid "Picking wizard items"
msgstr "Picking wizard items"
msgstr ""

#. module: stock_packaging_usability
#: view:stock.transfer_details:stock_packaging_usability.view_stock_enter_transfer_details
Expand Down
12 changes: 6 additions & 6 deletions stock_packaging_usability_ul/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ msgstr "Annuler"
#. module: stock_packaging_usability_ul
#: field:stock.select.ul,create_uid:0
msgid "Created by"
msgstr "Created by"
msgstr "Créé par"

#. module: stock_packaging_usability_ul
#: field:stock.select.ul,create_date:0
msgid "Created on"
msgstr "Created on"
msgstr "Créé le"

#. module: stock_packaging_usability_ul
#: field:stock.select.ul,id:0
Expand All @@ -38,12 +38,12 @@ msgstr "ID"
#. module: stock_packaging_usability_ul
#: field:stock.select.ul,write_uid:0
msgid "Last Updated by"
msgstr "Last Updated by"
msgstr "Dernière mise-à-jour par"

#. module: stock_packaging_usability_ul
#: field:stock.select.ul,write_date:0
msgid "Last Updated on"
msgstr "Last Updated on"
msgstr "Dernière mise-à-jour le"

#. module: stock_packaging_usability_ul
#: field:stock.select.ul,ul_id:0
Expand All @@ -53,12 +53,12 @@ msgstr "Unité logistique"
#. module: stock_packaging_usability_ul
#: model:ir.model,name:stock_packaging_usability_ul.model_stock_transfer_details
msgid "Picking wizard"
msgstr "Picking wizard"
msgstr ""

#. module: stock_packaging_usability_ul
#: model:ir.model,name:stock_packaging_usability_ul.model_stock_transfer_details_items
msgid "Picking wizard items"
msgstr "Picking wizard items"
msgstr ""

#. module: stock_packaging_usability_ul
#: model:ir.actions.act_window,name:stock_packaging_usability_ul.stock_select_ul_action
Expand Down
2 changes: 1 addition & 1 deletion stock_packaging_usability_ul/wizard/stock_select_ul.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class StockSelectUL(models.TransientModel):
@api.multi
def validate(self):
self.ensure_one()
ul = self[0].ul_id
ul = self.ul_id
assert self.env.context.get('pack_function') is not None, \
'missing context key pack_function'
self = self.with_context(default_ul_id=(ul and ul.id or False))
Expand Down

0 comments on commit d8f895d

Please sign in to comment.