Issue 10392

Restrict Income Statement dates to the one in the fiscalyear
Nosy list
Davidoff, pokoli, reviewbot, risto3
Assigned to
easy, review

Created on 2021-05-05.18:51:58 by risto3, last changed 7 months ago by reviewbot.


Author: [hidden] (risto3)
Date: 2021-06-27.07:33:20

Thanks for working on this, but I see in the result of this patch similar difficulties I encountered when attempting a solution with the domain... namely, it seems to render the {from,to}_date fields effectively mandatory such that if they are blank,
they are outlined in red and a query returns no results.
Also, when click on <open the calendar> in order to select a date, the date is always by default today() instead of being in the range of the fiscal_year or period.

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-05-06.07:25:01

A domain should be added two both fields which prevent setting a date not between the fisclyear start date and the fiscalyear end date.

We welcome a patch to improve it.

Author: [hidden] (risto3)
Date: 2021-05-05.18:51:57

When using the revenue report (Compte de R├ęsultat), one can only select a period that is in the fiscal year, but if the date field is used, any date seems to be accepted... worse, in a report for 2020 if one enters, for example, "15/3" - completion will select "15/3/21" and not "15/3/20"...

This is not only counter-intuitive, but frustrating.
The dates fields should probably be preset to the first and last day in the fiscal year when sollicited.

Date User Action Args
2022-04-06 13:38:41reviewbotsetmessages: + msg75040
2022-04-06 13:10:13reviewbotsetmessages: + msg75031
2022-04-06 12:02:12reviewbotsetmessages: + msg75026
2021-10-01 12:08:21reviewbotsetmessages: + msg70539
2021-06-28 13:49:41reviewbotsetmessages: + msg68451
2021-06-28 10:00:57reviewbotsetmessages: + msg68448
2021-06-27 07:33:21risto3setmessages: + msg68438
2021-06-21 14:08:02reviewbotsetmessages: + msg68368
2021-06-21 13:30:28reviewbotsetmessages: + msg68365
2021-06-21 13:06:18reviewbotsetmessages: + msg68364
nosy: + reviewbot

Showing 10 items. Show all history (warning: this could be VERY long)