Rodney Elpidio Enciso Arias 6 rokov pred
rodič
commit
52eef3d0dd
10 zmenil súbory, kde vykonal 840 pridanie a 85 odobranie
  1. BIN
      __init__.pyc
  2. 147 0
      i18n/ca.po
  3. 148 0
      i18n/de.po
  4. 147 0
      i18n/es.po
  5. 111 45
      i18n/fr.po
  6. 105 40
      i18n/fr_FR.po
  7. 0 0
      i18n/product_brand.pot
  8. 148 0
      i18n/sl.po
  9. 34 0
      product_brand.py
  10. BIN
      product_brand.pyc

BIN
__init__.pyc


+ 147 - 0
i18n/ca.po

@@ -0,0 +1,147 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-03 10:07+0000\n"
+"PO-Revision-Date: 2016-11-03 10:07+0000\n"
+"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
+"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ca\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,description:0
+msgid "Description"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr ""
+
+#. module: product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,logo:0
+msgid "Logo File"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,partner_id:0
+msgid "Partner"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
+msgstr "Producte"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr ""
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
+#: help:product.template,product_brand_id:0
+msgid "Select a brand for this product"
+msgstr ""
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
+msgstr ""

+ 148 - 0
i18n/de.po

@@ -0,0 +1,148 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
+# Rudolf Schnapka <rs@techno-flex.de>, 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-04-21 02:49+0000\n"
+"PO-Revision-Date: 2017-04-21 02:49+0000\n"
+"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
+"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: de\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr "Marke"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr "Markenname"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
+msgstr "Markenprodukte"
+
+#. module: product_brand
+#: field:product.brand,create_uid:0
+msgid "Created by"
+msgstr "Angelegt durch"
+
+#. module: product_brand
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr "Angelegt am"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,description:0
+msgid "Description"
+msgstr "Beschreibung"
+
+#. module: product_brand
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr "Anzeigebezeichnung"
+
+#. module: product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr "Gruppiere nach"
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr "Zuletzt geändert am"
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr "Zuletzt aktualisiert durch"
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
+msgstr "Zuletzt aktualisiert am"
+
+#. module: product_brand
+#: field:product.brand,logo:0
+msgid "Logo File"
+msgstr "Logo-Datei"
+
+#. module: product_brand
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr "Anzahl Produkte"
+
+#. module: product_brand
+#: field:product.brand,partner_id:0
+msgid "Partner"
+msgstr "Partner"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
+msgstr "Produkt"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr "Produkt-Marke"
+
+#. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr "Produktmarken"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr "Produktvorlage"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr "Produkte"
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
+#: help:product.template,product_brand_id:0
+msgid "Select a brand for this product"
+msgstr "Wähle eine Marke für dieses Produkt"
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr "Wähle einen Partner für diese Marke, falls vorhanden"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
+msgstr "product.brand"

+ 147 - 0
i18n/es.po

@@ -0,0 +1,147 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-03 10:07+0000\n"
+"PO-Revision-Date: 2016-11-03 10:07+0000\n"
+"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
+"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,description:0
+msgid "Description"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr ""
+
+#. module: product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,logo:0
+msgid "Logo File"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,partner_id:0
+msgid "Partner"
+msgstr "Empresa"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
+msgstr "Producto"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr "Plantilla de producto"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr ""
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
+#: help:product.template,product_brand_id:0
+msgid "Select a brand for this product"
+msgstr ""
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
+msgstr ""

+ 111 - 45
i18n/fr.po

@@ -1,53 +1,92 @@
-# Translation of OpenERP Server.
+# Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* product_brand
-#
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
+# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2017
 msgid ""
 msgstr ""
-"Project-Id-Version: OpenERP Server 7.0\n"
+"Project-Id-Version: Odoo Server 8.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-14 12:55+0000\n"
-"PO-Revision-Date: 2014-04-08 17:33+0000\n"
-"Last-Translator: Guewen Baconnier @ Camptocamp <Unknown>\n"
-"Language-Team: \n"
+"POT-Creation-Date: 2017-04-21 02:49+0000\n"
+"PO-Revision-Date: 2017-04-21 02:49+0000\n"
+"Last-Translator: Christophe CHAUVET <christophe.chauvet@gmail.com>, 2017\n"
+"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n"
-"X-Generator: Launchpad (build 17007)\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #. module: product_brand
-#: model:ir.model,name:product_brand.model_product_brand
-#: view:product.brand:0
-msgid "product.brand"
-msgstr "product.brand"
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr "Marque"
 
 #. module: product_brand
-#: model:ir.model,name:product_brand.model_product_template
-msgid "Product Template"
-msgstr "Modèle de produit"
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr "Marque"
 
 #. module: product_brand
-#: model:ir.ui.menu,name:product_brand.menu_product_brand
-msgid "Brand management"
-msgstr "Gestion des marques"
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
+msgstr "Marque des produits"
+
+#. module: product_brand
+#: field:product.brand,create_uid:0
+msgid "Created by"
+msgstr "Créé par"
 
 #. module: product_brand
