From 1cf9eea8b1ea92f562eeb7c2af1e17e19942806a Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 5 May 2020 11:55:46 +0200 Subject: [PATCH] [FIX] disable feature for pos config demo, to avoid errors on other modules of the same repository ; [IMP] improve the display of the field on the pos config form --- pos_picking_delayed/demo/pos_config.xml | 17 ++++++++ pos_picking_delayed/i18n/fr.po | 43 +++++++------------ .../i18n/pos_picking_delayed.pot | 10 ++++- pos_picking_delayed/views/view_pos_config.xml | 18 ++++++-- 4 files changed, 54 insertions(+), 34 deletions(-) create mode 100644 pos_picking_delayed/demo/pos_config.xml diff --git a/pos_picking_delayed/demo/pos_config.xml b/pos_picking_delayed/demo/pos_config.xml new file mode 100644 index 00000000..9b2658b0 --- /dev/null +++ b/pos_picking_delayed/demo/pos_config.xml @@ -0,0 +1,17 @@ + + + + + + + + False + + + diff --git a/pos_picking_delayed/i18n/fr.po b/pos_picking_delayed/i18n/fr.po index 748825d7..2c6215f0 100644 --- a/pos_picking_delayed/i18n/fr.po +++ b/pos_picking_delayed/i18n/fr.po @@ -4,13 +4,12 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-10-17 11:06+0000\n" -"PO-Revision-Date: 2018-10-17 11:06+0000\n" +"POT-Creation-Date: 2020-05-05 09:52+0000\n" +"PO-Revision-Date: 2020-05-05 09:52+0000\n" "Last-Translator: <>\n" "Language-Team: \n" -"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -18,34 +17,28 @@ msgstr "" #. module: pos_picking_delayed #: model:ir.model.fields,help:pos_picking_delayed.field_pos_config__picking_creation_delayed -msgid "" -"Check this box if you want to delay the creation of the picking created by " -"the PoS orders. If checked, the pickings will be created later, by a cron " -"task." -msgstr "" -"Cochez cette case si vous souhaitez retarder la création des transferts de " -"stock liés au commandes de point de vente. Si la case est cochée, ceux-ci " -"seront créés ultérieurement, par une tâche de fond." +msgid "Check this box if you want to delay the creation of the picking created by the PoS orders. If checked, the pickings will be created later, by a cron task." +msgstr "Cochez cette case si vous souhaitez retarder la création des transferts de stock liés au commandes de point de vente. Si la case est cochée, ceux-ci seront créés ultérieurement, par une tâche de fond." + +#. module: pos_picking_delayed +#: model_terms:ir.ui.view,arch_db:pos_picking_delayed.view_pos_config_form +msgid "Delay the creation of the picking created by the PoS orders" +msgstr "Retarder la création des transferts de stock créé par les Commandes du Point de Vente" #. module: pos_picking_delayed #: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_order__has_picking_delayed -#, fuzzy -#| msgid "Has picking delayed" msgid "Has Picking Delayed" -msgstr "A un transfert de stock retardé" +msgstr "A un transfert retardée" #. module: pos_picking_delayed #: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_config__picking_creation_delayed -#: model_terms:ir.ui.view,arch_db:pos_picking_delayed.view_pos_config_form msgid "Picking Creation Delayed" -msgstr "Retarder la création des transferts de stock" +msgstr "Création de transfert retardé" #. module: pos_picking_delayed #: model:ir.model,name:pos_picking_delayed.model_pos_config -#, fuzzy -#| msgid "Point of Sale Orders" msgid "Point of Sale Configuration" -msgstr "Commandes du point de vente" +msgstr "Paramétrage du point de vente" #. module: pos_picking_delayed #: model:ir.model,name:pos_picking_delayed.model_pos_order @@ -54,12 +47,6 @@ msgstr "Commandes du point de vente" #. module: pos_picking_delayed #: model:ir.model.fields,help:pos_picking_delayed.field_pos_order__has_picking_delayed -msgid "" -"This checkbox is checked if the generation of the picking has been delayed. " -"The picking will be created by cron." -msgstr "" -"Cette case est cochée si la génération du transfert de stock a été retardée. " -"Celui ci sera créé par une tâche de fond." +msgid "This checkbox is checked if the generation of the picking has been delayed. The picking will be created by cron." +msgstr "Cette case est cochée si la génération du transfert de stock a été retardée. Celui ci sera créé par une tâche de fond." -#~ msgid "pos.config" -#~ msgstr "pos.config" diff --git a/pos_picking_delayed/i18n/pos_picking_delayed.pot b/pos_picking_delayed/i18n/pos_picking_delayed.pot index 304f5c4b..61c5f27e 100644 --- a/pos_picking_delayed/i18n/pos_picking_delayed.pot +++ b/pos_picking_delayed/i18n/pos_picking_delayed.pot @@ -1,11 +1,13 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * pos_picking_delayed +# * pos_picking_delayed # msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-05 09:51+0000\n" +"PO-Revision-Date: 2020-05-05 09:51+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -18,6 +20,11 @@ msgstr "" msgid "Check this box if you want to delay the creation of the picking created by the PoS orders. If checked, the pickings will be created later, by a cron task." msgstr "" +#. module: pos_picking_delayed +#: model_terms:ir.ui.view,arch_db:pos_picking_delayed.view_pos_config_form +msgid "Delay the creation of the picking created by the PoS orders" +msgstr "" + #. module: pos_picking_delayed #: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_order__has_picking_delayed msgid "Has Picking Delayed" @@ -25,7 +32,6 @@ msgstr "" #. module: pos_picking_delayed #: model:ir.model.fields,field_description:pos_picking_delayed.field_pos_config__picking_creation_delayed -#: model_terms:ir.ui.view,arch_db:pos_picking_delayed.view_pos_config_form msgid "Picking Creation Delayed" msgstr "" diff --git a/pos_picking_delayed/views/view_pos_config.xml b/pos_picking_delayed/views/view_pos_config.xml index 4c6f3314..c41b54ac 100644 --- a/pos_picking_delayed/views/view_pos_config.xml +++ b/pos_picking_delayed/views/view_pos_config.xml @@ -8,11 +8,21 @@ pos.config - - - - + + +
+
+ +
+
+
+
+