Hi,
We have a use case that the current version of the contract module can't handle.
For a contract line that starts at 07/11 in a pre-paid mode, the user would like to invoice his customer the first of each month except for the first period that it will be at the 07/11.
To resolve this use case, I propose to add a new field that will be shown to the user only if the last date invoiced is not set (a contract line that was never invoiced)
This field will ask the user about the end date of the first invoicing period and will be automatically set to : date_start + the invoicing period - 1.
Let see what this gives with our use-case:
- start date: 07/11
- pre-paid
- montly
- next invoicing date: 07/11
- last date invoiced: None
- first period invoice to date
- Visible to user
- set to 06/12
1- If the user don't change the first period invoice to date and create the first invoice --> nothing changes comparing to the current version.
2- If the the user set the first period invoice to date to 30/11 and create the first invoice:
- last date invoiced: 30/11
- invoice created for the period 07/11 to 30/11
- next invoicing date: 01/12
- first period invoice to date
What do you think about this change?
cc/ @gva-acsone, @sbidoul , @pedrobaeza
Hi,
We have a use case that the current version of the contract module can't handle.
For a contract line that starts at 07/11 in a pre-paid mode, the user would like to invoice his customer the first of each month except for the first period that it will be at the 07/11.
To resolve this use case, I propose to add a new field that will be shown to the user only if the last date invoiced is not set (a contract line that was never invoiced)
This field will ask the user about the end date of the first invoicing period and will be automatically set to :
date_start + the invoicing period - 1.Let see what this gives with our use-case:
1- If the user don't change the first period invoice to date and create the first invoice --> nothing changes comparing to the current version.
2- If the the user set the first period invoice to date to 30/11 and create the first invoice:
What do you think about this change?
cc/ @gva-acsone, @sbidoul , @pedrobaeza