New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PORT] 9.0-mail_move_message #36

Merged
merged 33 commits into from Jun 16, 2016

Conversation

Projects
None yet
2 participants
@x620
Copy link

x620 commented May 30, 2016

No description provided.

x620 added some commits May 30, 2016

x620
[PORT] Parameter of message "to_read" replaced to "needaction" in mai…
…l_move_message_models.py

[PORT] Updated mail_move_message.js for 9.0 compatible
@@ -3,11 +3,11 @@
'version' : '1.0.4',
'author' : 'IT-Projects LLC, Ivan Yelizariev',
'license': 'LGPL-3',
'category' : 'Social Network',
'category' : 'Discuss',

This comment has been minimized.

@yelizariev

x620 added some commits Jun 1, 2016

x620
[PORT] Updated qweb xml file and added button for move message (outda…
…ted and the working code is stored in the comments)
x620
x620
x620
[FIX] Clicks register in the Thread so add note to thread.event.
[FIX] And fix error when close move window: get message value and passed in the trigger.
x620
[PORT] if not model and res_id move to All messages channel and add m…
…ail_all depends to __openerp__.py

[FIX] override message_format for add "is_moved" value
x620
x620
x620
[FIX] update_message_current_on_current_channel() was wrongly placed …
…in MailTools class instead ChatAction class, that's why moved from MailTools to ChatAction
<!--</t>-->
<!--</t>-->
<!--</template>-->
<!-- Outdated code end -->

This comment has been minimized.

@yelizariev

yelizariev Jun 14, 2016

Member

delete obsolete code

x620 added some commits Jun 14, 2016

@@ -8,12 +8,14 @@
.o_mail_thread .o_thread_message span.recipients_info,
.o_mail_thread .o_thread_message i.o_thread_message_star,
.o_mail_thread .o_thread_message i.o_thread_message_reply,
.o_mail_thread .o_thread_message i.oe_move,
.o_mail_thread .o_thread_message i.o_thread_message_needaction {
opacity: 0.4;
}

This comment has been minimized.

@yelizariev

yelizariev Jun 15, 2016

Member
 .o_mail_thread .o_thread_message span{
opacity: 0.4;
}

This comment has been minimized.

@x620

x620 Jun 15, 2016

Просто span не работает. Работает i.fa

@yelizariev

This comment has been minimized.

Copy link
Member

yelizariev commented on mail_move_message/mail_move_message_models.py in 3821e12 Jun 15, 2016

use display_name instead

This comment has been minimized.

Copy link
Member

yelizariev replied Jun 15, 2016

    @api.model
    def _get_record_name(self, values):
        """ Return the related document name, using name_get. It is done using
            SUPERUSER_ID, to be sure to have the record name correctly stored. """
        model = values.get('model', self.env.context.get('default_model'))
        res_id = values.get('res_id', self.env.context.get('default_res_id'))
        if not model or not res_id or model not in self.pool:
            return False
        return self.env[model].sudo().browse(res_id).name_get()[0][1]
@yelizariev

This comment has been minimized.

Copy link
Member

yelizariev commented Jun 16, 2016

icon

@yelizariev yelizariev merged commit d565bea into it-projects-llc:9.0 Jun 16, 2016

1 check was pending

ci/runbot runbot build 02995-36-edf511
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment