diff --git a/base_custom_info/README.rst b/base_custom_info/README.rst index 5604e2a88..14f3b5a90 100644 --- a/base_custom_info/README.rst +++ b/base_custom_info/README.rst @@ -6,26 +6,67 @@ Base Custom Info ================ -This module allow create custom fields in models without alter models -structures. +This module allows to create custom fields in models without altering model's +structure. + +Installation +============ + +This module serves as a base for other modules that implement this behavior in +concrete models. + +This module is a technical dependency and is to be installed in parallel to +other modules. Usage ===== -To use this module, you need to: +This module defines *Custom Info Templates* that define what properties are +expected for a given record. + +To define a template, you need to: + +* Go to *Settings > Custom Info > Templates*. +* Create one. +* Add some *Properties* to it. + +All database records with that template enabled will automatically fill those +properties. + +To manage the properties, you need to: +* Go to *Settings > Custom Info > Properties*. + +To manage their values, you need to: + +* Go to *Settings > Custom Info > Values*. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/186 + :target: https://runbot.odoo-community.org/runbot/135/8.0 + +Development +=========== + +To create a module that supports custom information, just depend on this module +and inherit from the ``custom.info`` model. + +Known issues / Roadmap +====================== + +* All data types of custom information values are text strings. Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. -In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smashing it by providing a detailed and welcomed `feedback +`_. Credits ======= @@ -36,6 +77,7 @@ Contributors * Rafael Blasco * Carlos Dauden * Sergio Teruel +* Jairo Llopis Maintainer ---------- @@ -50,4 +92,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. +To contribute to this module, please visit https://odoo-community.org. diff --git a/base_custom_info/__init__.py b/base_custom_info/__init__.py index 7fffa6f51..5faa0139b 100644 --- a/base_custom_info/__init__.py +++ b/base_custom_info/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel -# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Sergio Teruel +# © 2015 Antiun Ingeniería S.L. - Carlos Dauden # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from . import models \ No newline at end of file +from . import models diff --git a/base_custom_info/__openerp__.py b/base_custom_info/__openerp__.py index 9b4521191..79982b965 100644 --- a/base_custom_info/__openerp__.py +++ b/base_custom_info/__openerp__.py @@ -1,25 +1,33 @@ # -*- coding: utf-8 -*- -# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel -# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Sergio Teruel +# © 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Jairo Llopis # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { 'name': "Base Custom Info", 'summary': "Add custom field in models", - 'category': 'Customize', + 'category': 'Tools', 'version': '8.0.1.0.0', 'depends': [ 'base', ], 'data': [ 'views/custom_info_template_view.xml', - 'views/custom_info_template_line_view.xml', + 'views/custom_info_property_view.xml', 'views/custom_info_value_view.xml', 'views/menu.xml', 'security/ir.model.access.csv', ], + "images": [ + "images/menu.png", + "images/properties.png", + "images/templates.png", + "images/values.png", + ], 'author': 'Antiun Ingeniería S.L., ' - 'Incaser Informatica S.L., ', + 'Incaser Informatica S.L., ' + 'Odoo Community Association (OCA)', 'website': 'http://www.antiun.com', 'license': 'AGPL-3', 'installable': True, diff --git a/base_custom_info/i18n/de.po b/base_custom_info/i18n/de.po new file mode 100644 index 000000000..0db26c59b --- /dev/null +++ b/base_custom_info/i18n/de.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/language/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: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Erstellt von" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Erstellt am:" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modell" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Name" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "Ressourcen-ID" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Werte" diff --git a/base_custom_info/i18n/en.po b/base_custom_info/i18n/en.po new file mode 100644 index 000000000..30e591066 --- /dev/null +++ b/base_custom_info/i18n/en.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-8-0/language/en/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: en\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "

\n Click to define a new custom info template.\n

\n You must define a custom info template for each\n product properties group.\n

