Commit Graph

563 Commits

Author SHA1 Message Date
Paramjit Singh Sahota 9bb0abd641 [FIX] GAMIFICATION: Fixed the Attribute Error
' 'str' object has no attribute 'strftime' '
2014-06-17 15:12:15 +02:00
Olivier Dony 0f01df42ea [MERGE] Forward-port saas-5 up to f15cbd6 2014-06-12 18:59:15 +02:00
Olivier Dony f15cbd6520 [MERGE] Forward-port saas-4 bugfixes up to ad4c6ca 2014-06-12 18:54:36 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Christophe Simonis 7bee9447c4 [MERGE] forward port of branch saas-3 up to 3c7a54a 2014-06-11 11:06:04 +02:00
Martin Trigaux 387093a34a gamification: when changing the domain on a goal definition give a simple check to avoid getting a traceback when the challenge is reloaded 2014-06-10 12:03:32 +02:00
Géry Debongnie 8202561511 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-06-10 11:43:17 +02:00
Christophe Simonis a5908c5812 [MERGE] forward port of branch saas-5 up to b1c0bc0 2014-06-03 20:02:00 +02:00
Christophe Simonis b1c0bc0b46 [MERGE] forward port of branch saas-4 up to 65f68c1 2014-06-03 19:45:19 +02:00
Martin Trigaux aa1165441c [FIX] gamification: do not group on agregated field for sum
The read_group behaviour has changed and read_group no longer sum on the field you are grouping.
Instead agregate on the field we want to sum and use no groupby.
For future version, grouping on a user such as what is done in batch mode is a better way to process.
2014-06-03 10:48:26 +02:00
Martin Trigaux ae8e7ea920 [IMP] gamification: remove deprecated method 2014-06-02 15:15:53 +02:00
Géry Debongnie 62900fe01b Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
Conflicts:
	addons/crm/crm_case_section_view.xml
2014-05-26 10:06:31 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +02:00
Martin Trigaux 8f2bbf73ae [FIX] gamification: avoid sending reports for non-reported challenges 2014-05-14 16:15:18 +02:00
Martin Trigaux ce5ba45d45 [IMP] gamification: avoid fetching function field while we could reuse the cache system of the browse records (avoid memory errors when updating a large number of records) 2014-05-14 15:41:38 +02:00
Martin Trigaux 0043a58763 Forward-port of latest saas-3, up to revision 9456 (yep I missed one commit) 2014-05-14 11:01:36 +02:00
Martin Trigaux 3ff7b48a81 [FIX] gamification: make sure than a cron running more than once a day will not report the progress more than once 2014-05-14 10:59:20 +02:00
Martin Trigaux 583fe74ba2 Forward-port of latest saas-3, up to revision 9455 (rev-id mat@openerp.com-20140514080416-m4t23y0rxx2ot7y6) 2014-05-14 10:37:54 +02:00
Martin Trigaux f14f632ef5 [IMP] gamification: improve the name of some m2m relations
bzr revid: mat@openerp.com-20140512092718-s6143ajy2g18ofy4
2014-05-12 11:27:18 +02:00
Martin Trigaux 55ac64258f [FIX] gamification: correct name of ir.rule fixing bad copy-paste
bzr revid: mat@openerp.com-20140512085041-b0euexzgxgvb30oe
2014-05-12 10:50:41 +02:00
Martin Trigaux 3691ee0ca7 [FIX] gamification: avoid challenge to be initialised at the target limit (e.g. set your company data goal has a target of 0) and make sure we will compute the goal at least once
bzr revid: mat@openerp.com-20140509131839-lm5zt696sif1krvx
2014-05-09 15:18:39 +02:00
Christophe Simonis b8089a1521 [MERGE] forward port of branch saas-4 up to revid 9410 chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1
bzr revid: chs@openerp.com-20140507170112-bjeltv2b0coy60am
2014-05-07 19:01:12 +02:00
Martin Trigaux fd50793820 [IMP] gamification: avoid subscription hacks and send directly relevant messages to followers of the challenge, remove the goals of users not matching the user domain anymore
bzr revid: mat@openerp.com-20140507095616-1xvetgj4qel7iqii
2014-05-07 11:56:16 +02:00
Martin Trigaux 3fa2751855 [FIX] name_get returns tuple
bzr revid: mat@openerp.com-20140506143834-od28gkhbpbhsgde4
2014-05-06 16:38:34 +02:00
Martin Trigaux 3cdb9803d4 [IMP] unsubscribing at each cron run is overkill
bzr revid: mat@openerp.com-20140506135953-3hssq2lycvy1c3df
2014-05-06 15:59:53 +02:00
Martin Trigaux 687d675de5 [FIX] gamification: using batch mode to check rewards
bzr revid: mat@openerp.com-20140506134805-4nsurv82cg9anfvm
2014-05-06 15:48:05 +02:00
Martin Trigaux 409bf269d3 [FIX] gamification: be sure that not challenge get subscribers depending of the report_message_frequency
bzr revid: mat@openerp.com-20140506115245-ktuxhcsml466ym6u
2014-05-06 13:52:45 +02:00
Martin Trigaux a233e26f71 [IMP] gamification: commit for each goal definition in cron
bzr revid: mat@openerp.com-20140506113831-iut3aqbwfwbnertv
2014-05-06 13:38:31 +02:00
Martin Trigaux 697dcae728 [IMP] gamification: move write in goal update inside the first loop to be able to group the computation by definition (and potentially apply intermediate commits)
bzr revid: mat@openerp.com-20140506112109-z4rsx5umet5x6n26
2014-05-06 13:21:09 +02:00
Martin Trigaux ccf4d142b0 [FIX] gamification: avoid recomputing every goal for every challenge
bzr revid: mat@openerp.com-20140506102942-obopc9j5a2136cxh
2014-05-06 12:29:42 +02:00
Martin Trigaux bde55baaa9 [IMP] gamification: performance improvement on the goal computation
Removing the inheritance to mail.thread will avoid posting message at creation and other tracking mechanism at each write. Updating a challenge with a large number of users will be significantly faster.

