Mirror of tryton analytic_purchase module