\n " + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "A model that gets its ``ir.model`` computed" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "Another property with that name exists for that resource." + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "Another property with that name exists for that template." + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "Another template with that name exists for that model." + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Created by" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Created on" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "Custom Info" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "Custom Info Template" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "Custom Info Template Properties" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "Custom Info Templates" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "Custom Information Template" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "Custom Properties" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "Custom Property Values" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "Custom information property" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "Custom information template" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "Custom information value" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "Info Lines" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "Inheritable abstract model to add custom info in any model" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Last Updated by" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Last Updated on" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Model" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Name" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "Properties" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "Property" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "Property Values" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "Resource ID" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "Template" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "Templates" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Value" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Values" diff --git a/base_custom_info/i18n/es.po b/base_custom_info/i18n/es.po new file mode 100644 index 000000000..6e3c0a769 --- /dev/null +++ b/base_custom_info/i18n/es.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: OCA Transbot \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/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: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "

\nPulsa para definir una nueva plantilla de información personalizada.\n

\nDebe definir una plantilla de información personalizada para cada diferente grupo de propiedades.\n

" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "Ya existe otra propiedad con ese nombre para ese recurso." + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "Ya existe otra propiedad con ese nombre en esa plantilla." + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "Ya existe otra plantilla con ese nombre para ese modelo." + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Creado por" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Creado el" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "Información personalizada" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "Plantilla de información personalizada" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "Propiedades de la plantilla de información personalizada" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "Plantillas de información personalizada" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "Plantilla de información personalizada" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "Propiedades personalizadas" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "Valores de las propiedades personalizadas" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "Propiedad de información personalizada" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "Plantilla de información personalizada" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "Valor de información personalizada" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "Líneas de información" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "Modelo abstracto que se puede heredar para añadir información personalizada a cualquier modelo" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Última actualización por" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Última actualización el" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modelo" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nombre" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "Propiedades" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "Propiedad" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "Valor de la propiedad" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "ID del recurso" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "Plantilla" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "Plantillas" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Valor" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Valores" diff --git a/base_custom_info/i18n/fi.po b/base_custom_info/i18n/fi.po new file mode 100644 index 000000000..4c404ba11 --- /dev/null +++ b/base_custom_info/i18n/fi.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Luonut" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Luotu" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Viimeksi päivittänyt" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Viimeksi päivitetty" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Mall" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nimi" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "" diff --git a/base_custom_info/i18n/fr.po b/base_custom_info/i18n/fr.po new file mode 100644 index 000000000..a9a880d84 --- /dev/null +++ b/base_custom_info/i18n/fr.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/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: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Créé par" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Créé le" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Mis à jour par" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Mis à jour le" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modèle" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nom" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "ID de l'enregistrement" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Valeur" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Valeurs" diff --git a/base_custom_info/i18n/fr_CA.po b/base_custom_info/i18n/fr_CA.po new file mode 100644 index 000000000..e41811dc5 --- /dev/null +++ b/base_custom_info/i18n/fr_CA.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modèle" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nom" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "" diff --git a/base_custom_info/i18n/it.po b/base_custom_info/i18n/it.po new file mode 100644 index 000000000..5defde91c --- /dev/null +++ b/base_custom_info/i18n/it.po @@ -0,0 +1,203 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +# Paolo Valier, 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-17 15:36+0000\n" +"PO-Revision-Date: 2016-03-13 09:02+0000\n" +"Last-Translator: Paolo Valier\n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Creato da" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Creato il" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "Informazioni personalizzate" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "Proprietà personalizzate" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "Valori della Proprietà personalizzata" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "Valore dell'informazione personalizzata" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Ultimo aggiornamento da" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Ultimo aggiornamento il" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modello" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nome" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "Proprietà" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "Proprietà" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "Valori della Proprietà" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "ID Risorsa" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "Modello" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "Modelli" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Valore" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Valori" diff --git a/base_custom_info/i18n/pt_BR.po b/base_custom_info/i18n/pt_BR.po new file mode 100644 index 000000000..855d905ac --- /dev/null +++ b/base_custom_info/i18n/pt_BR.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-8-0/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Criado por" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Criado em" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "Identificação" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Modelo" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Nome" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "Identificação do Recurso" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Valor" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Valores" diff --git a/base_custom_info/i18n/ru.po b/base_custom_info/i18n/ru.po new file mode 100644 index 000000000..59c5b24bf --- /dev/null +++ b/base_custom_info/i18n/ru.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Модель" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Название" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "" diff --git a/base_custom_info/i18n/sl.po b/base_custom_info/i18n/sl.po new file mode 100644 index 000000000..6ef622f64 --- /dev/null +++ b/base_custom_info/i18n/sl.po @@ -0,0 +1,203 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +# Matjaž Mozetič , 2016 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-11 10:31+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/language/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: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "

