[FIX] base_gengo, pad, pos_cache: add missing _description on some models

closes odoo/odoo#30412
This commit is contained in:
mreficent
2019-01-22 11:16:33 +00:00
parent e5486c12bc
commit 23e0d2cc17
6 changed files with 32 additions and 29 deletions
+12 -12
View File
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~11.5\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-02 10:05+0000\n"
"PO-Revision-Date: 2018-10-02 10:05+0000\n"
"POT-Creation-Date: 2019-01-22 11:11+0000\n"
"PO-Revision-Date: 2019-01-22 11:11+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -51,6 +51,11 @@ msgstr ""
msgid "Auto Approve Translation ?"
msgstr ""
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_base_gengo_translations
msgid "Base Gengo Translations"
msgstr ""
#. module: base_gengo
#: selection:base.gengo.translations,sync_type:0
msgid "Both"
@@ -151,13 +156,13 @@ msgid "Gengo Translation Service Level"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:84
#: code:addons/base_gengo/wizard/base_gengo_translations.py:85
#, python-format
msgid "Gengo `Public Key` or `Private Key` are missing. Enter your Gengo authentication parameters under `Settings > Companies > Gengo Parameters`."
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:95
#: code:addons/base_gengo/wizard/base_gengo_translations.py:96
#, python-format
msgid "Gengo connection failed with this message:\n"
"``%s``"
@@ -267,7 +272,7 @@ msgid "Sync Type"
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:114
#: code:addons/base_gengo/wizard/base_gengo_translations.py:115
#, python-format
msgid "The number of terms to sync should be between 1 to 200 to work with Gengo translation services."
msgstr ""
@@ -284,7 +289,7 @@ msgid "This comment will be automatically be enclosed in each an every request s
msgstr ""
#. module: base_gengo
#: code:addons/base_gengo/wizard/base_gengo_translations.py:109
#: code:addons/base_gengo/wizard/base_gengo_translations.py:110
#, python-format
msgid "This language is not supported by the Gengo translation services."
msgstr ""
@@ -314,8 +319,3 @@ msgstr ""
msgid "You can select here the service level you want for an automatic translation using Gengo."
msgstr ""
#. module: base_gengo
#: model:ir.model,name:base_gengo.model_base_gengo_translations
msgid "base.gengo.translations"
msgstr ""
@@ -24,6 +24,7 @@ class BaseGengoTranslations(models.TransientModel):
GROUPS = ['base.group_system']
_name = 'base.gengo.translations'
_description = 'Base Gengo Translations'
@api.model
def default_get(self, fields):
+9 -9
View File
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~11.5\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-21 13:17+0000\n"
"PO-Revision-Date: 2018-09-21 13:17+0000\n"
"POT-Creation-Date: 2019-01-22 11:12+0000\n"
"PO-Revision-Date: 2019-01-22 11:12+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -74,6 +74,11 @@ msgstr ""
msgid "Pad Api Key *"
msgstr ""
#. module: pad
#: model:ir.model,name:pad.model_pad_common
msgid "Pad Common"
msgstr ""
#. module: pad
#: model:ir.model.fields,field_description:pad.field_res_company__pad_server
msgid "Pad Server"
@@ -85,7 +90,7 @@ msgid "Pad Server *"
msgstr ""
#. module: pad
#: code:addons/pad/models/pad.py:57
#: code:addons/pad/models/pad.py:58
#, python-format
msgid "Pad creation failed, either there is a problem with your pad server URL or with your connection."
msgstr ""
@@ -128,8 +133,3 @@ msgstr ""
msgid "e.g. beta.primarypad.com"
msgstr ""
#. module: pad
#: model:ir.model,name:pad.model_pad_common
msgid "pad.common"
msgstr ""
+1
View File
@@ -18,6 +18,7 @@ _logger = logging.getLogger(__name__)
class PadCommon(models.AbstractModel):
_name = 'pad.common'
_description = 'Pad Common'
@api.model
def pad_is_configured(self):
+8 -8
View File
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~11.5\n"
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-21 13:17+0000\n"
"PO-Revision-Date: 2018-09-21 13:17+0000\n"
"POT-Creation-Date: 2019-01-22 11:13+0000\n"
"PO-Revision-Date: 2019-01-22 11:13+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -90,6 +90,11 @@ msgstr ""
msgid "PoS: refresh cache"
msgstr ""
#. module: pos_cache
#: model:ir.model,name:pos_cache.model_pos_cache
msgid "Point of Sale Cache"
msgstr ""
#. module: pos_cache
#: model:ir.model,name:pos_cache.model_pos_config
msgid "Point of Sale Configuration"
@@ -105,8 +110,3 @@ msgstr ""
msgid "Product Fields"
msgstr ""
#. module: pos_cache
#: model:ir.model,name:pos_cache.model_pos_cache
msgid "pos.cache"
msgstr ""
+1
View File
@@ -9,6 +9,7 @@ from odoo import models, fields, api
class pos_cache(models.Model):
_name = 'pos.cache'
_description = 'Point of Sale Cache'
cache = fields.Binary(attachment=True)
product_domain = fields.Text(required=True)