Skip to content

[18.0][FIX] contract: recurring_next_date : update lines when changed on contract#1407

Closed
jbaudoux wants to merge 1 commit intoOCA:18.0from
jbaudoux:18-fix-contract-recurring_next_date-inverse
Closed

[18.0][FIX] contract: recurring_next_date : update lines when changed on contract#1407
jbaudoux wants to merge 1 commit intoOCA:18.0from
jbaudoux:18-fix-contract-recurring_next_date-inverse

Conversation

@jbaudoux
Copy link
Copy Markdown
Contributor

Issue

The recurring next date is editable on the contract but changing it has no impact.
The invoicing is based on the lines recurring next date which is not updated. At invoicing, a new recurring next date is recomputed based on the lines and the contract recurring next date is recomputed. So the new date is not taken into account and is lost.

Fix

Update lines recurring next date when the contract recurring next date is modified

cc @sbejaoui @florian-dacosta @pedrobaeza @etobella

Update lines recurring next date when the contract recurring next date is modified
@jbaudoux
Copy link
Copy Markdown
Contributor Author

As that date has an impact on the next period end date, it make sense the date is not updated on the lines. Otherwise the period is not respected anymore. I assume the next invoice date can be changed at contract level just to set the generated invoice date

@jbaudoux jbaudoux closed this Mar 17, 2026
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.

1 participant