-#: view:product.brand:0
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr "Créé sur"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
 #: field:product.brand,description:0
 msgid "Description"
 msgstr "Description"
 
 #. module: product_brand
-#: view:product.brand:0
-#: field:product.brand,name:0
-msgid "Brand Name"
-msgstr "Marque"
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr "Nom affiché"
 
 #. module: product_brand
-#: view:product.brand:0
-msgid "Product Brand"
-msgstr "Marque d'article"
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr "Regrouper par..."
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr "Dernière modification le"
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr "Dernière mise à jour par"
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
+msgstr "Dernière mise à jour le"
 
 #. module: product_brand
 #: field:product.brand,logo:0
@@ -55,28 +94,55 @@ msgid "Logo File"
 msgstr "Logo"
 
 #. module: product_brand
-#: model:ir.actions.act_window,name:product_brand.action_product_brand
-#: view:product.product:0
-#: field:product.template,product_brand_id:0
-msgid "Brand"
-msgstr "Marque"
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr "Nombre de produits"
 
 #. module: product_brand
-#: help:product.brand,partner_id:0
-msgid "Select a partner for this brand if it exists."
-msgstr "Sélectionnez un partenaire pour cette marque."
+#: field:product.brand,partner_id:0
+msgid "Partner"
+msgstr "Partenaire"
 
 #. module: product_brand
-#: view:product.product:0
-msgid "Group by..."
-msgstr "Regrouper par..."
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
+msgstr "Produit"
 
 #. module: product_brand
-#: field:product.brand,partner_id:0
-msgid "partner"
-msgstr "Partenaire"
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr "Marque d'article"
 
 #. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr "Marques de l'article"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr "Modèle de produit"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr "Produits"
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
 #: help:product.template,product_brand_id:0
-msgid "Select a brand for this product."
-msgstr "Sélectionnez une marque pour ce produit."
+msgid "Select a brand for this product"
+msgstr "Sélectionner une marque pour ce produit"
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr "Sélectionner un partenaire pour cette marque si il existe"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
+msgstr "product.brand"

+ 105 - 40
i18n/fr_FR.po

@@ -1,52 +1,90 @@
-# Translation of OpenERP Server.
+# Translation of Odoo Server.
 # This file contains the translation of the following modules:
-#	* product_brand
-#
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
 msgid ""
 msgstr ""
-"Project-Id-Version: OpenERP Server 5.0.7\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2014-03-14 12:55+0000\n"
-"PO-Revision-Date: 2014-03-11 12:42+0000\n"
-"Last-Translator: Graeme Gellatly <Unknown>\n"
-"Language-Team: \n"
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-03 10:07+0000\n"
+"PO-Revision-Date: 2016-11-03 10:07+0000\n"
+"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
+"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/fr_FR/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n"
-"X-Generator: Launchpad (build 17007)\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr_FR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
 #. module: product_brand
-#: model:ir.model,name:product_brand.model_product_brand
-#: view:product.brand:0
-msgid "product.brand"
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr "Marque"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr "Marque"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
 msgstr ""
 
 #. module: product_brand
-#: model:ir.model,name:product_brand.model_product_template
-msgid "Product Template"
+#: field:product.brand,create_uid:0
+msgid "Created by"
 msgstr ""
 
 #. module: product_brand
-#: model:ir.ui.menu,name:product_brand.menu_product_brand
-msgid "Brand management"
-msgstr "Gestion des marques"
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr ""
 
 #. module: product_brand
-#: view:product.brand:0
+#: view:product.brand:product_brand.view_product_brand_form
 #: field:product.brand,description:0
 msgid "Description"
 msgstr "Description"
 
 #. module: product_brand
-#: view:product.brand:0
-#: field:product.brand,name:0
-msgid "Brand Name"
-msgstr "Marque"
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr ""
 
 #. module: product_brand
-#: view:product.brand:0
-msgid "Product Brand"
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
 msgstr ""
 
 #. module: product_brand
@@ -55,28 +93,55 @@ msgid "Logo File"
 msgstr ""
 
 #. module: product_brand
-#: model:ir.actions.act_window,name:product_brand.action_product_brand
-#: view:product.product:0
-#: field:product.template,product_brand_id:0
-msgid "Brand"
-msgstr "Marque"
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr ""
 
 #. module: product_brand
-#: help:product.brand,partner_id:0
-msgid "Select a partner for this brand if it exists."
+#: field:product.brand,partner_id:0
+msgid "Partner"
 msgstr ""
 
 #. module: product_brand
-#: view:product.product:0
-msgid "Group by..."
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
 msgstr ""
 
 #. module: product_brand
-#: field:product.brand,partner_id:0
-msgid "partner"
-msgstr "Partenaire"
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr ""
+
+#. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr ""
 
 #. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr ""
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
 #: help:product.template,product_brand_id:0
-msgid "Select a brand for this product."
+msgid "Select a brand for this product"
+msgstr ""
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr ""
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
 msgstr ""

