Tryton - Issues

 

Issue5900

Title Allow to find move line missing analytic lines
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components analytic_account
Assigned To ced Keywords review
Reviews 25661002
View: 25661002

Created on 2016-09-22.18:21:16 by ced, last changed by roundup-bot.

Messages
New changeset 25499b68cef7 by C?dric Krier in branch 'default':
Add analytic state on move line
http://hg.tryton.org/modules/analytic_account/rev/25499b68cef7
review25661002 updated at https://codereview.tryton.org/25661002/#ps40001
review25661002 updated at https://codereview.tryton.org/25661002/#ps20001
review25661002 updated at https://codereview.tryton.org/25661002/#ps1
msg28942 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-09-22.18:21:15
Analytic/cost accounting has meaning only if all lines from income (P&L) have a correct repartition on all analytic axes.
This can not be enforced at the creation because the accountant (or the Model) could not know at this time the analytic repartition.
So the idea is to define a state on move line which will be updated each time the linked analytic lines are modified.
And to also add a view which shows all the posted lines that are not valid and allow user to correct the analytic lines.
This make the 'mandatory' field change a little bit of meaning because it is about making the account mandatory earlier when entering document.

About the evolution over time, if an axes is inactivated, this should not be a problem as previous line will still be valid and new line will only requires active axes. If an axes is added, I think it should only invalidate lines that are modified after the creation. This will not guarantee 100% of correctness at the beginning of the activation but it will stabilize over time.
History
Date User Action Args
2016-09-28 14:45:04roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg29066
2016-09-28 00:31:28reviewbotsetmessages: + msg29052
2016-09-26 09:29:01reviewbotsetmessages: + msg28997
2016-09-22 18:59:18reviewbotsetnosy: + reviewbot
messages: + msg28943
2016-09-22 18:24:25cedsetstatus: in-progress -> testing
reviews: 25661002
keyword: + review
2016-09-22 18:21:16cedcreate

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