[FIX] mail: field labels of mail.link.preview model
closes odoo/odoo#104638 X-original-commit: c61e8caebb8d2f03bb45db4e72e339859040dac9 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
+23
-35
@@ -2257,6 +2257,7 @@ msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_channel__description
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_description
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_message_subtype__description
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_shortcode__description
|
||||
#: model_terms:ir.ui.view,arch_db:mail.view_mail_message_subtype_form
|
||||
@@ -3617,6 +3618,7 @@ msgstr ""
|
||||
#: code:addons/mail/static/src/components/attachment_viewer/attachment_viewer.xml:0
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_channel__image_128
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_guest__image_1920
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_image
|
||||
#, python-format
|
||||
msgid "Image"
|
||||
msgstr ""
|
||||
@@ -3641,6 +3643,11 @@ msgstr ""
|
||||
msgid "Image 512"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__image_mimetype
|
||||
msgid "Image MIME type"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model_terms:ir.ui.view,arch_db:mail.view_document_file_kanban
|
||||
msgid "Image is a link"
|
||||
@@ -4270,6 +4277,11 @@ msgstr ""
|
||||
msgid "Login Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_mimetype
|
||||
msgid "MIME type"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#. openerp-web
|
||||
#: code:addons/mail/static/src/components/mail_template/mail_template.xml:0
|
||||
@@ -7483,6 +7495,11 @@ msgstr ""
|
||||
msgid "Timezone"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_title
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_mail__email_to
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_template_preview__email_to
|
||||
@@ -7664,6 +7681,7 @@ msgstr ""
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_compose_message__message_type
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_ice_server__server_type
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_type
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_mail__message_type
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_message__message_type
|
||||
#: model_terms:ir.ui.view,arch_db:mail.mail_activity_type_view_tree
|
||||
@@ -7709,6 +7727,11 @@ msgstr ""
|
||||
msgid "URI"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__source_url
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_channel__uuid
|
||||
msgid "UUID"
|
||||
@@ -8529,11 +8552,6 @@ msgstr ""
|
||||
msgid "deaf"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_description
|
||||
msgid "description"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#. openerp-web
|
||||
#: code:addons/mail/models/mail_thread.py:0
|
||||
@@ -8642,16 +8660,6 @@ msgstr ""
|
||||
msgid "has just assigned you the following activity:"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_image
|
||||
msgid "image"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__image_mimetype
|
||||
msgid "image_mimetype"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: code:addons/mail/models/models.py:0
|
||||
#, python-format
|
||||
@@ -8701,11 +8709,6 @@ msgstr ""
|
||||
msgid "message_post partner_ids and must be integer list, not commands."
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_mimetype
|
||||
msgid "mimetype"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: code:addons/mail/models/mail_thread.py:0
|
||||
#, python-format
|
||||
@@ -8839,11 +8842,6 @@ msgstr ""
|
||||
msgid "this document"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_title
|
||||
msgid "title"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#. openerp-web
|
||||
#: code:addons/mail/static/src/components/call_settings_menu/call_settings_menu.xml:0
|
||||
@@ -8858,11 +8856,6 @@ msgstr ""
|
||||
msgid "turn:"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__og_type
|
||||
msgid "type"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: code:addons/mail/models/mail_thread.py:0
|
||||
#, python-format
|
||||
@@ -8875,11 +8868,6 @@ msgstr ""
|
||||
msgid "unknown target model %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#: model:ir.model.fields,field_description:mail.field_mail_link_preview__source_url
|
||||
msgid "url"
|
||||
msgstr ""
|
||||
|
||||
#. module: mail
|
||||
#. openerp-web
|
||||
#: code:addons/mail/static/src/webclient/commands/mail_providers.js:0
|
||||
|
||||
@@ -15,13 +15,13 @@ class LinkPreview(models.Model):
|
||||
_description = "Store link preview data"
|
||||
|
||||
message_id = fields.Many2one('mail.message', string='Message', index=True, ondelete='cascade', required=True)
|
||||
source_url = fields.Char('url', required=True)
|
||||
og_type = fields.Char('type')
|
||||
og_title = fields.Char('title')
|
||||
og_image = fields.Char('image')
|
||||
og_description = fields.Text('description')
|
||||
og_mimetype = fields.Char('mimetype')
|
||||
image_mimetype = fields.Char('image_mimetype')
|
||||
source_url = fields.Char('URL', required=True)
|
||||
og_type = fields.Char('Type')
|
||||
og_title = fields.Char('Title')
|
||||
og_image = fields.Char('Image')
|
||||
og_description = fields.Text('Description')
|
||||
og_mimetype = fields.Char('MIME type')
|
||||
image_mimetype = fields.Char('Image MIME type')
|
||||
create_date = fields.Datetime(index=True)
|
||||
|
||||
@api.model
|
||||
|
||||
Reference in New Issue
Block a user