contract
contract copied to clipboard
[14.0][FIX] contract/contract_sale_generation: Compute correctly the recurring next date after stop()
I think this is fixed in a simpler way in https://github.com/OCA/contract/pull/853
I think this is fixed in a simpler way in #853
That is certainly one piece.
But this is a particular case.
I think reverting part of the 14.0 changes and applying the fix will fix it. Please check #854 for that .
@CRogos @pedrobaeza this one runs in production for weeks. So, IMHO we can reasonably merge it
#854 is more suitable and align the versions. If anything non covered, please indicate and I'll fix it.
@rousseldenis this PR is a huge improvement in the behavior regarding the next invoice date. Thanks a lot!
I just found one little issue when creating a contract with "Recurrence at line level?" in the past (ending before today). Than the "Generate Recurring Invoices from Contract" Server Action is not creating a invoice. Using the "Create Invoice" button is working.

@victoralmau could you review this commit?