El 30/01/18 a les 14:02, Christophe Crier ha escrit:
> Hi,
>
>
>
> How to stop only one line of a subscription with several?
>
> 10. Now i want to stop the Hosting service 2 at 01/14/2018 but not the
> others.
> 11. I put the running subscription to 'Draft'
> 12. I try to put the date end to the second line ...
> * to make that, I need to add date end to the subscription. Why if
> i dont know this info ?
> * but ok, I put a date at the end of the subscription, and I can
> put an end date on my second line but not the real end date
> (01/14/2018), the date after the end date.
You can not stop the consumption on 01/14/2018 because this included on
the previous consumption, so you should end it at least at 01/15/2018.
> 13. and now I run the wizard 'Create Line Consumation' for the date
> 01/15/2018 and i have this error message 'The value of the field
> "End Date" on "Subscription Line" is not valid according to its domain'.
>
> Am I not the right procedure?
>
Indeed you found a bug:
https://bugs.tryton.org/issue7098
I attached a patch to resolves it. Will be great if you can confirm it
works for you.
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk