Add warning when posting invoices on the future
We should make dificult to post an invoice in the future because once an invoice is posted in the future it blocks posting other invoices on the past using the same sequence.
This is like #9355 (closed) but for invoices
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Sergi Almacellas Abellana added accounting easy type::feature + 1 deleted label
added accounting easy type::feature + 1 deleted label
review332311002 updated at https://codereview.tryton.org/332311002/#ps343971002
- Review Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Adrià Tarroja Caubet assigned to @acaubet
assigned to @acaubet
- Adrià Tarroja Caubet added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review332311002 updated at https://codereview.tryton.org/332311002/#ps343961006
review332311002 updated at https://codereview.tryton.org/332311002/#ps317031002
review332311002 updated at https://codereview.tryton.org/332311002/#ps340551003
review332311002 updated at https://codereview.tryton.org/332311002/#ps348621002
IMHO this should be an error and not a warning.
Perhaps an alternative (used by some other packages) would be to issue the warning and indicate(and implement) that the invoice will not be posted to the General Ledger until the date has arrived.
It is extremely dangerous (juridically speaking) to have GL dates in the future - e.g. in case of fiscal audits, one I doubt no serious company (nor accountant) would be willing to test.
review332311002 updated at https://codereview.tryton.org/332311002/#ps358311002
review332311002 updated at https://codereview.tryton.org/332311002/#ps355321002
review332311002 updated at https://codereview.tryton.org/332311002/#ps348851002
review332311002 updated at https://codereview.tryton.org/332311002/#ps362471058
review332311002 updated at https://codereview.tryton.org/332311002/#ps371811002
New changeset ac23c07d6bc0 by Adrià Tarroja Caubet in branch 'default':
Add warning to prevent posting invoices in the future
https://hg.tryton.org/modules/account_invoice/rev/ac23c07d6bc0- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed
New changeset 8390d9616cac by Cédric Krier in branch 'default':
Add warning to prevent posting invoices in the future
https://hg.tryton.org/tryton-env/rev/8390d9616cac- Raimon Esteve mentioned in issue #10759 (closed)
mentioned in issue #10759 (closed)
- Cédric Krier mentioned in issue #12951
mentioned in issue #12951