vertelab / odoo-af

2 stars 5 forks source link

AFC-2185_Logging of sent messages #554

Closed fredrikarvas-vertel closed 3 years ago

fredrikarvas-vertel commented 3 years ago

Userstory: As a user I wanted to see the logs information like the mail sent to the recipient,information of the sender who sent the newsletter(mail). With standard odoo module we can see the email sender info in the options tab as shown in the figure which can be editable. image Here we want to see all the above information in the chatter as we see on the standard contact card in odoo. image

The chatter log must show the sender information(who logged in and sent the mail)

Module name: (added by Nils or Fredrik) odoo-mail/mail_massmailing_sender_logs

Development Branch name: Dev-12.0-CRM-AFC-2185-Email_marketing_sender_logs

Target Branch name: https://github.com/vertelab/odoo-xxx/tree/...

Test-steps: Install the module... Login as a user On the chatter, verify whether logged in user who sent the mail matches with the sender info in the log (once the mail is sent)

Estimate: (@developers: Add your times here, not in comments please) Estimated Hours: Estimated Date: Actual Hours: 1 Hour and 40 mins 20 mins - Created PR for latest changes to remove Odoobot logs.

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

You want only logger like this chatter

or want to add some information in log when email sent? If want to add some information then which information because there is already smart button after emails sent which shows list of email sent?

Radhika435 commented 3 years ago

@rupareliyahemangi145 please check the user story above. we can discuss this in the meeting tomorrow if you any questions.

rupareliyahemangi145 commented 3 years ago

Ok @Radhika435 Thanks

fredrikarvas-vertel commented 3 years ago

Please add logging on the "State"-field with which res_user

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas and @Radhika435

I've create PR https://github.com/vertelab/odoo-mail/pull/52 for this issue. Here is video for result: https://www.loom.com/share/f92528ee682149458ac74992d8b6d4f3

Please check it and let me know if anything.

Thanks.

Regards, Hemangi.

fredrikarvas-vertel commented 3 years ago

Thanks @rupareliyahemangi145 Could you skip the changes generated by Odoobot /Fredrik

rupareliyahemangi145 commented 3 years ago

@FredrikArvas

This one or Status one? Mailing - Test scheduled by Marc Demo From "Marc Demo" mark.brown23@example.com

Can you please mark which one from following screenshot?

log_1

log_2

fredrikarvas-vertel commented 3 years ago

These please Created Draft -> In Queue

image

rupareliyahemangi145 commented 3 years ago

Ok @FredrikArvas Thanks

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

Can you please check? is this ok?

  1. https://www.loom.com/share/c8be80df6dfe4e039b8e149b8ddebbd3
  2. https://www.loom.com/share/5f205c4db85b45ebaa3ac8f3cf2ebe2f
fredrikarvas-vertel commented 3 years ago

Yes - this looks good. Please make a PR

rupareliyahemangi145 commented 3 years ago

Hello @FredrikArvas

Created PR https://github.com/vertelab/odoo-mail/pull/53 for latest changes(Removed Odoobot logs). Please check it and let me know if anything.

Thanks.

Regards, Hemangi.