\n Določi novo predlogo informacij po meri.\n

\n Določiti morate predlogo informacij po meri za vsako\n skupino lastnosti proizvodov.\n

\n " + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "Model, katerega ``ir.model`` se obdela" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "Za ta vir obstaja druga lastnost z istim nazivom." + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "Za to predlogo obstaja druga lastnost z istim nazivom." + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "Za ta model obstaja druga predloga z istim nazivom." + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Ustvaril" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "Informacije po meri" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "Predloga informacij po meri" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "Lastnosti predloge informacij po meri" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "Predloge informacij po meri" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "Predloga informacij po meri" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "Lastnosti po meri" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "Vrednosti lastnosti po meri" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "Lastnosi informacij po meri" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "Predloga informacij po meri" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "Vrednost informacij po meri" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "Postavke informacij" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "Deden abstraktni model za dodajanje informacij po meri kateremukoli modelu." + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Zadnji posodobil" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Model" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Naziv" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "Lastnosti" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "Lastnost" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "Vrednosti lastnosti" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "ID vira" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "Predloga" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "Predloge" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Vrednost" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Vrednosti" diff --git a/base_custom_info/i18n/tr.po b/base_custom_info/i18n/tr.po new file mode 100644 index 000000000..b8c73f2ee --- /dev/null +++ b/base_custom_info/i18n/tr.po @@ -0,0 +1,202 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_custom_info +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-12 02:05+0000\n" +"PO-Revision-Date: 2016-03-10 18:17+0000\n" +"Last-Translator: <>\n" +"Language-Team: Turkish (http://www.transifex.com/oca/OCA-server-tools-8-0/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_custom_info +#: model:ir.actions.act_window,help:base_custom_info.custom_info_template_action +msgid "" +"

\n" +" Click to define a new custom info template.\n" +"

\n" +" You must define a custom info template for each\n" +" product properties group.\n" +"

