summaryrefslogtreecommitdiff
path: root/addons/gamification/data/cron.xml
AgeCommit message (Collapse)Author
2019-11-05[IMP] gamification: track karma change on usersPatrick Hoste
PURPOSE Allow karma gain tracking enabling notably display of top users based on weekly / monthly gain in website profile. SPECIFCIATIONS Each time a user gains karma a record is created in the gamification karma tracking model. Scheduled activity runs to consolidate the records into monthly gain records to avoid having crowdy table and unnecessary noise in karma gain. This model is made private and only accessible through some dedicated compute methods / controllers used in website profile. In website profile module buttons are added to see users ranking based on their total karma (like before) but also by last week and last month gains (using the newly introduced tracking model). LINKS Task ID 2003505 PR #34594
2017-01-03[REF] ir_cron: make scheduled actions inherits from server actionsThibault Delavallée
The purpose of this commit is to handle code execution only in server action and delegate schedule management to ir_cron model. ir.cron model now inherits from ir.actions.server. Fields model, function and args are removed as well as the logic to handle them. There is no more code manipulation and evaluation in ir_cron, only a call to the run method of ir.actions.server. Cron form view use server action form view as primary view. This way automated actions use the same base form as server actions with cron details added. Thanks to @fpodoo for the original idea and preliminary work. Thanks to @jpr-odoo for first developments. Thanks to @jem-odoo for reviewing.
2016-08-05[MIG] gamification: Migrate to new APIXavier Morel
Includes compatibility-change to website_forum: a selection(callable) converted to a Selection(list) since that can easily be extended in the new API.
2014-04-18[FIX] gamification: set data in noupdate blocks to allow the user to ↵Martin Trigaux
customise it without loosing changes after update bzr revid: mat@openerp.com-20140418120846-h8yo4ljult88f1h3
2013-12-17[REF] gamification: pretty much changing half of the code to make tde happy...Martin Trigaux
bzr revid: mat@openerp.com-20131217161541-oxsgy7gmko2x6qui