[FIX] stock_putaway_method: Fix travis

This commit is contained in:
Carlos Dauden
2018-06-11 16:07:31 +02:00
committed by Reed Hayashikawa
parent 941162ee04
commit 5c3352d7a4
4 changed files with 50 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_putaway_method
#
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
@@ -11,18 +11,14 @@ msgstr ""
"POT-Creation-Date: 2018-03-02 03:44+0000\n"
"PO-Revision-Date: 2018-03-02 03:44+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/teams/23907/cs_CZ/)\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: cs_CZ\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: stock_putaway_method
#: model:ir.ui.view,arch_db:stock_putaway_method.view_putaway
msgid "Fixed Locations Per Categories"
msgstr "Upravené umístění podle kategorií"
#. module: stock_putaway_method
#: model:ir.model.fields,field_description:stock_putaway_method.field_product_putaway_method
msgid "Method"
@@ -33,7 +29,8 @@ msgstr "Metoda"
msgid "Put Away Strategy"
msgstr "Strategie vyřazení"
#. module: stock_putaway_method
#: model:ir.ui.view,arch_db:stock_putaway_method.view_putaway
msgid "Putaway"
msgstr "Dát pryč"
#~ msgid "Fixed Locations Per Categories"
#~ msgstr "Upravené umístění podle kategorií"
#~ msgid "Putaway"
#~ msgstr "Dát pryč"

View File

@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_putaway_method
#
#
# Translators:
# Quentin THEURET <odoo@kerpeo.com>, 2018
msgid ""
@@ -12,17 +12,12 @@ msgstr ""
"PO-Revision-Date: 2018-03-02 03:44+0000\n"
"Last-Translator: Quentin THEURET <odoo@kerpeo.com>, 2018\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: stock_putaway_method
#: model:ir.ui.view,arch_db:stock_putaway_method.view_putaway
msgid "Fixed Locations Per Categories"
msgstr "Emplacement fixe par catégories"
#. module: stock_putaway_method
#: model:ir.model.fields,field_description:stock_putaway_method.field_product_putaway_method
msgid "Method"
@@ -33,7 +28,8 @@ msgstr "Méthode"
msgid "Put Away Strategy"
msgstr "Stratégie de rangement"
#. module: stock_putaway_method
#: model:ir.ui.view,arch_db:stock_putaway_method.view_putaway
msgid "Putaway"
msgstr "Rangement"
#~ msgid "Fixed Locations Per Categories"
#~ msgstr "Emplacement fixe par catégories"
#~ msgid "Putaway"
#~ msgstr "Rangement"

View File

@@ -0,0 +1,25 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_putaway_method
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \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_putaway_method
#: model:ir.model.fields,field_description:stock_putaway_method.field_product_putaway_method
msgid "Method"
msgstr ""
#. module: stock_putaway_method
#: model:ir.model,name:stock_putaway_method.model_product_putaway
msgid "Put Away Strategy"
msgstr ""

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0"?>
<odoo>
<record id="view_putaway" model="ir.ui.view">
@@ -6,24 +6,15 @@
<field name="model">product.putaway</field>
<field name="inherit_id" ref="stock.view_putaway"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='name']/../.." position="replace">
<form string="Putaway">
<group colspan="4">
<field name="name"/>
<field name="method"/>
</group>
<div attrs="{'invisible': [('method', '!=', 'fixed')]}">
<separator string="Fixed Locations Per Categories"/>
<field name="fixed_location_ids" colspan="4" nolabel="1">
<tree editable="top">
<field name="sequence" widget='handle'/>
<field name="category_id"/>
<field name="fixed_location_id"/>
</tree>
</field>
</div>
</form>
<field name="name" position="after">
<field name="method"/>
</field>
<xpath expr="//separator" position="attributes">
<attribute name="attrs">{'invisible': [('method', '!=', 'fixed')]}</attribute>
</xpath>
<field name="fixed_location_ids" position="attributes">
<attribute name="attrs">{'invisible': [('method', '!=', 'fixed')]}</attribute>
</field>
</field>
</record>
</odoo>