Skip to content

Syncing from upstream OCA/account-payment (19.0)#603

Merged
bt-admin merged 23 commits into
brain-tec:19.0from
OCA:19.0
May 29, 2026
Merged

Syncing from upstream OCA/account-payment (19.0)#603
bt-admin merged 23 commits into
brain-tec:19.0from
OCA:19.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

yajo and others added 23 commits May 26, 2026 12:59
This module lets you notify partners about sent payment or debit orders.

You can do that by e-mail and/or by SMS. It is automated by default.

@moduon MT-1232
Before this patch, generated emails didn't produce notification records. Thus, the message didn't display sent status.

Instead of mass mailing, we use now the mass post system. This way, notifications appear as usual.

Some tests added to ensure this behavior persists.

@moduon MT-1232
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-payment-16.0/account-payment-16.0-account_payment_notification
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_notification/
Currently translated at 100.0% (31 of 31 strings)

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

Translation: account-payment-16.0/account-payment-16.0-account_payment_notification
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_notification/
Currently translated at 100.0% (31 of 31 strings)

Translation: account-payment-16.0/account-payment-16.0-account_payment_notification
Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_notification/it/
Behavior changes:
- Now, notifications are put in outgoing queues only if done massively. This is the standard behavior in v18.
- README is clarified in some sections.

Test changes and improvements:
- Now they are executed with lower permissions.
- We make sure the company is consistent accross the whole test.
- SMS bodies are now compared using HTML assertions.
- Messages no longer have a `description` field.

@moduon MT-10470
Signed-off-by rafaelbn
@bt-admin bt-admin added the 19.0 label May 29, 2026
@bt-admin bt-admin merged commit 21b496e into brain-tec:19.0 May 29, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.66%. Comparing base (8a69af1) to head (f0e6890).
⚠️ Report is 28 commits behind head on 19.0.

Additional details and impacted files
@@            Coverage Diff             @@
##             19.0     #603      +/-   ##
==========================================
+ Coverage   90.89%   92.66%   +1.76%     
==========================================
  Files          33       40       +7     
  Lines         747      927     +180     
  Branches       76       91      +15     
==========================================
+ Hits          679      859     +180     
  Misses         43       43              
  Partials       25       25              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants