Analytic rule engine

(Cédric Krier) #1


Some accounting moves are created automatically or with a document that does not have the analytic selections. For such moves the accountant has to create manually the analytic lines. This can be painful when there are a lot of moves and when those moves are kind of recurring.


We propose to add a mechanism based on MatchMixin design pattern that will be triggered when a move is posted and if the move does not have any analytic lines defined.
The default criteria will be:

  • account
  • journal
  • party


(Cédric Krier) #2

I’m not sure if this should be in the standard analytic_account or if a specific module analytic_account_rule should be created?

(Cédric Krier) #3

Indeed the implementation requires very few code, so it will not bloat the analytic_account to have them.

(Cédric Krier) #4