+ 0 - 0
i18n/product_brand.pot


+ 148 - 0
i18n/sl.po

@@ -0,0 +1,148 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * product_brand
+# 
+# Translators:
+# OCA Transbot <transbot@odoo-community.org>, 2016
+# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-11-03 10:07+0000\n"
+"PO-Revision-Date: 2016-11-03 10:07+0000\n"
+"Last-Translator: Matjaž Mozetič <m.mozetic@matmoz.si>, 2016\n"
+"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sl\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: field:product.product,product_brand_id:0
+#: view:product.template:product_brand.product_template_form_brand_add
+#: view:product.template:product_brand.view_product_template_search_brand
+#: field:product.template,product_brand_id:0
+msgid "Brand"
+msgstr "Znamka"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,name:0
+msgid "Brand Name"
+msgstr "Naziv znamke"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
+#: field:product.brand,product_ids:0
+msgid "Brand Products"
+msgstr "Znamke proizvodov"
+
+#. module: product_brand
+#: field:product.brand,create_uid:0
+msgid "Created by"
+msgstr "Ustvaril"
+
+#. module: product_brand
+#: field:product.brand,create_date:0
+msgid "Created on"
+msgstr "Ustvarjeno"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: field:product.brand,description:0
+msgid "Description"
+msgstr "Opis"
+
+#. module: product_brand
+#: field:product.brand,display_name:0
+msgid "Display Name"
+msgstr "Prikazni naziv"
+
+#. module: product_brand
+#: view:product.product:product_brand.product_search_form_view
+#: view:product.template:product_brand.view_product_template_search_brand
+msgid "Group by..."
+msgstr "Združi po..."
+
+#. module: product_brand
+#: field:product.brand,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: product_brand
+#: field:product.brand,__last_update:0
+msgid "Last Modified on"
+msgstr "Zadnja sprememba"
+
+#. module: product_brand
+#: field:product.brand,write_uid:0
+msgid "Last Updated by"
+msgstr "Zadnji posodobil"
+
+#. module: product_brand
+#: field:product.brand,write_date:0
+msgid "Last Updated on"
+msgstr "Zadnja posodobitev"
+
+#. module: product_brand
+#: field:product.brand,logo:0
+msgid "Logo File"
+msgstr "Datoteka z logotipom"
+
+#. module: product_brand
+#: field:product.brand,products_count:0
+msgid "Number of products"
+msgstr "Število proizvodov"
+
+#. module: product_brand
+#: field:product.brand,partner_id:0
+msgid "Partner"
+msgstr "Partner"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_product
+msgid "Product"
+msgstr "Proizvod"
+
+#. module: product_brand
+#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
+#: view:product.brand:product_brand.product_brand_search_form_view
+#: view:product.brand:product_brand.view_product_brand_form
+msgid "Product Brand"
+msgstr "Znamka proizvoda"
+
+#. module: product_brand
+#: model:ir.ui.menu,name:product_brand.menu_product_brand
+msgid "Product Brands"
+msgstr "Znamke proizvodov"
+
+#. module: product_brand
+#: model:ir.model,name:product_brand.model_product_template
+msgid "Product Template"
+msgstr "Predloga proizvoda"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_form
+#: view:product.brand:product_brand.view_product_brand_kanban
+msgid "Products"
+msgstr "Proizvodi"
+
+#. module: product_brand
+#: help:product.product,product_brand_id:0
+#: help:product.template,product_brand_id:0
+msgid "Select a brand for this product"
+msgstr "Izberite znamko tega proizvoda"
+
+#. module: product_brand
+#: help:product.brand,partner_id:0
+msgid "Select a partner for this brand if it exists"
+msgstr "Izberite partnerja te znamke, če obstaja"
+
+#. module: product_brand
+#: view:product.brand:product_brand.view_product_brand_tree
+msgid "product.brand"
+msgstr "product.brand"

+ 34 - 0
product_brand.py

@@ -69,3 +69,37 @@ class ProductTemplate(models.Model):
         string='Brand',
         help='Select a brand for this product'
     )
+
+    @api.multi
+    def name_get(self):
+        res = super(ProductTemplate, self).name_get()
+        res2 = []
+        for name_tuple in res:
+            product = self.browse(name_tuple[0])
+            if not product.product_brand_id:
+                res2.append(name_tuple)
+                continue
+            res2.append((
+                name_tuple[0],
+                u'{} ({})'.format(name_tuple[1], product.product_brand_id.name)
+            ))
+        return res2
+
+
+class ProductProduct(models.Model):
+    _inherit = 'product.product'
+
+    @api.multi
+    def name_get(self):
+        res = super(ProductProduct, self).name_get()
+        res2 = []
+        for name_tuple in res:
+            product = self.browse(name_tuple[0])
+            if not product.product_brand_id:
+                res2.append(name_tuple)
+                continue
+            res2.append((
+                name_tuple[0],
+                u'{} ({})'.format(name_tuple[1], product.product_brand_id.name)
+            ))
+        return res2

BIN
product_brand.pyc