Skip to content
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

[18.0][MIG] mail_debrand: Migration to 18.0 #1479

Open
wants to merge 101 commits into
base: 18.0
Choose a base branch
from

Conversation

jdebetaz
Copy link

No description provided.

pedrobaeza and others added 30 commits October 16, 2024 14:53
There's no commits preservation, as the module doesn't serve as is on v9.
without this fix, any regular notification (added as follower,
thread notifications...) were not parsed at all and as a
consequence also not debranded.
Currently translated at 40.0% (2 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/pt/
Currently translated at 100.0% (5 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/sl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/
Currently translated at 20.0% (1 of 5 strings)

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/nl/
Currently translated at 100.0% (5 of 5 strings)

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/fr/
Currently translated at 100.0% (5 of 5 strings)

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/fr/
OCA-git-bot and others added 26 commits October 16, 2024 14:53
- FIX bug when split email message by `to_keep` parameter. When the html code is split, it is broken. As a result of this, when it use `fromstring`,
it try to fix this by closing tags.
Example about fixed functionality:

message:
`
<table>
   <tr>
      <td>
         {to_keep}
      </td>
   </tr>
</table>
`
Split messsage inside `remove_href_odoo` function:

part[0]

`
<table>
   <tr>
      <td>
`
--------
part[1]
`
      </td>
   </tr>
</table>
`
-----------------
Result when join by `to_keep`

`
<table>
<tr>
<td>
{to_keep}
</td>
</tr>
</table>
`
update function calls to use new internal names, use qweb_view engine to be able to specify the template via xmlid
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-16.0/social-16.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_debrand/
Currently translated at 100.0% (3 of 3 strings)

Translation: social-16.0/social-16.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_debrand/es/
…l templates

such as auth_signup's invitation email.
…ing was

when using mail.mail_notification_light as a wrapper
Currently translated at 100.0% (3 of 3 strings)

Translation: social-16.0/social-16.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_debrand/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-17.0/social-17.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_debrand/
Currently translated at 100.0% (3 of 3 strings)

Translation: social-17.0/social-17.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-17-0/social-17-0-mail_debrand/it/
@pedrobaeza
Copy link
Member

/ocabot migration mail_debrand

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 17, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 17, 2024
21 tasks
@pedrobaeza
Copy link
Member

What do you think about #1458 (comment) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.