Skip to content

[19.0][ADD] subscription_oca_sms#1455

Open
alvaro-domatix wants to merge 1 commit into
OCA:19.0from
alvaro-domatix:19.0-add-subscription_oca_sms
Open

[19.0][ADD] subscription_oca_sms#1455
alvaro-domatix wants to merge 1 commit into
OCA:19.0from
alvaro-domatix:19.0-add-subscription_oca_sms

Conversation

@alvaro-domatix

Copy link
Copy Markdown

New bridge module between subscription_oca and the sms addon.

It ships two SMS templates (payment reminder and payment failure) and two buttons on the subscription form so a salesman can send them to the customer in one click. Sending goes through the standard sms.composer, and the buttons only show when the partner has a phone number that can be formatted.

Shipped as a separate addon to keep the sms dependency out of the core module.

@OCA-git-bot OCA-git-bot added series:19.0 mod:subscription_oca_sms Module subscription_oca_sms labels Jun 9, 2026
@alvaro-domatix alvaro-domatix force-pushed the 19.0-add-subscription_oca_sms branch 2 times, most recently from 27c92ea to 1d253b2 Compare June 9, 2026 19:11
New bridge module between `subscription_oca` and the community `sms`
addon. Ships two ready-to-use SMS templates (payment reminder,
payment failure) and two corresponding actions on the subscription
form so a salesman can fire an SMS notification to the customer in
one click.

* Two `sms.template` records loaded as data, both targeting
  `sale.subscription` and rendered with the partner's name and the
  subscription's next invoice date.
* `_send_sms_template(xmlid)` resolves the template, refuses to send
  if the partner has no phone number, then drives an `sms.composer`
  in comment mode via its public `action_send_sms()`.
* Form view: two header buttons reusing `_send_sms_template` under
  the hood.

Lives in its own addon directory because `sms` is LGPL-3 and not
acceptable in the core module dependencies (§0.3 of the project
guidelines).
@alvaro-domatix alvaro-domatix force-pushed the 19.0-add-subscription_oca_sms branch from 1d253b2 to 5b0ed1c Compare June 9, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:subscription_oca_sms Module subscription_oca_sms series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants