Commit Graph

391 Commits

Author SHA1 Message Date
Gery Debongnie 2e9ee9c76e [MERGE] merge from rma branch
bzr revid: ged@openerp.com-20140410145131-fj17mdpi13wa5a9m
2014-04-10 16:51:31 +02:00
Thibault Delavallée a8445aac37 [FIX] gamification: avoid discarding False or 0 given as result for
python computation.

bzr revid: tde@openerp.com-20140410141049-luw63buvf0jsvkoh
2014-04-10 16:10:49 +02:00
Thibault Delavallée 1d5beb57ef [MERGE] Sync with upstram: website-forum-tpa
bzr revid: tde@openerp.com-20140409165804-q4wi76e0m0c9ovzw
2014-04-09 18:58:04 +02:00
Thibault Delavallée 70eb634173 [FIX] Fixe dlast commit: badge message is posted on the user
as before. Also updated code in mail/res_users that could big: partner_ids given
to message_post can be a list of commands, or a list of ids.

bzr revid: tde@openerp.com-20140409155003-32ccef4udlzfg5us
2014-04-09 17:50:03 +02:00
Thibault Delavallée 9b922d9858 [REVIEW] [CLEAN] gamification: reverted changes instead of
the fix.

bzr revid: tde@openerp.com-20140409152629-3div4vdfknjrtnb6
2014-04-09 17:26:29 +02:00
Turkesh Patel (Open ERP) 1cb83cbb3b [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140409121219-vls8f4edm6sta49w
2014-04-09 17:42:19 +05:30
Gery Debongnie eb41be40bf [FIX] fixes an incorrect call to read_group (the groupby argument should be a list of groupbys and should not be a list with an empty string (addon gamification)
bzr revid: ged@openerp.com-20140404114216-35wqvkegnpnn7mil
2014-04-04 13:42:16 +02:00
Randhir Mayatra rma-openerp 77ff3a69b8 [IMP] improve icons and views
bzr revid: rma@tinyerp.com-20140328133051-2amm63n2vy3bj3xe
2014-03-28 19:00:51 +05:30
Yogesh Parekh (OpenERP) 21bb79d47e [IMP]: Convert buttons into stat button in gamification module
bzr revid: ypa@tinyerp.com-20140326122549-imqefk86wbxdxmpm
2014-03-26 17:55:49 +05:30
Turkesh Patel (Open ERP) 9bb6139cd2 [IMP] gamification: improved code to send notification message when bedge assigned, website_forum: improved code to show notification when badge assigned to user.
bzr revid: tpa@tinyerp.com-20140319090735-zi01wzh8a8u5cfb7
2014-03-19 14:37:35 +05:30
Thibault Delavallée 6709242bb8 [CLEAN] gamification: removed .moved folder, added when forward porting
saas-3 into trunk.

bzr revid: tde@openerp.com-20140221114004-9ee33tn3ilk6rekf
2014-02-21 12:40:04 +01:00
Christophe Simonis 4b72678bc7 [MERGE] forward port of branch saas-2 up to revid 9195 chs@openerp.com-20140220154517-6y531n1mqtnfnsmr
bzr revid: chs@openerp.com-20140220163815-69sza1kclnh5mavs
2014-02-20 17:38:15 +01:00
Martin Trigaux cce60acc15 [FIX] gamification: when auto-subscribing users to challenges, do it as superuser
bzr revid: mat@openerp.com-20140218140403-eamxtm6dvwj3g5d3
2014-02-18 15:04:03 +01:00
Martin Trigaux a90962e56d [IMP] do not change the API and use superuser inside the method instead of in the call
bzr revid: mat@openerp.com-20140218135101-uozhw08pkr04q49z
2014-02-18 14:51:01 +01:00
Martin Trigaux 4a35b2e4b0 [FIX] gamification: skip challenges where every goal is achieved in serialisation
bzr revid: mat@openerp.com-20140218133138-9od9xqr3dv4hl95b
2014-02-18 14:31:38 +01:00
Martin Trigaux 5fbeea64b5 [IMP] remove useless html files
bzr revid: mat@openerp.com-20140218131112-3sd0f8nnv5w6c93s
2014-02-18 14:11:12 +01:00
Martin Trigaux b34108ac73 [FIX] gamification: accpet and discard challenges wizard should work as superuser, the user do no need gamification rights
bzr revid: mat@openerp.com-20140218130800-vth6elmbtrjmdouq
2014-02-18 14:08:00 +01:00
Martin Trigaux a1b6b4f1ac [ADD] gamification: i18n translation files
bzr revid: mat@openerp.com-20140213151208-l452x2lf2g4dyhdj
2014-02-13 16:12:08 +01:00
Martin Trigaux 68128c971b [ADD] gamification: i18n translation files
bzr revid: mat@openerp.com-20140213150613-hgblsyl893bc6ov7
2014-02-13 16:06:13 +01:00
Martin Trigaux 8e97edb976 [IMP] gamification: put challenge list above goals to be more user friendly
bzr revid: mat@openerp.com-20140207105529-4a95snjwpc11he6k
2014-02-07 11:55:29 +01:00
Martin Trigaux 838fe32a98 [IMP] gamification: related field challenge_id is always readonly, add helper
bzr revid: mat@openerp.com-20140207102705-cf5aue57qzo03rlq
2014-02-07 11:27:05 +01:00
Martin Trigaux f988e74828 [FIX] gamification: when serialising data, skip lines and challenges with no goals
bzr revid: mat@openerp.com-20140207093643-vr1on5oxqtzkalj9
2014-02-07 10:36:43 +01:00
Martin Trigaux 691d305ed9 [FIX] gamification: automatically generates goals for users when adding them to a new challenge
bzr revid: mat@openerp.com-20140207092411-yju3pif1ibipcff8
2014-02-07 10:24:11 +01:00
Stephane Wirtel bea411bb98 [IMP] Backport one feature from website: this feature allows to specify a file
path on the field tag fetching the right file instead of using the base64
encoded file in the field.

<field name="image" type="base64" file="base/static/img/main_partner-image.png" />

bzr revid: stw@openerp.com-20140109154550-a04qybctzaaqtrlr
2014-01-09 16:45:50 +01:00
Martin Trigaux 90ebde3676 [FIX] gamification: remove old calls to action_close
bzr revid: mat@openerp.com-20131224152902-i2ozrf41y1ou2vdm
2013-12-24 16:29:02 +01:00
Martin Trigaux 13bfaef3a3 [FIX] gamification: remove old calls to action_start
bzr revid: mat@openerp.com-20131224151543-oofn9wc2w3933gjy
2013-12-24 16:15:43 +01:00
Martin Trigaux 58994713d8 [FIX] gamification: move template block before challenge declaration
bzr revid: mat@openerp.com-20131224150549-uafyr7lyva3u9k8n
2013-12-24 16:05:49 +01:00
Martin Trigaux ff83d9eb4d [FIX] gamification: remove import data, add trackvisibility on challenge instead of sending message
bzr revid: mat@openerp.com-20131224145449-93b3z97lagu12yri
2013-12-24 15:54:49 +01:00
Martin Trigaux be7bc54edc [REF] gamification: use m2o to email.template for report progress, create new field report_template_id, cleaning code
bzr revid: mat@openerp.com-20131224144514-lmbhw88nj7aa3r8i
2013-12-24 15:45:14 +01:00
Martin Trigaux 25117ca97f [REF] gamification: use statusbar instead of action buttons
bzr revid: mat@openerp.com-20131224141140-vc0v5lpm0ivfl6i4
2013-12-24 15:11:40 +01:00
Martin Trigaux 22a291d47a [REF] gamification: use sass files instead of native css
bzr revid: mat@openerp.com-20131224134405-9k4potbzq7ea20p4
2013-12-24 14:44:05 +01:00
Martin Trigaux aefd64e8cf [REF] gamification: compute_code is now similar to ir.actions, cleanup code
bzr revid: mat@openerp.com-20131224130023-e4gc91ell38zdtfj
2013-12-24 14:00:23 +01:00
Martin Trigaux 6f5815f44d [REF] gamification: cahnge some tde remarks, Long live Cthulhu
bzr revid: mat@openerp.com-20131223163214-f6yp2yxf5ja1wq22
2013-12-23 17:32:14 +01:00
Martin Trigaux 7c6a6b26f1 [FIX] gamification: goal.condition -> goal.definition_condition, user_ids not in vals -> not vals.get(user_ids)
bzr revid: mat@openerp.com-20131223161229-lpoevttkt6ezt2ia
2013-12-23 17:12:29 +01:00
Martin Trigaux f4e42879d3 [REF] gamification: rename user_from_id -> sender_id, move constants
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
2013-12-23 17:01:43 +01:00
Martin Trigaux c0eef31160 [REF] gamification: add user_from_id on badge, remove outdated-doc, remove useless message_post call
bzr revid: mat@openerp.com-20131223155404-h4in4ocr8jakq3ff
2013-12-23 16:54:04 +01:00
Martin Trigaux aec8f50b20 [IMP] gamification: use constances
bzr revid: mat@openerp.com-20131220150557-xaomxnrdb4bxcex3
2013-12-20 16:05:57 +01:00
Martin Trigaux f77aefc07a [REF] gamification: cleaning methods and reports
bzr revid: mat@openerp.com-20131220144521-wyu1gx8bcitu6nk4
2013-12-20 15:45:21 +01:00
Martin Trigaux 90dfa5895d [FIX] gamification: send badge on user, fix function field
bzr revid: mat@openerp.com-20131218140333-nipcc21z5snhac1c
2013-12-18 15:03:33 +01:00
Martin Trigaux 938a07a361 [FIX] gamification: check grant badges are now sistematic except for superuser (always possible)
bzr revid: mat@openerp.com-20131218130039-y5vp0wt48ejd3jrh
2013-12-18 14:00:39 +01:00
Martin Trigaux 553e85f369 [FIX] gamification: move manifest order and remove useless browse
bzr revid: mat@openerp.com-20131218121459-zlfumwysdx9qm7d9
2013-12-18 13:14:59 +01:00
Martin Trigaux e7887b8b8f [REF] gamification: python tests and other improvements
bzr revid: mat@openerp.com-20131218111243-npnauv6mxhb4nttg
2013-12-18 12:12:43 +01:00
Martin Trigaux b63950e0dc [REF] gamification: mode to adequate folders
bzr revid: mat@openerp.com-20131218085907-6501sfdif2rk4a0b
2013-12-18 09:59:07 +01:00
Martin Trigaux 4bc29b9ffa [REF] gamification
bzr revid: mat@openerp.com-20131217170232-e0zruxzl1wlycaji
2013-12-17 18:02:32 +01:00
Martin Trigaux c184adab44 [REF] gamification
bzr revid: mat@openerp.com-20131217164619-ewgj8cclza3u44pp
2013-12-17 17:46:19 +01:00
Martin Trigaux 122c15c48d [REF] gamification: pretty much changing half of the code to make tde happy...
bzr revid: mat@openerp.com-20131217161541-oxsgy7gmko2x6qui
2013-12-17 17:15:41 +01:00
Martin Trigaux 3e028490f6 [IMP] gamification: licency stuff
bzr revid: mat@openerp.com-20131217104813-7nh422l1d85s6y51
2013-12-17 11:48:13 +01:00
Martin Trigaux 98625d20ed [IMP] gamification: use DEFAULT_SERVER_DATE_FORMAT instead of %Y-%m-%d
bzr revid: mat@openerp.com-20131216154728-xhmazn36jmjpv6ai
2013-12-16 16:47:28 +01:00
Martin Trigaux ac4a89e8bf [FIX] gamification: replace isoformat -> DEFAULT_SERVER_DATE_FORMAT
bzr revid: mat@openerp.com-20131216154317-8xliud4s23zvj9yu
2013-12-16 16:43:17 +01:00
Martin Trigaux e02f16bd54 [IMP] gamification: update manifest
bzr revid: mat@openerp.com-20131216151457-6vmwb6b6os0e3enn
2013-12-16 16:14:57 +01:00
Martin Trigaux 354190b44e [IMP] gamification: add portal_gamification module to add security rules
bzr revid: mat@openerp.com-20131216150726-su27319fvvxevam6
2013-12-16 16:07:26 +01:00
Martin Trigaux 8c3b6c0a3d [IMP] gamification: remove unused variables, add missing ones
bzr revid: mat@openerp.com-20131216142352-2s6isuvobm6xyxa4
2013-12-16 15:23:52 +01:00
Martin Trigaux ae19a1609d [IMP] gamification: revert partially rev 8929, hidden if form view but lower priority. This is needed for set your avatar hack (done server side in write())
bzr revid: mat@openerp.com-20131216142027-u4adogapahjm9vm0
2013-12-16 15:20:27 +01:00
Martin Trigaux aabf541e33 [FIX] gamification: display computation_mode on widget view
bzr revid: mat@openerp.com-20131216140231-hp4ydc3gs3pvalcp
2013-12-16 15:02:31 +01:00
Martin Trigaux b0997141bc [FIX] gamification: priority to manual goals when getting click action
bzr revid: mat@openerp.com-20131216133236-vbzr4cytqprkkkx5
2013-12-16 14:32:36 +01:00
Martin Trigaux 3b60ce38b7 [FIX] gamification: avoid traceback in goal computation if target == 0 (even if does not make much sense)
bzr revid: mat@openerp.com-20131216132748-i4o71hmxyeyedznx
2013-12-16 14:27:48 +01:00
Martin Trigaux c301558bf9 [FIX] gamification: no, actually make record rule for every user, will handle portal later
bzr revid: mat@openerp.com-20131212115524-u25hz4xjj9l8gatb
2013-12-12 12:55:24 +01:00
Martin Trigaux c797a9071b [FIX] gamification: make record rule global and not for employees only
bzr revid: mat@openerp.com-20131212113639-lg2w2pm1mldbqe7a
2013-12-12 12:36:39 +01:00
Martin Trigaux 8a80688560 [FIX] gamification: move icon to description folder
bzr revid: mat@openerp.com-20131212102624-obfsh2nsclhpv4n9
2013-12-12 11:26:24 +01:00
Martin Trigaux d56c30808d [FIX] gamification: make goal work in multicompany mode
bzr revid: mat@openerp.com-20131002154158-zmhcpkg69jxqzrpk
2013-10-02 17:41:58 +02:00
Martin Trigaux ba64b6e3e6 [FIX] gamification: use gauge merged in web and instead of own version
bzr revid: mat@openerp.com-20131002150507-ea76au2frffvfd0r
2013-10-02 17:05:07 +02:00
Martin Trigaux 258b58675c [fix] use justgage library from sale_crm
bzr revid: mat@openerp.com-20130703135227-m409fmvh5t1ne3o6
2013-07-03 15:52:27 +02:00
Martin Trigaux 6c9f08cfbb [fix] gamification: correctly evaluate completness
bzr revid: mat@openerp.com-20130703102507-i85owm4ptmnulplc
2013-07-03 12:25:07 +02:00
Martin Trigaux 2718403134 [IMP] gamification: no report by default
bzr revid: mat@openerp.com-20130702145247-ypqxp4idv5qxudqd
2013-07-02 16:52:47 +02:00
Martin Trigaux e6833f4b3c [IMP] small twaeks in doc
bzr revid: mat@openerp.com-20130625145100-7ko58fj4z0p3ouqc
2013-06-25 16:51:00 +02:00
Martin Trigaux 2c85b5a006 [IMP] updating doc for new user keyword
bzr revid: mat@openerp.com-20130621111116-2vls38to6ds72421
2013-06-21 13:11:16 +02:00
Martin Trigaux bb548a1d4e [IMP] improving the computation of res_id_field with safe eval
bzr revid: mat@openerp.com-20130621110758-zo20gjzaecv4iu41
2013-06-21 13:07:58 +02:00
Martin Trigaux 312d3ffc9c [IMP] updating the docs
bzr revid: mat@openerp.com-20130621110727-1dqkre4h61vjnq7g
2013-06-21 13:07:27 +02:00
Martin Trigaux d42eccc9b8 cleaning, remove fixed TODO
bzr revid: mat@openerp.com-20130621091234-wgeuhikyrb3qvmjr
2013-06-21 11:12:34 +02:00
Martin Trigaux 828950cf93 [FIX] gamification: send badge as superuser
bzr revid: mat@openerp.com-20130621090139-dptxjh66ocy10bi2
2013-06-21 11:01:39 +02:00
Martin Trigaux 0f912e0b35 [IMP] gamification: allow translation of check_challenge_reward messages
bzr revid: mat@openerp.com-20130621083140-9awr071wzhrv5pzv
2013-06-21 10:31:40 +02:00
Martin Trigaux 027fb2bb23 [FIX] gamification: correct report sending
bzr revid: mat@openerp.com-20130621082428-5nxalipljwsgbi2j
2013-06-21 10:24:28 +02:00
Martin Trigaux a2b06d2f13 [REF] gamification: comments and move changed_users_avatar method
bzr revid: mat@openerp.com-20130612120758-garx32vy8qjcfseb
2013-06-12 14:07:58 +02:00
Martin Trigaux bb17b02de5 [IMP] gamification: more flexible domain, using email_templates
bzr revid: mat@openerp.com-20130606124708-3occhsgwkaxwzyp3
2013-06-06 14:47:08 +02:00
Quentin (OpenERP) 24c879ffd5 [REF] gamificiation: code review. WIP going on
bzr revid: qdp-launchpad@openerp.com-20130604183739-uskl2x369w8hydhr
2013-06-04 20:37:39 +02:00
Martin Trigaux dceeb97c5f [IMP] gamification: add tooltip and explain update method
bzr revid: mat@openerp.com-20130606083928-k00b7ydioi3ed5ra
2013-06-06 10:39:28 +02:00
Martin Trigaux f48f396096 [FIX] gamification: correct function calls with multi
bzr revid: mat@openerp.com-20130605113339-6tiytkoeebd5s89w
2013-06-05 13:33:39 +02:00
Quentin (OpenERP) 3887f78cef [REF] gamification: code review (WIP)
bzr revid: qdp-launchpad@openerp.com-20130603203053-dy7ia09rl0i1sxmd
2013-06-03 22:30:53 +02:00
Quentin (OpenERP) a8eb9301e4 [REF] gamification: code review of badge.py
bzr revid: qdp-launchpad@openerp.com-20130603160314-zprlgye2rpd140pv
2013-06-03 18:03:14 +02:00
Martin Trigaux 28c8d47912 [ADD] business description of module
bzr revid: mat@openerp.com-20130531122638-2h18azr1kcr929vq
2013-05-31 14:26:38 +02:00
Martin Trigaux f6fcf06020 [IMP] better action for new users
bzr revid: mat@openerp.com-20130527122550-2lwjet1vnb69bdt4
2013-05-27 14:25:50 +02:00
Martin Trigaux 086e9dcfd5 [FIX] accept challenge parameter
bzr revid: mat@openerp.com-20130527094042-5jjz14m262fs2zo9
2013-05-27 11:40:42 +02:00
Martin Trigaux a51a1fe65d [IMP] don't use new action manager for do_action
bzr revid: mat@openerp.com-20130527093738-2dp8uw5nli7xzahu
2013-05-27 11:37:38 +02:00
Martin Trigaux b605ff4242 [FIX] use path to lib justgage
bzr revid: mat@openerp.com-20130527091815-hvgwf8mxryus1a4a
2013-05-27 11:18:15 +02:00
Martin Trigaux 2b5069f7c8 [REF] move justgage to lib directory
bzr revid: mat@openerp.com-20130429154912-hcq99ukqwr1b2uqh
2013-04-29 17:49:12 +02:00
Martin Trigaux e396d9f0b6 [IMP] tooltip on goal symbols
bzr revid: mat@openerp.com-20130429154738-as56ln2gpv3muvyx
2013-04-29 17:47:38 +02:00
Martin Trigaux 0ea12d6d91 [IMP] design tweaks
bzr revid: mat@openerp.com-20130429153007-tha1wmcvbtp89dz2
2013-04-29 17:30:07 +02:00
Martin Trigaux 7a242c991a [FIX] python goal checking
bzr revid: mat@openerp.com-20130429152944-e0p6n7q7iw3ok4d8
2013-04-29 17:29:44 +02:00
Martin Trigaux 3ee9aa428b [FIX]gamification: design issues
bzr revid: mat@openerp.com-20130429132000-kibmf1u17h24j92c
2013-04-29 15:20:00 +02:00
Martin Trigaux 6eaf93264b [IMP] small fixes
bzr revid: mat@openerp.com-20130429130536-gx2vtz8qgy3ogx5u
2013-04-29 15:05:36 +02:00
niv-openerp f99ce17ecf Removed KanbanRecord hack to use kanban fields registry
bzr revid: nicolas.vanhoren@openerp.com-20130429114305-3b24eixyj4xts9lv
2013-04-29 13:43:05 +02:00
Martin Trigaux 87c1fab873 [IMP] remove inner_box block
bzr revid: mat@openerp.com-20130426161613-4mxh5f25yjc8ogl8
2013-04-26 18:16:13 +02:00
Martin Trigaux 9c0936e658 [IMP] design using display table
bzr revid: mat@openerp.com-20130426155242-1do1w4mrch23lhbm
2013-04-26 17:52:42 +02:00
Martin Trigaux d14496e578 [IMP] tweak css
bzr revid: mat@openerp.com-20130425154028-rt3uv8mtykl9ff2g
2013-04-25 17:40:28 +02:00
Martin Trigaux e920347b01 [IMP] make it beautiful
bzr revid: mat@openerp.com-20130425101759-y3cwymvey8i9mwie
2013-04-25 12:17:59 +02:00
Martin Trigaux 5794e60f14 [IMP] better design
bzr revid: mat@openerp.com-20130425085217-bmt8tsdbtrfn7j7d
2013-04-25 10:52:17 +02:00
Martin Trigaux 4bcaa718bd [IMP] display actions
bzr revid: mat@openerp.com-20130424123350-cgx663vd31vvnw7w
2013-04-24 14:33:50 +02:00
Martin Trigaux cc8d4ae4d4 [ADD] goal type example
bzr revid: mat@openerp.com-20130424122334-9wyfq4ns2d1c4c50
2013-04-24 14:23:34 +02:00
Martin Trigaux cd23075ff6 [IMP] better report, show only first 3 in boards
bzr revid: mat@openerp.com-20130424103107-4rgs89hzk7bhgpqt
2013-04-24 12:31:07 +02:00
Martin Trigaux a92cc45cc3 [IMP] order and domain
bzr revid: mat@openerp.com-20130424085238-k8q6uess92xl2q5u
2013-04-24 10:52:38 +02:00