diff --git a/pos_remove_pos_category/README.rst b/pos_remove_pos_category/README.rst index bc40e518..93c6eb74 100644 --- a/pos_remove_pos_category/README.rst +++ b/pos_remove_pos_category/README.rst @@ -25,6 +25,10 @@ Configuration No configuration is needed just use product categories as standard pos categories. +You may uncheck 'Available in the Point of Sale' field +in regular product categories if you want that a category becomes invisible +in POS. +Children categories will becomes invisible too, whatever their checkbox state. Bug Tracker diff --git a/pos_remove_pos_category/i18n/fr.po b/pos_remove_pos_category/i18n/fr.po index d0394bb8..3eb0223c 100644 --- a/pos_remove_pos_category/i18n/fr.po +++ b/pos_remove_pos_category/i18n/fr.po @@ -1,22 +1,55 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * pos_remove_pos_category +# * pos_remove_pos_category # msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-31 09:05+0000\n" -"PO-Revision-Date: 2015-03-31 09:05+0000\n" -"Last-Translator: <>\n" +"POT-Creation-Date: 2015-07-24 07:13+0000\n" +"PO-Revision-Date: 2015-07-24 09:20+0100\n" +"Last-Translator: David BEAL \n" "Language-Team: \n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" +"Content-Transfer-Encoding: 8bit\n" "Plural-Forms: \n" +"X-Generator: Poedit 1.7.5\n" + +#. module: pos_remove_pos_category +#: view:product.category:pos_remove_pos_category.product_category_list_view +msgid "Available in POS" +msgstr "Disponible dans le PDV" + +#. module: pos_remove_pos_category +#: field:product.category,available_in_pos:0 +msgid "Available in the Point of Sale" +msgstr "Disponible dans le Point de Vente" + +#. module: pos_remove_pos_category +#: help:product.category,available_in_pos:0 +msgid "" +"Check if you want this category to appear in Point Of Sale.\n" +"If you uncheck, children categories will becomes invisible too, whatever " +"their checkbox state." +msgstr "" +"Cochez si vous voulez que cette catégorie apparaisse dans le Point de " +"Vente.\n" +"Si vous décochez, les catégories enfants deviendront invisible " +"également, quel que soit l'état de leur case à cocher." + +#. module: pos_remove_pos_category +#: model:ir.model,name:pos_remove_pos_category.model_ir_module_module +msgid "Module" +msgstr "Module" + +#. module: pos_remove_pos_category +#: model:ir.model,name:pos_remove_pos_category.model_product_category +msgid "Product Category" +msgstr "Catégorie de Produit" #. module: pos_remove_pos_category #: model:ir.model,name:pos_remove_pos_category.model_product_template msgid "Product Template" msgstr "Modèle d'article" - diff --git a/pos_remove_pos_category/i18n/pos_remove_pos_category.pot b/pos_remove_pos_category/i18n/pos_remove_pos_category.pot index 83e447d8..be5c8f97 100644 --- a/pos_remove_pos_category/i18n/pos_remove_pos_category.pot +++ b/pos_remove_pos_category/i18n/pos_remove_pos_category.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 8.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-31 09:01+0000\n" -"PO-Revision-Date: 2015-03-31 09:01+0000\n" +"POT-Creation-Date: 2015-07-24 07:13+0000\n" +"PO-Revision-Date: 2015-07-24 07:13+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -15,6 +15,32 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" +#. module: pos_remove_pos_category +#: view:product.category:pos_remove_pos_category.product_category_list_view +msgid "Available in POS" +msgstr "" + +#. module: pos_remove_pos_category +#: field:product.category,available_in_pos:0 +msgid "Available in the Point of Sale" +msgstr "" + +#. module: pos_remove_pos_category +#: help:product.category,available_in_pos:0 +msgid "Check if you want this category to appear in Point Of Sale.\n" +"If you uncheck, children categories will becomes invisible too, whatever their checkbox state." +msgstr "" + +#. module: pos_remove_pos_category +#: model:ir.model,name:pos_remove_pos_category.model_ir_module_module +msgid "Module" +msgstr "" + +#. module: pos_remove_pos_category +#: model:ir.model,name:pos_remove_pos_category.model_product_category +msgid "Product Category" +msgstr "" + #. module: pos_remove_pos_category #: model:ir.model,name:pos_remove_pos_category.model_product_template msgid "Product Template" diff --git a/pos_remove_pos_category/product.py b/pos_remove_pos_category/product.py index 7baeb845..4654d580 100644 --- a/pos_remove_pos_category/product.py +++ b/pos_remove_pos_category/product.py @@ -46,7 +46,10 @@ class ProductCategory(models.Model): available_in_pos = fields.Boolean( string="Available in the Point of Sale", - help="Check if you want this category to appear in Point Of Sale") + default=True, + help="Check if you want this category to appear in Point Of Sale.\n" + "If you uncheck, children categories will becomes invisible too, " + "whatever their checkbox state.") _auto_end_original = models.BaseModel._auto_end