\n" +" " +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_model_link +msgid "A model that gets its ``ir.model`` computed" +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.value:0 +msgid "Another property with that name exists for that resource." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.property:0 +msgid "Another property with that name exists for that template." +msgstr "" + +#. module: base_custom_info +#: sql_constraint:custom.info.template:0 +msgid "Another template with that name exists for that model." +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,create_uid:0 +#: field:custom.info.template,create_uid:0 +#: field:custom.info.value,create_uid:0 +msgid "Created by" +msgstr "Oluşturan" + +#. module: base_custom_info +#: field:custom.info.property,create_date:0 +#: field:custom.info.template,create_date:0 +#: field:custom.info.value,create_date:0 +msgid "Created on" +msgstr "Oluşturuldu" + +#. module: base_custom_info +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info +msgid "Custom Info" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Custom Info Template" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_form +msgid "Custom Info Template Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.property:base_custom_info.base_custom_info_template_line_tree +#: view:custom.info.template:base_custom_info.base_custom_info_template_tree +msgid "Custom Info Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_template_id:0 +msgid "Custom Information Template" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,custom_info_ids:0 +msgid "Custom Properties" +msgstr "" + +#. module: base_custom_info +#: view:custom.info.value:base_custom_info.base_custom_info_value_tree +msgid "Custom Property Values" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_property +msgid "Custom information property" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_template +msgid "Custom information template" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info_value +msgid "Custom information value" +msgstr "" + +#. module: base_custom_info +#: field:custom.info,id:0 field:custom.info.model_link,id:0 +#: field:custom.info.property,id:0 field:custom.info.template,id:0 +#: field:custom.info.value,id:0 +msgid "ID" +msgstr "ID" + +#. module: base_custom_info +#: view:custom.info.template:base_custom_info.base_custom_info_template_form +msgid "Info Lines" +msgstr "" + +#. module: base_custom_info +#: model:ir.model,name:base_custom_info.model_custom_info +msgid "Inheritable abstract model to add custom info in any model" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,write_uid:0 +#: field:custom.info.template,write_uid:0 field:custom.info.value,write_uid:0 +msgid "Last Updated by" +msgstr "Son güncelleyen" + +#. module: base_custom_info +#: field:custom.info.property,write_date:0 +#: field:custom.info.template,write_date:0 +#: field:custom.info.value,write_date:0 +msgid "Last Updated on" +msgstr "Son güncellenme" + +#. module: base_custom_info +#: field:custom.info.model_link,model:0 +#: field:custom.info.model_link,model_id:0 field:custom.info.template,model:0 +#: field:custom.info.template,model_id:0 field:custom.info.value,model:0 +#: field:custom.info.value,model_id:0 +msgid "Model" +msgstr "Model" + +#. module: base_custom_info +#: field:custom.info.property,name:0 field:custom.info.template,name:0 +msgid "Name" +msgstr "Adı" + +#. module: base_custom_info +#: field:custom.info.template,info_ids:0 +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_line_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template_line +msgid "Properties" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,property_id:0 +msgid "Property" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.property,info_value_ids:0 +msgid "Property Values" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,res_id:0 +msgid "Resource ID" +msgstr "Kaynak ID" + +#. module: base_custom_info +#: field:custom.info.property,template_id:0 +msgid "Template" +msgstr "" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_template_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_template +msgid "Templates" +msgstr "" + +#. module: base_custom_info +#: field:custom.info.value,value:0 +msgid "Value" +msgstr "Değer" + +#. module: base_custom_info +#: model:ir.actions.act_window,name:base_custom_info.custom_info_value_action +#: model:ir.ui.menu,name:base_custom_info.menu_base_custom_info_value +msgid "Values" +msgstr "Değerler" diff --git a/base_custom_info/images/menu.png b/base_custom_info/images/menu.png new file mode 100644 index 000000000..08fb79050 Binary files /dev/null and b/base_custom_info/images/menu.png differ diff --git a/base_custom_info/images/properties.png b/base_custom_info/images/properties.png new file mode 100644 index 000000000..d6ae74d00 Binary files /dev/null and b/base_custom_info/images/properties.png differ diff --git a/base_custom_info/images/templates.png b/base_custom_info/images/templates.png new file mode 100644 index 000000000..515b86313 Binary files /dev/null and b/base_custom_info/images/templates.png differ diff --git a/base_custom_info/images/values.png b/base_custom_info/images/values.png new file mode 100644 index 000000000..f95eca7fd Binary files /dev/null and b/base_custom_info/images/values.png differ diff --git a/base_custom_info/models/__init__.py b/base_custom_info/models/__init__.py index c7f3fd66c..278faf2ff 100644 --- a/base_custom_info/models/__init__.py +++ b/base_custom_info/models/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel -# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Sergio Teruel +# © 2015 Antiun Ingeniería S.L. - Carlos Dauden # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from . import custom_info diff --git a/base_custom_info/models/custom_info.py b/base_custom_info/models/custom_info.py index 3001ae6bd..883a4055c 100644 --- a/base_custom_info/models/custom_info.py +++ b/base_custom_info/models/custom_info.py @@ -1,77 +1,119 @@ # -*- coding: utf-8 -*- -# (c) 2015 Antiun Ingeniería S.L. - Sergio Teruel -# (c) 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Sergio Teruel +# © 2015 Antiun Ingeniería S.L. - Carlos Dauden +# © 2015 Antiun Ingeniería S.L. - Jairo Llopis # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from openerp import api, fields, models, _ +from openerp import api, fields, models + + +class CustomInfoModelLink(models.AbstractModel): + _description = "A model that gets its ``ir.model`` computed" + _name = "custom.info.model_link" + + model = fields.Char( + index=True, + readonly=True, + required=True) + model_id = fields.Many2one( + 'ir.model', + 'Model', + compute="_compute_model_id", + store=True) + + @api.multi + @api.depends("model") + def _compute_model_id(self): + """Get a related model from its name, for better UI.""" + for s in self: + s.model_id = self.env["ir.model"].search([("model", "=", s.model)]) class CustomInfoTemplate(models.Model): + """Defines custom properties expected for a given database object.""" + _description = "Custom information template" _name = "custom.info.template" - _description = "Template of properties" + _inherit = "custom.info.model_link" + _sql_constraints = [ + ("name_model", + "UNIQUE (name, model)", + "Another template with that name exists for that model."), + ] - name = fields.Char() - model_id = fields.Many2one(comodel_name='ir.model', string='Data Model') + name = fields.Char(required=True, translate=True) info_ids = fields.One2many( - comodel_name='custom.info.template.line', - inverse_name='template_id', - string='Properties') + 'custom.info.property', + 'template_id', + 'Properties') -class CustomInfoTemplateLine(models.Model): - _name = "custom.info.template.line" - _description = "Properties" +class CustomInfoProperty(models.Model): + """Name of the custom information property.""" + _description = "Custom information property" + _name = "custom.info.property" + _sql_constraints = [ + ("name_template", + "UNIQUE (name, template_id)", + "Another property with that name exists for that template."), + ] - name = fields.Char() + name = fields.Char(translate=True) template_id = fields.Many2one( comodel_name='custom.info.template', string='Template') info_value_ids = fields.One2many( comodel_name="custom.info.value", - inverse_name="custom_info_name_id", + inverse_name="property_id", string="Property Values") class CustomInfoValue(models.Model): + _description = "Custom information value" _name = "custom.info.value" - _description = "Values of properties" + _inherit = "custom.info.model_link" _rec_name = 'value' + _sql_constraints = [ + ("property_model_res", + "UNIQUE (property_id, model, res_id)", + "Another property with that name exists for that resource."), + ] - model = fields.Char(index=True, required=True) - res_id = fields.Integer(index=True, required=True) - custom_info_name_id = fields.Many2one( - comodel_name='custom.info.template.line', + res_id = fields.Integer("Resource ID", index=True, required=True) + property_id = fields.Many2one( + comodel_name='custom.info.property', required=True, - string='Property Name') - name = fields.Char(related='custom_info_name_id.name') - value = fields.Char() + string='Property') + name = fields.Char(related='property_id.name') + value = fields.Char(translate=True) class CustomInfo(models.AbstractModel): + _description = "Inheritable abstract model to add custom info in any model" _name = "custom.info" - _description = "Abstract model from inherit to add info in any model" custom_info_template_id = fields.Many2one( comodel_name='custom.info.template', - string='Property Template') + string='Custom Information Template') custom_info_ids = fields.One2many( comodel_name='custom.info.value', inverse_name='res_id', - domain=lambda self: [('model', '=', self._name)], + domain=lambda self: [("model", "=", self._name)], auto_join=True, string='Custom Properties') + @api.multi @api.onchange('custom_info_template_id') def _onchange_custom_info_template_id(self): if not self.custom_info_template_id: self.custom_info_ids = False else: - info_list = self.custom_info_ids.mapped('custom_info_name_id') + info_list = self.custom_info_ids.mapped('property_id') for info_name in self.custom_info_template_id.info_ids: if info_name not in info_list: self.custom_info_ids |= self.custom_info_ids.new({ 'model': self._name, - 'custom_info_name_id': info_name.id, + 'property_id': info_name.id, + "res_id": self.id, }) @api.multi diff --git a/base_custom_info/security/ir.model.access.csv b/base_custom_info/security/ir.model.access.csv index 388445929..d285e7021 100644 --- a/base_custom_info/security/ir.model.access.csv +++ b/base_custom_info/security/ir.model.access.csv @@ -1,7 +1,7 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_custom_info_template_user,custom.info.template.user,model_custom_info_template,base.group_user,1,0,0,0 -access_custom_info_template_line_user,custom.info.template.line.user,model_custom_info_template_line,base.group_user,1,0,0,0 -access_custom_info_value_user,custom.info.value.user,model_custom_info_value,base.group_user,1,0,0,0 -access_custom_info_template_sale_manager,custom.info.template.salemanager,model_custom_info_template,base.group_sale_manager,1,1,1,1 -access_custom_info_template_line_sale_manager,custom.info.template.line.salemanager,model_custom_info_template_line,base.group_sale_manager,1,1,1,1 -access_custom_info_value_sale_manager,custom.info.value.salemanager,model_custom_info_value,base.group_sale_manager,1,1,1,1 +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"access_custom_info_template_user","custom.info.template.user","model_custom_info_template","base.group_user",1,0,0,0 +"access_custom_info_property_user","custom.info.template.line.user","model_custom_info_property","base.group_user",1,0,0,0 +"access_custom_info_value_user","custom.info.value.user","model_custom_info_value","base.group_user",1,0,0,0 +"access_custom_info_template_sale_manager","custom.info.template.salemanager","model_custom_info_template","base.group_system",1,1,1,1 +"access_custom_info_property_sale_manager","custom.info.template.line.salemanager","model_custom_info_property","base.group_system",1,1,1,1 +"access_custom_info_value_sale_manager","custom.info.value.salemanager","model_custom_info_value","base.group_system",1,1,1,1 diff --git a/base_custom_info/views/custom_info_template_line_view.xml b/base_custom_info/views/custom_info_property_view.xml similarity index 73% rename from base_custom_info/views/custom_info_template_line_view.xml rename to base_custom_info/views/custom_info_property_view.xml index d682499fe..81fcf0bc5 100644 --- a/base_custom_info/views/custom_info_template_line_view.xml +++ b/base_custom_info/views/custom_info_property_view.xml @@ -3,8 +3,8 @@ - base.custom.info.template.line.tree - custom.info.template.line + base.custom.info.property.tree + custom.info.property @@ -14,10 +14,10 @@ - base.custom.info.template.line.form - custom.info.template.line + base.custom.info.property.form + custom.info.property -
+ @@ -34,7 +34,7 @@ Properties ir.actions.act_window - custom.info.template.line + custom.info.property tree,form form diff --git a/base_custom_info/views/custom_info_template_view.xml b/base_custom_info/views/custom_info_template_view.xml index 60f4e8e40..ef81b7008 100644 --- a/base_custom_info/views/custom_info_template_view.xml +++ b/base_custom_info/views/custom_info_template_view.xml @@ -8,6 +8,7 @@ + @@ -22,6 +23,7 @@ + @@ -48,7 +50,7 @@

Click to define a new custom info template.

- You must define a custom info template for every different + You must define a custom info template for each product properties group.

diff --git a/base_custom_info/views/custom_info_value_view.xml b/base_custom_info/views/custom_info_value_view.xml index 5a08a9c5d..2c3c6f8a3 100644 --- a/base_custom_info/views/custom_info_value_view.xml +++ b/base_custom_info/views/custom_info_value_view.xml @@ -6,10 +6,10 @@ base.custom.info.value.tree custom.info.value - - + + - + diff --git a/base_custom_info/views/menu.xml b/base_custom_info/views/menu.xml index d23ef5fc8..5cb61a2f3 100644 --- a/base_custom_info/views/menu.xml +++ b/base_custom_info/views/menu.xml @@ -7,15 +7,18 @@ parent="base.menu_administration" sequence="45"/> - - -