Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

all rules, if active will have to register to the signal sent by “getRuleDetails”

active_for_object(cls, instance, context, type = ‘account_receivable', sub_type = 'contribution’)

this method will contains the checks if the calculation need to be executed for the object on that context. the default context will be:

...