From bc8f7a44d6e2c4153dbca9c06d3e5ecfea5a9855 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Tue, 2 Jan 2018 14:21:02 +0100 Subject: [FIX] mail,web: adapt email in m2m tags b92aaf1 Adapt commit b92aaf1 for framework changes in saas-16. That commit made Many2ManyTagsEmail widget display name_get gotten dynamically. This allow to have 'show_email' context key working and having the email displayed. This commit use the new views (as of saas-16) to do the same change. opw-801558 fixes #21812 fixes #21523 closes #21969 --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index d14c1f008fd..d07d3153303 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -760,7 +760,7 @@ - + -- cgit v1.2.3 From 255e8ca3d92e3a77d7c2a145677623518bc2f978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Ku=CC=88hn?= Date: Fri, 5 Jan 2018 15:00:57 +0100 Subject: [FIX] web: binary field format in list view Binary fields were simply shown simply by their textual representation in list views, e.g. the base64 string. There was no formatter for binary fields, therefore it has been implemented so that it displays its estimated size. Binary fields in list views had a download link in v10.0. We provide this feature back by means of a widget called 'download_link'. It is also possible to define an option to set the field name having the filename as its value. Example: with the following record: {fname: 'document.txt', datas: 'Cg=='}, we get a file named "document.txt" by clicking on the download link. Closes #21996 --- addons/web/static/src/xml/base.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 5df2c0ec3f7..8c69bb3439a 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -924,6 +924,9 @@ + + +
Date: Mon, 8 Jan 2018 14:51:11 +0100 Subject: [FIX] web: properly format translatable string 'Edit View' makes untranslatable content as it is split in 3 and the type is not translated. e.g. 'Editer FormVoir' --- addons/web/static/src/xml/base.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 8c69bb3439a..4d808a66f60 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -264,8 +264,19 @@
  • Fields View Get
  • -
  • Edit View
  • -
  • Edit SearchView
  • +
  • + + Edit Form view + Edit List view + Edit Kanban view + Edit Graph view + Edit Gantt view + Edit Pivot view + Edit Calendar view + Edit view, type: + +
  • +
  • Edit Search view
  • -- cgit v1.2.3