From 8303bef9ba219c6f4d2633062486b5c611a2a578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 6 Sep 2012 13:14:44 +0200 Subject: [IMP] Chatter: added support for attachments. bzr revid: tde@openerp.com-20120906111444-n7bsjv0f10p9c3x4 --- addons/mail/static/src/xml/mail.xml | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) (limited to 'addons/mail/static/src/xml/mail.xml') diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index f6be765c603..49e861ac870 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -73,6 +73,20 @@ + + + + + /web/binary/upload_attachment + + + + + + + +
    + +
  • +
    +
+
+ -- cgit v1.2.3 From 9b9bdae9e008e930eaf1cf208b90f66bdbdf4e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 6 Sep 2012 15:42:01 +0200 Subject: [IMP] composer: attachments are attached to the mail.compose.message record, not the related document anymore. This way, when deleting the mail.compose.message, attachments will be unlinked. Added deletion cascaded to res_model and res_id = 0, because of attachments added on a not-already-saved composer. BTW, cleaned mail/__openerp__.py. bzr revid: tde@openerp.com-20120906134201-8845xov0mjbxh8mr --- addons/mail/static/src/xml/mail.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/mail/static/src/xml/mail.xml') diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 49e861ac870..161c5e2fcbc 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -81,8 +81,8 @@ /web/binary/upload_attachment - - + + -- cgit v1.2.3 From 8aba3e02104ae4ba8551f3895182b457a64a0f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 11 Sep 2012 18:17:00 +0200 Subject: [IMP] Chatter: added option to delete attachments in composer. bzr revid: tde@openerp.com-20120911161700-ty7h844h6f0t7nea --- addons/mail/static/src/xml/mail.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'addons/mail/static/src/xml/mail.xml') diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 18204c05f5b..c3787f50122 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -169,7 +169,12 @@
    -
  • +
  • + + + x + +
-- cgit v1.2.3 From 309e2353c6ddbc1e60d9bd7aac7149a2c5f67b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 11 Sep 2012 18:24:15 +0200 Subject: [CLEAN] mail.js: some cleaning in Wall and RecordThread. bzr revid: tde@openerp.com-20120911162415-altimitaw1nz2r03 --- addons/mail/static/src/xml/mail.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/mail/static/src/xml/mail.xml') diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index c3787f50122..601270cc98f 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -39,8 +39,8 @@ wall_thread_container template for the wall Each discussion thread is contained inside this template --> - - +
  • +
  • -
  • Quote and reply
  • +
  • Quote and reply
  • Details
  • @@ -142,12 +142,12 @@
  • -
  • Reply
  • +
  • Reply
  • - + 1 Attachment Attachments -- cgit v1.2.3 From ab82f7a9acc6273bdba123083cbd1b0b77f7b6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 12 Sep 2012 11:21:43 +0200 Subject: [IMP] mail.js: fixed cleaning of composer after posting a comment; cleaned a bit js and css. bzr revid: tde@openerp.com-20120912092143-7bih2gmoa3tm1jyn --- addons/mail/static/src/xml/mail.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/mail/static/src/xml/mail.xml') diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index da1ba28b849..09da919a78d 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -132,10 +132,10 @@
    -
    + - -
    + +