Browse Source

[FIX] translation & doc

pull/41/head
David Beal 10 years ago
parent
commit
820fdf5d36
  1. 4
      pos_remove_pos_category/README.rst
  2. 45
      pos_remove_pos_category/i18n/fr.po
  3. 30
      pos_remove_pos_category/i18n/pos_remove_pos_category.pot
  4. 5
      pos_remove_pos_category/product.py

4
pos_remove_pos_category/README.rst

@ -25,6 +25,10 @@ Configuration
No configuration is needed just use product categories as standard No configuration is needed just use product categories as standard
pos categories. 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 Bug Tracker

45
pos_remove_pos_category/i18n/fr.po

@ -1,22 +1,55 @@
# Translation of Odoo Server. # Translation of Odoo Server.
# This file contains the translation of the following modules: # This file contains the translation of the following modules:
# * pos_remove_pos_category
# * pos_remove_pos_category
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 8.0\n" "Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \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 <david.beal@akretion.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \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 #. module: pos_remove_pos_category
#: model:ir.model,name:pos_remove_pos_category.model_product_template #: model:ir.model,name:pos_remove_pos_category.model_product_template
msgid "Product Template" msgid "Product Template"
msgstr "Modèle d'article" msgstr "Modèle d'article"

30
pos_remove_pos_category/i18n/pos_remove_pos_category.pot

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 8.0\n" "Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \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" "Last-Translator: <>\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -15,6 +15,32 @@ msgstr ""
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: \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 #. module: pos_remove_pos_category
#: model:ir.model,name:pos_remove_pos_category.model_product_template #: model:ir.model,name:pos_remove_pos_category.model_product_template
msgid "Product Template" msgid "Product Template"

5
pos_remove_pos_category/product.py

@ -46,7 +46,10 @@ class ProductCategory(models.Model):
available_in_pos = fields.Boolean( available_in_pos = fields.Boolean(
string="Available in the Point of Sale", 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 _auto_end_original = models.BaseModel._auto_end

Loading…
Cancel
Save