bzr revid: mat@openerp.com-20140506093716-xvpe1n2ase2zix0v
2014-05-06 11:37:16 +02:00
Gery Debongnie 5aa2fa150c [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502130753-4z24z1to9pkrckvq
2014-05-02 15:07:53 +02:00
Antony Lesuisse 7e25b9ae55 [MERGE] saas-4 report_webkit missing dependency on report
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Denis Ledoux 79d4c57877 [MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 9439 revid:dle@openerp.com-20140429112147-hqfqd0y487s817n7
bzr revid: dle@openerp.com-20140429112738-y2el246dmd2o2zy9
2014-04-29 13:27:38 +02:00
Martin Trigaux b2bc761d76 [FIX] gamification: do not overwrite the mail widget as it would be called too often, the wall is enough
bzr revid: mat@openerp.com-20140425130740-ptkbsyyql08cx572
2014-04-25 15:07:40 +02:00
Fabien Meghazi 1c4e2cfd22 [IMP] bundlify addons (except website)
bzr revid: fme@openerp.com-20140424172129-ze74eaz2eaidmxhm
2014-04-24 19:21:29 +02:00
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Martin Trigaux f73907587b [FIX] gamification: do not set a start_date by default as the cron starts past challenges (making data challenge to start) and avoid useless write
bzr revid: mat@openerp.com-20140424110341-pnu79q44m7gzl8t0
2014-04-24 13:03:41 +02:00
Martin Trigaux bb91b146dd [MERGE] [FIX] gamification and website_forum
- add noupdate tag
- domain are evaluated at loading
- better user subscription and computation of domain
- batch creation of users

bzr revid: mat@openerp.com-20140422083856-3dffeml5qt0w0dt4
2014-04-22 10:38:56 +02:00
Martin Trigaux 6022f890cb [FIX] gamification: convert calls to private method and don't forget to create missing goals
bzr revid: mat@openerp.com-20140422075247-5rddurvr6ymt80mo
2014-04-22 09:52:47 +02:00
Martin Trigaux b24252d5e9 [IMP] gamification: force domain to be in unicode
bzr revid: mat@openerp.com-20140418163837-32nldgj5u04q9kyu
2014-04-18 18:38:37 +02:00
Martin Trigaux 4725d6f532 [REF] gamification: remove unused ref local variable
bzr revid: mat@openerp.com-20140418163440-7y1k3sliuk9bgco8
2014-04-18 18:34:40 +02:00
Martin Trigaux 130f572d81 [IMP] gamification: use evaluated version of the domain.
Needs server fix to avoid sending evaluated data.

bzr revid: mat@openerp.com-20140418161053-lc970koh96wfe200
2014-04-18 18:10:53 +02:00
Martin Trigaux a6bcf53bd3 [IMP] gamification: performance improvement in generation method
bzr revid: mat@openerp.com-20140418150618-9g179rleuru44xrt
2014-04-18 17:06:18 +02:00
Martin Trigaux 1b006190d9 [REF] gamification
bzr revid: mat@openerp.com-20140418140741-djesyaxahxytnl1n
2014-04-18 16:07:41 +02:00
Martin Trigaux 202ee0208b [IMP] gamification: add use_ids fields if technical features
bzr revid: mat@openerp.com-20140418124220-fvsgvvgunmeq3opj
2014-04-18 14:42:20 +02:00
Martin Trigaux 067f21ce5a [FIX] gamification: set data in noupdate blocks to allow the user to customise it without loosing changes after update
bzr revid: mat@openerp.com-20140418120846-h8yo4ljult88f1h3
2014-04-18 14:08:46 +02:00
Martin Trigaux 6f4efd45bb [FIX] gamification: change scope of goal_obj variable
bzr revid: mat@openerp.com-20140418090520-zq4r6s4g9qn78mvx
2014-04-18 11:05:20 +02:00
Martin Trigaux 5e7b8518d5 [FIX] gamification: this noupdate block should be in noupdate (no kidding)
bzr revid: mat@openerp.com-20140417125412-4w5wp0ubsendx7nr
2014-04-17 14:54:12 +02:00
Gery Debongnie 0c24df7074 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140417065356-x7o3jg5bo5430zth
2014-04-17 08:53:56 +02:00
Martin Trigaux 36acee7568 [FIX] gamification: test needs cron to run
bzr revid: mat@openerp.com-20140416153153-f6r85uc8ibztzvup
2014-04-16 17:31:53 +02:00
Martin Trigaux 0c32e7241d [IMP] use char_domain widget
bzr revid: mat@openerp.com-20140416152208-1rnyyvr35m0kj5cm
2014-04-16 17:22:08 +02:00
Martin Trigaux d79cbd3fb8 [FIX] gamification: convert autojoin_group_id to a domain representing the list of users
bzr revid: mat@openerp.com-20140416151026-lmvyo8k0wo4hw9gn
2014-04-16 17:10:26 +02:00
Martin Trigaux f6a75093b9 [FIX] gamification: add security rule for multicompany (avoid getting error messages on home page when displaying top 3 goals)
bzr revid: mat@openerp.com-20140416130924-8pyuejefcu7hnzmf
2014-04-16 15:09:24 +02:00
Martin Trigaux 0443680952 [FIX] gamification: the subquery domain should use less than for ending dates
bzr revid: mat@openerp.com-20140415161538-mdfadjjih90wuj3d
2014-04-15 18:15:38 +02:00
Gery Debongnie f57b767361 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140415150146-5ovdjzta58t5dhd2
2014-04-15 17:01:46 +02:00
Martin Trigaux 35c7f4814d Allow overwrite of the serialising method to exclude some categories in the challenge search
bzr revid: mat@openerp.com-20140415134809-uconkvnp0z32jxjs
2014-04-15 15:48:09 +02:00
Martin Trigaux 14ff39f96e [FIX] website_forum: mooooore baaaaaadges
bzr revid: mat@openerp.com-20140415101842-yf6vndw7h62q0b42
2014-04-15 12:18:42 +02:00
Martin Trigaux c40318a46a [ADD] website_forum: self_reply field and some badges
bzr revid: mat@openerp.com-20140414145415-8g9jtp95d173183i
2014-04-14 16:54:15 +02:00
Martin Trigaux 0c8539846a [ADD] website_forum: quality badges
bzr revid: mat@openerp.com-20140414135115-onmywwurr03g21dw
2014-04-14 15:51:15 +02:00
Gery Debongnie 9950bb8f74 [FIX] remove an useless computation in gamification.py and improves the text of the stat button displayed in challenges form view (addon gamification)
bzr revid: ged@openerp.com-20140414134332-h4gn61fu1ly9tbye
2014-04-14 15:43:32 +02:00
Martin Trigaux a52e13bd86 [FIX] remove wrong required and readonly fields
bzr revid: mat@openerp.com-20140414131720-bzqd1sv0j2t5wywd
2014-04-14 15:17:20 +02:00
Thibault Delavallée d0740bedb9 [IMP] gamification: messages posted on user when receiving a badge
now have a subtype, to ease their search.

bzr revid: tde@openerp.com-20140411175730-hq06b7qezurzymj6
2014-04-11 19:57:30 +02:00
Thibault Delavallée f091e9d6e5 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411155723-pqe8ofxh060afiuj
2014-04-11 17:57:23 +02:00
Martin Trigaux 668fb8a542 [MERGE] gamification: add batch mode, improve some views, remove inprogess_update state and "realtime" (using cron) badge to recieve badges without needing to close the challenge
bzr revid: mat@openerp.com-20140411154740-pzw0v7po7pmci42l
2014-04-11 17:47:40 +02:00
Martin Trigaux 236a4d71be [MERGE] sync with trunk
bzr revid: mat@openerp.com-20140411154002-6557tcjfetqwb0kf
2014-04-11 17:40:02 +02:00
Martin Trigaux c67c964d5f [ADD] gamification: realtime badge to recieve badge without closing the challenge
bzr revid: mat@openerp.com-20140411151917-21drebbaa1d36jv4
2014-04-11 17:19:17 +02:00
Thibault Delavallée aa48312b98 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411145955-91iohb1enc50se5l
2014-04-11 16:59:55 +02:00
Martin Trigaux 21022c5472 [REF] gamification: add batch mode, improve some views, remove inprogess_update state (replaced with boolean 'to update')
bzr revid: mat@openerp.com-20140411142257-zpaul4sq3t5j5r64
2014-04-11 16:22:57 +02:00
Thibault Delavallée e4d4c00312 [FIX] gamification: allow having False or 0 values as result of a computation.
bzr revid: tde@openerp.com-20140411141510-c11djv7qlf9qgek2
2014-04-11 16:15:10 +02:00
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
Martin Trigaux 8182600868 [IMP] use github version of justgage
bzr revid: mat@openerp.com-20130424083632-c68tdeg79wcns9hj
2013-04-24 10:36:32 +02:00
Martin Trigaux 01784af22c [IMP] better security rules
bzr revid: mat@openerp.com-20130424081216-cjyq0edrht6r0j1v
2013-04-24 10:12:16 +02:00
Martin Trigaux fbe0c21a97 [IMP] limit to data
bzr revid: mat@openerp.com-20130423160648-gq5hv2j4tdda8ovj
2013-04-23 18:06:48 +02:00
Martin Trigaux 006a266396 [IMP] on change, doc and catergory
bzr revid: mat@openerp.com-20130423155532-yxqq2nchuaeyxste
2013-04-23 17:55:32 +02:00
Martin Trigaux 99505e351d [IMP] better kanban view
bzr revid: mat@openerp.com-20130423132034-fgblz5f4658n2i8g
2013-04-23 15:20:34 +02:00
Martin Trigaux 1419b2fa97 [IMP] users follow goal plan
bzr revid: mat@openerp.com-20130423130351-pq3tepnmx2u74au5
2013-04-23 15:03:51 +02:00
Martin Trigaux abc8e81c70 [FIX] user id in list and better test
bzr revid: mat@openerp.com-20130423122325-tt89rw7674lgmxyp
2013-04-23 14:23:25 +02:00
Martin Trigaux 53020169a6 [FIX] auto-add users when added to groups
bzr revid: mat@openerp.com-20130423101512-e8gs9eqcql8i5jzp
2013-04-23 12:15:12 +02:00
Martin Trigaux e9004f9a81 [FIX] remove plan_subscribe_users calls
bzr revid: mat@openerp.com-20130423095134-0to2b206786b2fdl
2013-04-23 11:51:34 +02:00
Martin Trigaux 4e205c3751 [IMP] users follow goal plan
bzr revid: mat@openerp.com-20130423094143-8tc0xrca53n2h0gt
2013-04-23 11:41:43 +02:00
Martin Trigaux e78cf61df3 [IMP] better mail message
bzr revid: mat@openerp.com-20130423082504-b89coxnaf8y7hdhe
2013-04-23 10:25:04 +02:00
Martin Trigaux c1d645e2cd [FIX] css tweak
bzr revid: mat@openerp.com-20130422154122-yv99mjhpcrn7dwd4
2013-04-22 17:41:22 +02:00
Martin Trigaux 021c8de63f [ADD] action to create new users
bzr revid: mat@openerp.com-20130422142811-yle27izd3zhre2c0
2013-04-22 16:28:11 +02:00
Martin Trigaux c76b9fb8e8 [IMP] remove unused sparklines and display actions
bzr revid: mat@openerp.com-20130422135540-9ozlret4qjz6ivcq
2013-04-22 15:55:40 +02:00
Martin Trigaux 8b400f7e88 [IMP] remove many2many display and clean ups
bzr revid: mat@openerp.com-20130422133355-ffhglxrkdia2hz4j
2013-04-22 15:33:55 +02:00
Martin Trigaux 38f205ef32 [IMP] more consistent display of challenges
bzr revid: mat@openerp.com-20130422093236-y76ad91yoyemejxa
2013-04-22 11:32:36 +02:00
Martin Trigaux 0ea778bc0d [IMP] display progressbar in indivial mode
bzr revid: mat@openerp.com-20130419155342-776hyozede04zgz7
2013-04-19 17:53:42 +02:00
Martin Trigaux 4fb6e9b682 [IMP] display user's badges on employee
bzr revid: mat@openerp.com-20130419154817-rq09s1f5nl6ryhka
2013-04-19 17:48:17 +02:00
Martin Trigaux 263124a6f3 [ADD] check rewards for challenges
bzr revid: mat@openerp.com-20130419150523-0oyf1pav9tn552o1
2013-04-19 17:05:23 +02:00
Martin Trigaux cdecfc8e4a [IMP] prevent drag&drop of goals
bzr revid: mat@openerp.com-20130419104123-4n6phm37216nj2u6
2013-04-19 12:41:23 +02:00
Martin Trigaux b7a6b6e130 [ADD] display single kanban
bzr revid: mat@openerp.com-20130419102245-pri7z7tdyh7xe5c9
2013-04-19 12:22:45 +02:00
Martin Trigaux 957ad44839 [FIX] display correct challenge view
bzr revid: mat@openerp.com-20130419075907-e02jdc1fxhk0qcsj
2013-04-19 09:59:07 +02:00
Martin Trigaux 8a95c92353 [ADD] wizard to accept challenges
bzr revid: mat@openerp.com-20130418160512-v9tw81ddki79kwv5
2013-04-18 18:05:12 +02:00
Martin Trigaux 06159a516a [IMP] show suggested threads
bzr revid: mat@openerp.com-20130418103229-xkyu6qyzdola03hn
2013-04-18 12:32:29 +02:00
Martin Trigaux 5c082c36a7 [ADD] goal type python code instead of badges
bzr revid: mat@openerp.com-20130418092047-yi7ay30mu4epkqc5
2013-04-18 11:20:47 +02:00
Martin Trigaux 24f44d38c4 [REF] remove automatic code for badges
bzr revid: mat@openerp.com-20130418082402-3h89j54gdvwe3dwu
2013-04-18 10:24:02 +02:00
Martin Trigaux b2bb03ba4a [FIX] correct actions
bzr revid: mat@openerp.com-20130416134847-celf4nbl7748vnj5
2013-04-16 15:48:47 +02:00
Martin Trigaux 0b0c24a636 [REF] moving to only hr_gamification module
bzr revid: mat@openerp.com-20130416124558-p40tkw8mgr4e7v04
2013-04-16 14:45:58 +02:00