Module
subscription_oca
#1393
Describe the bug
When creating a subscription with a start date later in the month, the generated “Next Invoice Date” is still set to the current date (yesturday) instead of respecting the configured subscription start date.
For example, if the subscription start date is configured for a future day within the same month, the subscription list view still shows the invoice scheduled yesturday.
This creates confusion and may generate invoices earlier than expected.
To Reproduce
Affected versions:
Steps to reproduce the behavior:
- Create a new subscription.
- Configure a subscription start date later in the current month.
- Save the subscription.
- Open the subscriptions list view.
- Observe the “Next Invoice Date”.
Expected behavior
The “Next Invoice Date” should match the configured subscription start date (or the first expected billing date), not the current date.
Additional context
Tested on:
Module
subscription_oca
#1393
Describe the bug
When creating a subscription with a start date later in the month, the generated “Next Invoice Date” is still set to the current date (yesturday) instead of respecting the configured subscription start date.
For example, if the subscription start date is configured for a future day within the same month, the subscription list view still shows the invoice scheduled yesturday.
This creates confusion and may generate invoices earlier than expected.
To Reproduce
Affected versions:
[19.0][MIG] subscription_oca: Migration to 19.0 #1393
Steps to reproduce the behavior:
Expected behavior
The “Next Invoice Date” should match the configured subscription start date (or the first expected billing date), not the current date.
Additional context
Tested on: