frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.85k stars 7.33k forks source link

Subscriptions not generated in v15 #39092

Open thejoe8495 opened 10 months ago

thejoe8495 commented 10 months ago

Information about bug

We updated from version v13 to v15 in December on the 1.1.24 it should be generate new invoices. But it don't generate the invoices. First Error was the database field generate_invoice_at has the value 'Beginning of the currency subscription period' after an update to 'Beginning of the current subscription period' it is ok. For some without Database access, choose it on the frontend and save.

But i cant find the error in the python file, the Invoice period is from 1.1.23 to 31.12.23. So the invoice need to generate.

Module

accounts

Version

erpnext 15.8.3 erpnext_datev 14.1.1 erpnext_shipping 0.0.1 erpnextfints 0.4.1 frappe 15.7.0 payments 0.0.1 pdf_on_submit 14.0.4 print_designer 1.0.0

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

I can't find any errormessage, i think one condition to generate new invoices is wrong.
thejoe8495 commented 5 months ago

I found the problem with the subscripton. The new subscriptions in v15 need to update start date and the end date over the database in the future. The new version don't do it itself. I think the updateprocess need to updated for the subscriptions